pos4102.weebly.compos4102.weebly.com/uploads/2/4/1/3/24134795/chapter_3.docx · Web viewWhile...
Transcript of pos4102.weebly.compos4102.weebly.com/uploads/2/4/1/3/24134795/chapter_3.docx · Web viewWhile...
CHAPTER III
3.1 Software Requirements Specification Document
1. Introduction
The researchers are decided to create a subsystem that comprises the Supermarket Management System which is the Point of Sale (POS) system. Point of Sale is defined as the physical location of a transaction but usually refers to any device or system used to record the transaction for the retailer. Sometimes use to clarify all of these together.
Most people type on computers these days. For a long time, the typewriter manufacturer’s tried to resist the tied by touting the new features of their products. Some added memory and LCD displays to make their typewriters more “computer like”. In the end, they lost the battle. While typewriters can still be found, by and large computer word processing has won the battle. More likely because word processing provided much more: Spell checking, different fonts, graphics, pagination, etc.
The researchers see the same battle now between mechanical cash registers and computer-based POS system.
1.1 Goals and objectives Summarization of item printed in the receipt with same description.
1.2 Statement of Scope
These are the scope of the POS System:
Sales Entry
Merchandising System Point of Sale Module Page 29
Entering inventory codes either manually or automatically via barcode scanner.
Once the inventory code is entered, the systems call up the standard or selling price,
compute the price at multiple quantities and provide a running total. The cashier
personnel can also search for inventory codes based on a partial merchandise number,
description, manufacturing code or vendor for an ease of use.
Modes of Payment
After completing the sales entry of selected items and computing the total
amount, the system will provide set of modes of payment. The cashier will choose the
mode of payment needed in the transaction. The different modes of payments are
cash, credit card, debit card, San Roque Supermarket Gift Certificate (SRSGC) and
the privileged card commonly called as “Suki Card”.
Cash is pertaining to the regular payment transaction where in the customer is
giving the amount physically and on hand.
Credit Card pertains to the payment card issued to card holder as a mode
of payment. It allows the cardholder to pay for goods and services based on the
terms and conditions. The issuer of the card creates a revolving account and
grants a credit line to the card holder. It uses a swipe card machine and process
the total amount of purchased item. If the credit card has insufficient balance to
acquire the total amount of the items, the system will automatically communicate
to the respective bank.
Debit Card (also known as a bank card or check card) is a plastic money that
provides the cardholder electronic access to his or her bank account(s) at a
financial institution. Some cards have a stored value with which a payment is
made, while most relay a message to the cardholder's bank to withdraw funds
from a payee's designated bank account. The card, where accepted, can be used
instead of cash when making purchases. In some cases, the primary account
number is assigned exclusively for use on the Internet and there is no physical
card.
San Roque Supermarket Gift Certificate (SRSGC) pertains to the gift certificate
given by the San Roque Supermarket to the customer. When the supermarket has
Merchandising System Point of Sale Module Page 30
given a 1500 worth of gift certificate, this can be use as a payment to purchased
item onto its exact amount only.
Privileged Card
This is one of the features of San Roque Supermarket that is given to the
customer. This is use to earn points as a rewards and discount items within the
supermarket. To avail the “Suki Card”, the customer will go to the Customer Service
Desk and fill up the card form for the customer information. The customer will pay the
amount of the card and to be updated by the encoder of the supermarket. Card is ready to
be use by the customer. The points are used in different ways. It can be used as a payment
when converted into peso value. Also, it can be use to earn rewards depending on the
rewards given by the Supermarket. e.g. (The customer avail 300 points using his/her
“Suki Card”. 300 points is equal to a Flash Drive. The customer can avail the item by
giving the points he/she earned using the said card.
Sales Report
This pertains to the day-to-day report granted to the supervisor. This is a way of
monitoring the daily sales of the client. This is also a way of tracking the financial state
of the business in daily basis.
Loss and Prevention Report
Loss and prevention reports analyze store operations for signs of theft or fraud. This includes: report on number of cancels, report on number of voids, report on number of pending and report on number of return by tender type.
Journal Report
This is not included inside the premises of the POS, this is being hidden in the
folder file of the system. Cashier is not aware of this, only the supervisor can open the
journal. This can be a source of sales report of the company and for comparison in the
printed receipts.
Z-out Store Close Report
It is typically run when closing the store for the day and filtered to include all workstations in the store. The Store Close report does not include the option to manually count out the cash drawer.
Merchandising System Point of Sale Module Page 31
Printing Receipt
The system will produce receipts in every transaction. This can be viewed by
cashier personnel for checking purposes and by customers.
Product Returning
This transaction is used when the customer return the product for such reason.
(E.g. when the product is damaged or defective)
Transaction Voiding
This can be access by supervisors only. This is used when the cashier personnel
encounter problems with the current transaction of the customer.
SMS Notification
This feature is used to communicate with the customers. The company can send
updates, price increase, promo validities, reward details and other information with
relevant to the products of the supermarket.
Senior Citizen Discount
SECTION 4. Privileges for the Senior Citizens.The senior citizens shall be entitled to the following:"(a) the grant of twenty percent(20%) discount and exemption from the value –added tax (VAT), if applicable, on the sale of the following goods and services from all establishments, for the exclusive use and enjoyment or availment of the senior citizen"(1) on the purchase of medicines, including the purchase of influenza and pnuemococcal vaccines, and such other essential medical supplies, accessories and equipment to be determined by the Department of Health (DOH)."The DOH shall establish guidelines and mechanism of compulsory rebates in thesharing of burden of discounts among retailers, manufacturers and distributors,taking into consideration their respective margins;"(2) on the professional fees of attending physician/s in all private hospitals, medical facilities, outpatient clinics and home health care services;"(3) on the professional fees of licensed professional health providing home health care services as endorsed by private hospitals or employed through home health care employment agencies;"(4) on medical and dental services, diagnostic and laboratory fees in all private
Merchandising System Point of Sale Module Page 32
hospitals, medical facilities, outpatient clinics, and home health care services, inaccordance with the rules and regulations to be issued by the DOH, in coordination with the Philippine Health Insurance Corporation (PhilHealth);"(5)in actual fare for land transportation travel in public utility buses (PUBs),public utility jeepneys (PUJs) ,taxis, Asian utility vehicles (AUVs), shuttle services and public railways, including Light Rail Transit(LRT),Mass Rail Transit(MRT), and Philippine National Railways (PNR);"(6)in actual transportation fare for domestic air transport services and sea shipping vessels and the like, based on the actual fare and advanced booking;"(7) on the utilization of services in hotels and similar lodging establishments,restaurants and recreation centers;"(8) on admission fees charged by theaters, cinema houses and concert halls,circuses, leisure and amusement; and"(9) on funeral and burial services for the death of senior citizens;"(b)exemption from the payment of individual income taxes of senior citizens who are considered to be minimum wage earners in accordance with Republic Act No. 9504;"(c)the grant of a minimum of five percent(5%) discount relative to the monthlyUtilization of water and electricity supplied by the public utilities: Provided, That the individual meters for the foregoing utilities are registered in the name of the senior citizen residing therein: Provided, further, That the monthly consumption does not exceed one hundred kilowatt hours (100 kWh) of electricity and thirty cubic meters (30m3) of water: Provided, furthermore, That the privilege is granted per household regardless of the number of senior citizens residing therein;"(d) exemption from training fees for socioeconomic programs;"(e)free medical and dental services, diagnostic and laboratory fees such as, but not limited to, x-rays, computerized tomography scans and blood tests, in all government facilities, subject to the guidelines to be issued by the DOH in coordination with the Phil Health;"(f)the DOH shall administer free vaccination against the influenza virus and
Merchandising System Point of Sale Module Page 33
pneumococcal disease for indigent senior citizen patients;"(g) educational assistance to senior citizens to pursue pot secondary, tertiary, post tertiary, vocational and technical education, as well as short-term courses for retooling in both public and private schools through provision of scholarships, grants, financial aids, subsides and other incentives to qualified senior citizens, including support for books, learning materials, and uniform allowances, to the extent feasible: Provided, That senior citizens shall meet minimum admission requirements;"(h)to the extent practicable and feasible, the continuance of the same benefits andprivileges given by the Government Service Insurance System (GSIS),the SocialSecurity System (SSS) and the PAG-IBIG, as the case may be, as are enjoyed by those in actual service;"(i) retirement benefits of retirees from both the government and the private sector shall be regularly reviewed to ensure their continuing responsiveness and sustainability, and to the extent practicable and feasible, shall be upgraded to be at par with the current scale enjoyed by those in actual service;"(j)to the extent possible, the government may grant special discounts in specialprograms for senior citizens on purchase of basic commodities, subject to the guidelines to be issued for the purpose by the Department of Trade and Industry (DTI) and the Department of Agriculture (DA);"(k) provision of express lanes for senior citizens in all commercial and government establishments; in the absence thereof, priority shall be given to them; and"(l) death benefit assistance of a minimum of Two thousand pesos (Php2,000.00) shall be given to the nearest surviving relative of a deceased senior citizen which amount shall be subject to adjustments due to inflation in accordance with the guidelines to be issued by the DSWD."In the availment of the privileges mentioned above, the senior citizen, or his/her duly authorized representative, may submit as proof of his/her entitled thereto any of the following:"(1) an identification card issued by the Office of the Senior Citizen Affairs (OSCA) of the place where the senior citizen resides: Provided, That the identification card issued by the particular OSCA shall be honored nationwide;
Merchandising System Point of Sale Module Page 34
"(2)the passport of the senior citizen concerned; and"(3) other documents that establish that the senior citizen is a citizen of theRepublic and is at least sixty (60) years of age as further provided in theimplementing rules and regulations. "In the purchase of goods and services which are on promotional discount, the senior citizen can avail of the promotional discount or the discount provided herein, whichever is higher."The establishment may claim the discounts granted under subsections (a) and (c) of this section as tax deduction based on the cost of the goods sold or services rendered:Provided, That the cost of the discount shall be allowed as deduction from gross income for the same taxable year that the discount is granted: Provided, further, That the total amount of the claimed tax deduction net of VAT, if applicable, shall be included in their gross sales receipts for tax purposes and shall be subject to proper documentation and to the provisions of the National Internal Revenue Code (NICR), as amended."
Source: http://www1.umn.edu/humanrts/research/Philippines/RA%209994%20-%20The%20Expanded%20Senior%20Citizens%20Act.pdf
User Requirements for the San Roque Supermarket Point of Sale (POS) System
Req. No. Priority Reference DescriptionAccess Privileges
R1 High Employee There shall be levels of access. One for supervisor and other one for cashier.
R2 Medium Cashier All cashier shall be allowed to view product information
R3 Medium Supervisor The supervisor is the only authorize to void and pending transaction.
SecurityR4 High Employee Each user shall be
Merchandising System Point of Sale Module Page 35
required to log on with a unique username and password before accessing the system.
R5 Low Code Works The username shall be the first name of the employees.
R6 High Employee A password shall be assign to each user.
R7 High Code Works The password shall contain 6 to 8 characters.
R8 Medium Code Works After 3 unsuccessful attempts in entering username and password, the system shall be terminated.
Account InformationR9 High Customer The customer’s
record shall contain the following information:
1. Name2. Address3. Contact4. Gender5. Age6. Birth date
R10 High Employee The employee’s record shall contain the following:
1. Name2. Position
BillingR11 High Customer The customer shall
pay the total amount.R12 High System The system shall print
receipt that is given to the customer to validate the transaction.
User InterfaceR13 High System The system shall have
a LAN Based interface that works
Merchandising System Point of Sale Module Page 36
with Netbeans.R14 High System The background color
of all windows shall be white.
Table 2 – User Requirements for POS system
1.3 Software context
San Roque Supermarket started on November 28, 2001. The company offers a wide array of grocery items and non grocery items. In span of 8 years it grew from a small scale business to medium scale. Its organization started from an initial of 40 employees to now more than 100. Its first few years of business focused on merchandising grocery products on a retail basis. Just less than a year later started to venture out, focusing on catering wholesale customer. The company decided to buy a computerized Point of Sale (POS) system and called “SimPOS”. The systems help their company to lessen their work and to become ease.
The Point of Sale (POS) system can monitor the sales of the supermarket. Every terminal can transact one customer at a time and print the receipt after the transaction, but there is a problem regarding the redundancy of items printed in the receipt with same description.
The researchers gather all the information and business process about the Point of Sale (POS) system. They propose a system wherein they can solve problem about items printed in the receipt with same description.
1.4 Major constraints
The current project is not integrated with other POS system. The system is not centralized and uses a local server that supports the functionality of the system.
2. Usage scenario
2.1 User profiles
The following definitions describe the actor in the system.
Supervisor The supervisor has the highest access to the system. They are responsible if there is any error and problem in the transaction process. It includes voiding, pending transaction and accessing product look-up features.
Employee Employee refers to the cashier. They are the one who has the daily access to the system. They have limited access to the system. The can only manage the system in their job classification.
Merchandising System Point of Sale Module Page 37
Customer They are responsible for choosing items or product. The required to pay the total amount of items bought in cash. Hence, if using a customer card (Suki Card), credit card, debit card and gift certificates.
System Refers to the computer hardware and software that controls the application transaction. It accepts user input, display, user output and interface to the software.
2.2 Use-cases
The following use-cases ate typical interaction between the external environment and the internal software. Each use-case is described in section 2.2.2.
1. Log on to system2. Identify type of customer3. Scan/enter product code4. Enter number of quantity5. Select mode of payment6. Print receipt7. Print Report8. Void Item9. Void Transaction10. Pending Transaction11. Product Look-Up12. Product Returning2.2.1 Use Case Diagram
Merchandising System Point of Sale Module Page 38
Figure 1 – Use case diagram for POS System
The Use Case Diagram in Fig.1 shows three actors that described in 2.1 in order to understand this diagram. We use different actors to perform their task according to their position in the system. It shows the interaction between three actors during the transaction process.
2.2.2 Use-Case Description
Merchandising System Point of Sale Module Page 39
Use Case : Log on to systemPrimary Actor: CashierGoal in context To gain access to the systemPrecondition: The cashier has a valid username and passwordTrigger:Scenario: 1. The system prompts the cashier for their username
and password.2. The cashier enters their username and password.3. The system sends the username to the database.4. The database sends back the password registered
to the username.5. The system verifies the password and sets the
user’s authorization.6. The cashier is given access to the system to
perform their job.Exception The username and password cannot be verified.
Table 2.2.2.1 Use case scenario of Log on to system
Use Case : Identify type of customerPrimary Actor: CashierGoal in context To determined if the customer are senior citizen or not.Precondition: The customer senior citizen must have a senior citizen ID.Trigger: If customer is in the cashier to pay their bill.Scenario: 1. To regular customer proceed to the normal
transaction.2. For senior citizen, prompt senior citizen ID.3. Enter senior citizen ID.4. The system sends the senior citizen ID to the
database.5. The database sends back the ID registered to
the senior citizen.6. The system verifies the ID.7. Given the 20% discount to the senior citizen.
Exception The senior citizen ID is not valid.
Table 2.2.2.2 Use case scenario of Identify type of customer
Use Case : Scan/Enter product codePrimary Actor: CashierGoal in context: To display and identify the product information.Precondition: You have a barcode scanner.
Merchandising System Point of Sale Module Page 40
Trigger: There should have at least one product to be scan.Scenario: 1. Get the product and scan using barcode
scanner.2. The systems prompt the Enter product code.3. The product code shall be entered.
Exception The username and password cannot be verified.
Table 2.2.2.3 Use case scenario of Scan/enter product code
Use Case : Enter number of quantityPrimary Actor: CashierGoal in context To have the right quantity of the product.Precondition: Cashier need to scan/enter product code first.Trigger: The product is greater than one.Scenario: 1. The system prompt to the enter number of
item.2. Enter number of item.
Exception There is no product scanned.
Table 2.2.2.4 Use case scenario of Enter number of quantity
Use Case : Select type of paymentPrimary Actor: CashierGoal in context: To complete the transactionPrecondition: The customer is able to pay the total amount.Trigger: The customer is ready to pay the bill.Scenario: 1. Selecting type of payment.
2. The customer needs to pay the bill3. If the customer has change the cashier is
required to give the change.Exception The customer doesn’t have enough cash to pay the
bill.
Table 2.2.2.4 Use case scenario of Select type of payment
Use Case : Print receiptPrimary Actor: CashierGoal in context: To finished the transactionPrecondition: The customer already finished the transaction.Trigger: To validate the transaction.Scenario: 1. Printing receipt
Merchandising System Point of Sale Module Page 41
2. The cashier will sign the receipt.3. Giving the receipt to the customer.
Exception If the printer is not available.
Table 2.2.2.5 Use case scenario of Print receipt
Use Case : Print ReportPrimary Actor: SupervisorGoal in context: To track financial state of the business in daily basisPrecondition: The supervisor has valid username and passwordTrigger: If the supervisor wants to check the daily salesScenario: 1. The supervisor log on to the system
2. The supervisor need to select specific date3. The system will display the print preview of
the report.4. Press the shortcut key of the print.5. The system will prompt print properties.6. Continue printing process
Exception Username and password incorrect.
Table 2.2.2.5 Use case scenario of Print report
Use Case : Void ItemPrimary Actor: SupervisorGoal in context: To return the product in the inventory.Precondition: The supervisor has valid username and password.Trigger: If the customer has insufficient money to continue
transaction.If the customer is having a problem about the product.
Scenario: 1. Press shortcut key of the product item2. Select the product to be void.3. The system will prompt a logon screen.4. Supervisor need to log in to the system.5. Approve the transaction.
Exception Username and password incorrect.
Table 2.2.2.5 Use case scenario of Void Item
Use Case : Void TransactionPrimary Actor: SupervisorGoal in context: To avoid discrepancy of records.Precondition: The supervisor has valid username and password.Trigger: If the customer is having a problem with the
Merchandising System Point of Sale Module Page 42
transaction.Scenario: 1. Press shortcut key of the transaction.
2. Prompt a log on screen.3. Supervisor need to log in to the system.4. Approve the voiding transaction.
Exception Username and password incorrect.
Table 2.2.2.5 Use case scenario of Void Transaction
Use Case : Pending TransactionPrimary Actor: SupervisorGoal in context: To process another transaction of the customer.Precondition: The supervisor has valid username and password.Trigger: If there is a valid reason to pending transaction.Scenario: 1. Press shortcut key of the pending transaction.
2. The system will prompt a logon screen.3. Supervisor need to log in to the system.4. Approve the pending transaction.
Exception Username and password incorrect.The reason is not valid enough to pending transaction.
Table 2.2.2.5 Use case scenario of Pending Transaction
Use Case : Product Look-UpPrimary Actor: SupervisorGoal in context: To search product that can’t be scanned.Precondition: The supervisor has valid username and password.Trigger: If there is a product that can’t b scanned.Scenario: 1. Press shortcut key of the product look-up.
2. The system will prompt a logon screen.3. Supervisor need to log in to the system.4. The system will prompt for the entire product
list.5. Search for product category.6. Select product.
Exception Product is not available.
Table 2.2.2.5 Use case scenario of Product Look-Up
Merchandising System Point of Sale Module Page 43
Use Case : Product ReturningPrimary Actor: SupervisorGoal in context: To change the product.Precondition: The supervisor has valid username and password.Trigger: If there is a valid reason to pending transaction.Scenario: 1. Approve returning of the product.
2. Press shortcut key of the product returning.3. The system will prompt a logon screen.4. Supervisor need to log in to the system.5. Search the receipt number of the product.6. Select the product to be return.7. Put remarks in the product to be return.
Exception Username and password incorrect.The reason is not valid enough to return the product.
Table 2.2.2.5 Use case scenario of Product Returning
1.2 Activity Diagrams
Merchandising System Point of Sale Module Page 44
Figure 2 - Activity diagram for logging on the system
Figure 2 shows the steps taken as an employee logs on to the computer system. Access is only granted if the correct user ID/password combination is entered within the first three attempts. After the third attempt the system will be terminated. Once access is granted the employee can use the system.
Merchandising System Point of Sale Module Page 45
Figure 3 - Activity Diagram for identifying type of customer
In figure 3 shows the levels of customer. For regular customer will precede direct process if not, the customer is identified as senior citizen by validating senior citizen Id. Therefore the cashier will give the corresponding 20% discounts.
Merchandising System Point of Sale Module Page 46
Figure 4- Activity Diagram for Scanning/Entering Product code
In figure 4 the customer will to pay the product. The cashier needs to scan a barcode of each product but if the product is not recognized by the scanner the cashier will manually enter the product code.
Merchandising System Point of Sale Module Page 47
.
Figure 5 – Activity Diagram for entering number of quantity
Figure 5 show that when the cashier scan or enter the product code another window will show for entering the number of quantities
Merchandising System Point of Sale Module Page 48
Select types of payment
Cash
[No]
Other type of payment Gift certificate
Check for change
Print receipt
Change/Print receipt Credit/Debit card
Swipe card
Validate credit card
Credit/Debit card
Validate Gift certificate
Print receipt
Select Type of Payment Activity Diagram
[Yes]
[Yes] [No]
Figure 6 – Activity Diagram for selecting type of payment
Figure 6 shows the activity of selecting payments including cash, credit/debit card, gift certificate and privileged point’s earned by the customer; it is where the customer makes a payment in exchange for goods and services.
Merchandising System Point of Sale Module Page 49
Figure 7 – Activity Diagram for printing receipt
Printing receipt is another activity by the cashier after the activity shown in figure 8. This will serve as a validation that is given to the customer.
Merchandising System Point of Sale Module Page 50
3. Data Model and Description
3.1 Data Objects
Employee Data Object.emp_userId A unique identifier assigned to the employee.emp_pass The employee password.emp_fname The employee last name.emp_fname The employee first name.emp_mname The employee middle name.emp_position The employee position.emp_department The employee department.emp_classification The job classification of the employee. Limited to Administrator, Supervisor and Cashier
Product Data Objectprod_Id A unique identifier assigned to the product.prod_code A unique identifier assigned to the product. prod_name The name of the product. prod_quan The quantity of the product.prod_des The description of the product.prod_price The price of the product.prod_expdate The expiration date of the product.
Transaction Data Objecttrans_No A unique identifier assigned to the transaction.prod_Id The Id of product that has been transact.prod_code The code of product that has been transact.emp_userId The Id of employee who make the transaction.trans_date The date of the transaction.trans_time The time of the transaction.total_amt The total amount of the transaction.payment The different types of payment selected.
Cash Data Objectreceipt_no A unique receipt number for each transaction.total_amt The total amount of item sold.change The amount given to the customer.date_paid The date of transaction.
Merchandising System Point of Sale Module Page 51
Credit Data Objectacc_no A unique receipt number for each credit card.bank_name Bank name of the credit card.total_amt The total amount of item sold.date_paid The date of transaction.remarks Entering any comments with regards to credit transaction.
Debit Data Objectacc_no A unique receipt number for each debit card.bank_name The Bank name of the credit card.total_amt The total amount of item sold.date_paid The date of transaction.remarks Entering any comments with regards to credit transaction.
GiftCertificate Data Objectgc_no A unique receipt number for each Gift Certificate.gc_amt The amount of Gift Certificate.gc_expdate The expiration of Gift Certificate.total_amt The total amount of item sold.date_paid The date of transaction.
CustomerCard Data Objectcc_no A unique receipt number for each customer cardtotal_amt The total amount of item soldearned_pts The available points earned by the customerdate_paid The date of transaction.
Customer Data Objectcust_Id A unique identifier assigned to the customer.cust_lname The customer last name.cust_fname The customer first name.cust_mname The customer middle name.cust_age The customer age.cust_gender The customer gender.cust_birthdate The customer birth date.cust_contact The customer contact number.cust_address The customer address.dateregistered The date registered.cust_earnedpoints The customer earned points.
3.2 Relationships
Merchandising System Point of Sale Module Page 52
In order for a cashier to have an account to access the system to perform the transaction but there access are limited. Each cashier can have a one-to-one relationship exist because each of them can transact one at a time.
A cashier will transact one customer so one-to-one relationship exists. When the first customer is done the next customer shall proceed.
A customer may add multiple products or item so one-to-many relationships exist.
3.3 Complete data model
Merchandising System Point of Sale Module Page 53
Figure 8 – Relationship Diagram for the POS System
The relationships between the data objects describe in section 3.2 are shown in figure 8.
Merchandising System Point of Sale Module Page 54
1
1
1
11
1
1
date_paid
earned_pts
total_amt
cc_noPK
CUSTOMERCARD
date_paid
total_amt
gc_expdate
gc_amt
gc_noPKGIFTCERTIFICATE
remarks
date_paid
total_amt
bank_name
acc_noPK
DEBITremarks
date_paid
total_amt
bank_name
acc_noPK
CREDIT
date_paid
change
total_amt
receipt_noPK
CASH
1 M
M
1
1
1
1
1
prod_expdate
prod_price
prod_des
prod_quan
prod_name
prod_code
prod_Id
PK
PKPRODUCT
cust_earnedpoints
dateregistered
cust_address
cust_contact
cust_birthday
cust_gender
cust_age
cust_mname
cust_fname
cust_lname
cust_IdPKCUSTOMER
payment
total_amt
trans_time
trans_date
emp_userIdFK
prod_codeFK
prod_Id
trans_NoFK
PK
TRANSACTION
emp_classificationemp_departmentemp_positionemp_mnameemp_fnameemp_lnameemp_passemp_userIdPK
EMPLOYEE
4. Functional Model and Description
4.1 Class diagrams
Figure 9 – POS System class diagram
The associations between the different classes are shown in figure 9. The access functions to get and set private data attributes have been remove to clarity.
Merchandising System Point of Sale Module Page 55
(1,1)
(1,1)
(1,1)
(1,1)
(1,1)(1,1)
(1,1)
+view()
-date_paid-earned_pts-total_amt
CUSTOMERCARD
+view()
-date_paid-total_amt-gc_expdate-gc_amt
GIFTCERTIFICATE
+view()
-remarks-date_paid-total_amt-bank_name
DEBIT
+view()
-remarks-date_paid-total_amt-bank_name
CREDIT
+view()
-date_paid-change-tottal_amt-receipt_no
CASH
(1,1)
(1,1)
(1,*) (1,*)
(1,*)
(1,*)
(1,1)
(1,1)
+addCustomer()
-nextCustomer-cust_earnedpoints-dateregistered-cust_address-cust_contact-cust_birthdate-cust_gender-cust_age-cust_mname-cust_fname-cust_lname
CUSTOMER
+view()
-nextProduct-prod_expdate-prod_price-prod_des-prod_quan-prod_name-prod_code
PRODUCT
+addTransaction()+pending()+void()+initializing()
-nextTransaction-payment-total_amt-trans_time-trans_date-prod_code-trans_No
TRANSACTION
+addEmployee()+terminate()+demote()+promote()
-nextEmployee-emp_classification-emp_department-emp_position-emp_pass-emp_mname-emp_fname-emp_lname
EMPLOYEE
POS SystemClass Diagram
4.2 Software Interface Description
4.2.1 External machine Interface
The software will be capable of printing receipt and reports on a local or network
printers. It is also using a barcode scanner to scan product specification and a card swiping
machine for the payment of the customer using a card.
4.2.2 External system Interface
The POS System will communicate with a local server. The system will use local area
network or LAN Based.
4.2.3 Human Interface
The Interface shall be completed using a monitor, special keyboard for POS machines to
operate the system and to use the buttons of the monitor.
4.2.4 Reports
Reports Layout
Figure 10 – Cash Receipt Layout Figure 11 – Credit Receipt Layo
Merchandising System Point of Sale Module Page 56
Figure 13 – Daily Loss and Prevention Report of POS
Data Dictionary for each Report
Figure 14 – Data Dictionary for cash
Merchandising System Point of Sale Module Page 58
Figure 15 – Data Dictionary for credit
5. Behavioural Model and Description
5.1 Description for software behaviour
5.1.1 Events
Employee event
Employee is hired
Employee is terminated
Employee logs on to system
Employee logs off to system
Employee get promoted
Employee is no longer employed
5.1.2 States
Employee States Description
Hired The Employee has been hired.
Promoted The Employee has been promoted.
Online The employee has log on to the system.
Offline The employee has log off to the system.
Terminated The employee has been terminated and must be blocked
from using the system.
Void Transaction The employee can void transaction
Merchandising System Point of Sale Module Page 59
Customer States Description
Active The customer has been member of the supermarket.
Inactive The customer has not been member of the supermarket.
Regular A regular type of customer.
Senior Citizen The customer has been a senior citizen registered.
Paid The customer has been paid the bill.
Unpaid The customer has not been paid the bill.
Expired Member The customer is no longer a member because they are not able to
buy any item in 1 year.
Transaction States Description
Initializing The transaction is ongoing.
Pending The transaction has been pending.
Void The transaction has been terminated.
Merchandising System Point of Sale Module Page 60
5.2 State chart Diagram
Figure 16 – Overall State Chart Diagram
Merchandising System Point of Sale Module Page 61
Figure 17 – State Chart Diagrams
6. Restrictions, Limitations and Constraints
Merchandising System Point of Sale Module Page 62
Product Inventory Price Management Purchase Order Store Keeping Unit Data Maintenance Replenishment Good Receipt
7. Validation Criteria
7.1 Classes of tests
Unit testing of software including
Voiding Transaction
Pending Transaction
View Product Information
Generate overall sales report
Printing Receipt
Logging on the System
Verifying Customer ID
Senior Citizen Verification
7.2 Expected software response
The system should prompt error message when the product ID was not in the
database.
The system should prompt error message when senior citizen ID is not valid,
The system should prompt access denied if username or password is incorrect.
The system error message when the transaction number was not in the database.
The system prompt a message for the next transaction,
The system prompt a message after printing the receipt.
The system prompt a message when the product is already void.
The system prompt a message when the transaction is voiding.
7.3 Performance bounds
Merchandising System Point of Sale Module Page 63
The system will still operate when the server is not available because it has an
alternative offline database that will serve as a temporary database to still
recognize the product description to perform transaction.
The system can hold one transaction.
The system can cancel the transaction.
The system can scan multiple product.
The system can void product and transaction.
Glossary
Account – A reference for all information related to a customer including employee and product information.Supervisor – A person give instruction or orders and subordinates. Cashier – A person who scan the goods through a machine.Customer – The recipient of good, services, product and idea.Database – Organized collected of data.System – Set of interacting or interdependent components or forming an integrated whole or set of elements.Net beans – An integrated development environment (IDE) for developing primarily with java but also with other languages.
Issues List
Is it possible for the system to still continue even if the server is down?
Should customer have access to system?
Is the system centralized in other branches?
When the systems still recognize a product without a barcode scanner?
Merchandising System Point of Sale Module Page 64