Beruflich Dokumente
Kultur Dokumente
By
RENZ RUSSEL BULATAO
ALVIN JOHN MANGILIT
MARK PASALO
JEMIMAH RAYMUNDO
JORDAN SEGUNDO
November 2015
Table of Contents
Title Page1
Table of Contents 2
Narrative Description of the System3
Entity Relationship Model6
Conversion of ER model into Tables6
Normalization to 3rd Normal Form7
Physical Database Design8
Point
of
Sales
System
is
an
electronic
system
that
purposes,
tracking
including
customer
refining
purchases
target
and
marketing
determining
its
Figure 1
Swimlane Diagram of the POS System
Diagram
cashierID
cashierFname
cashierLname
password
RECEIPT
First normal form
receiptNo
cashierFname
cashierLname
receiptTotal
amountReceived
change
vat
time
receiptN
o
receiptTota
l
amountReceive
d
date
time
quantity
amount
CONTAIN
Already on the 3rd normal form
receiptNo
prodID
date
PRODUCT
Already on the 3rd normal form
prodID
prodDesc
price
DESCRIPTION
Cashiers ID number
Cashiers first name
PK
/
DATA TYPE
Integer
Varchar/text
SIZE
10
25
Varchar/text
25
Cashiers password
Varchar/text
20
RECEIPT
The table RECEIPT contains information about the sales
transaction such as the receipt total and amount received.
FIELD
receiptNo
receiptTotal
amountReceived
DESCRIPTION
Receipt number
Total amount to be
paid
Amount received from
customer
PK
/
DATA TYPE
Integer
Decimal/Currency
SIZE
15
11
Decimal/Currency
11
date
time
Date/Time
N/A
Date/Time
N/A
CONTAIN
This table connects the receipt and the product sold
together. This also allows you to track the list of sold products
per transaction or per receipt.
FIELD
DESCRIPTION
receiptNo
prodID
quantity
amount
Receipt number
Product ID number
Quantity of product
Amount of product
P
K
/
/
/
DATA TYPE
SIZE
Integer
Integer
Integer
Decimal/Currenc
y
15
12
10
12
PRODUCT
This table provides information about a certain product.
Given the product ID, you can determine the description of that
product as well as its price per unit.
FIELD
prodID
prodDesc
price
DESCRIPTION
Product ID number
Product description
Price of the product
PK
/
DATA TYPE
Integer
Varchar/Text
Decimal/Currency
SIZE
12
25
12