Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 16

ACCY231

DATA MODELS AND RELATIONAL


DATABASES

TRAGG’S
SURFBOARDS

Done by :
Arwa Shabbir -4564029
Abdul Qader -4618294
Darren Alemao-4646290
Syed Bassim-4631717

ACCY231 Page 1
TABLE OF CONTENTS
1. Executive Summary
2. The REA diagram for Revenue Cycle of Tragg’s Custom Surfboard.
3. Tables based on the REA diagram.
 Cash Account Table
 Cash Receipt Table
 Customer Table
 Employee Table
 Inventory Table
 Sales Table
4. Forms based on the REA diagram
 Customer Form
 Sales Form
5. Queries based on the REA diagram
 Customer Query (Name starting with “C”)
 Inventory(Sale/Unit ”<750”
 Inventory Query Part 2(Sale/Unit >700 & Cost/unit <500)
 Sales Query
6. Sales Invoice Report

ACCY231 Page 2
EXECUTIVE SUMMARY

This report is based on the revenue cycle of Tragg’s Custom Surfboard,


a California based company that manufactures surfing equipment and
sells surf boards, represented in the form of a REA diagram and data
model and a relational database. The revenue cycle is the process of
providing goods and services and getting cash in return. The REA model
has three different entities:- resources acquired and used by an
organization(cash and inventory), events engaged in by the
organization (cash receipts and sales), agents i.e. people participating in
these events(customers and employees). Tragg’s revenue cycle has
been modelled as an REA model and a well structured relational
database created. We have created a table for each entity and for each
relationship. We have assigned attributes to appropriate tables and
used foreign keys to implement one-to-one and one-to-many
relationships. The model shows how the three types of entities relate
to one another. Also, tables are linked so that it reduces data
redundancy and duplication. Following are the screenshots of the
tables, forms, queries and the relationship between the tables.

ACCY231 Page 3
REA diagram for the revenue cycle of Tragg’s
Surfboards

ACCY231 Page 4
TABLES

CASH ACCOUNT

CASH RECEIPT

ACCY231 Page 5
CUSTOMER

EMPLOYEE

ACCY231 Page 6
EXTRA FEATURES

INVENTORY

ACCY231 Page 7
SALES

ACCY231 Page 8
QUERIES

CUSTOMER (NAME STARTING WITH “C”)

INVENTORY (SALE PRICE/UNIT “<750”)

INVENTORY QUERY PART 2

(SALE PRICE/UNIT >700 & COST PRICE/UNIT <800)

ACCY231 Page 9
SALES(Invoice Number, Invoice Date, Customer ID,
Name, address, phone
number in addition to Inventory ID, Description and
quantity ordered.)

CONT..

ACCY231 Page 10
FORMS

CUSTOMER

SALES

ACCY231 Page 11
REPORT

CONT…

ACCY231 Page 12
RELATIONSHIPS

ACCY231 Page 13
Design View

Customer

ACCY231 Page 14
Inventory

Inventory Query Part 2

ACCY231 Page 15
Sales Query

ACCY231 Page 16

You might also like