Sie sind auf Seite 1von 9

Point of Sales System

A Database Management Systems Project Presented to the Faculty of


the College of Information Technology and Computer Sciences of
the University of the Cordilleras

In Partial Fulfillment of the Requirements for the Degree


BATCHELOR OF SCIENCE IN INFORMATION TECHNOLOGY

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

Narrative Description of the System


A

Point

of

Sales

System

is

an

electronic

system

that

provides businesses with the capability to retain and analyse a


wide variety of offered products within an inventory and a dayto-day transaction data on a continuous basis. Point of Sales
Systems have been touted as valuable tools for a wide variety of
business
strategies;

purposes,
tracking

including
customer

refining
purchases

target
and

marketing

determining

its

patterns; analysing sales (on a daily, monthly, or annual basis)


of each inventory item, department, or supplier; and creating
reports for use in making purchases and reorders.
POS systems reduce time that customers and employees spend
in processing financial transactions. A shopper typically can
take her products to the register, where the cashier uses his
handheld scanner to read the price and description on the tag of
each item. The system automatically totals the amounts, deducts
appropriate discounts and applies sales tax. It also updates the
number of stocks for a certain product automatically. The
customer pays through cash alone. The System cannot receive
amounts on a credit card basis. The system prints out one receipt
that has a unique OR number for the customers for every
transaction. The cashier bags the customers purchases, hands her
the receipt and sends her on her way so he can tend to the next

shopper. Figure 1 on the next page shows the processes of the


system.

Figure 1
Swimlane Diagram of the POS System

Entity Relationship Model


Figure 2
Entity Relationship

Diagram

Conversion of ER model into Tables


The following are the converted form of the of the Point of
Sales Systems ER Diagram.
CASHIER {cashierID, cashierFname, cashierLname, password}
RECEIPT {receiptNo, receiptTotal,amountReceived, change, vat,
date, time }
CONTAIN {receiptNo, prodID, quantity, amount}
PRODUCT {prodID, price, prodDesc}

Normalization to 3rd Normal Form


CASHIER
Already on the 3rd normal form

cashierID

cashierFname

cashierLname

password

RECEIPT
First normal form
receiptNo

cashierFname

cashierLname

receiptTotal

amountReceived

change

vat

time

3rd normal form

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

Physical Database Design


CASHIER
The table CASHIER contains the information about the cashier
which includes his/her ID, first and last name, and password.
FIELD
cashierID
cashierFnam
e
cashierLnam
e
password

DESCRIPTION
Cashiers ID number
Cashiers first name

PK
/

DATA TYPE
Integer
Varchar/text

SIZE
10
25

Cashiers last name

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 the receipt was


printed
Time the receipt was
printed

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

Das könnte Ihnen auch gefallen