Usecase Diagram For Point of Sale Machine: Customer
Usecase Diagram For Point of Sale Machine: Customer
Usecase Diagram For Point of Sale Machine: Customer
cash
<<include>>
Customer
return items
Print Receipt Cashier
<<include>>
<<include>>
Update Inventory <<include>> Inventory Report
<<include>>
Admin
Reorder Inventory
Update Inventory
Update
Inventory
Customer
Admin
Admin has access to update inventory, and if customer returns an item it also updates the
inventory as the item is added back to the inventory .
Use Case ID UC-1
Overview This use case describe how the customer and admin can update inventory
Type Primary
1. Admin will enter the username 2. System Will show box to enter Password
3. User Enters the password 4. System Will let you login to the system.
5. Admin adds the item that has been order 6. System Will Show a message item added
and wasn’t previously on the system. successfully.
Alternative Flow
1. Admin will enter the wrong username 2. System Will show username not found
3. Admin Enters the wrong password 4. System Will not let you login to the
system.
Checkout Items
Scanning Items
Customer
Cashier
Customer
Pick an item and went to the cashier counter. Cashier checkout the item and scan it to calculate
the price of the item.
Use Case ID UC-2
Overview This use case describe how the customer and other actors finally checkout.
Type Primary
1. Customer Brings the item to cashier, 2. System shows the items being added to
cashier scans the items the list.
3. The required amount is present on the 4. System will show Transaction completed
customers card successfully.
Alternative Flow
Actors Action System Response
1. Customer Brings the item to cashier, 2. System shows the items being added to
cashier scans the items the list.
3. The required amount is not present on the 4. System will show Transaction failed.
customers card
Manage User/ Login
Manage User
Admin
Admin manage the account of cashiers and manager, no other has access to the management of
accounts. Only person can login into the system who has account in system, no other person can
access to the system.
Use Case ID UC-3
Actors Admin
Overview This use case describe how the admin can limit and manage users.
Type Primary
3. Admin Enters the password 4. System Will let you login to the system.
Alternative Flow
1. Admin Select Username 2. System Will show box to enter Password
3. Admin Enters the wrong password 4. System Will not let you login to the
system.
Cancel Transaction
Cancel
Transaction
Customer
If a customer cancel a transaction, the inventory will be updated and new inventory report show
on the system.
Use Case ID UC-4
Actors Customer
Overview This use case describe how the relevant actor (customer) can cancel
transaction.
Type Primary
1. The customer changes his mind about a 2. System will show the items being added
specific product he cancels the to the inventory and the transaction was
transaction. not made.
Alternative Flow
1. Customer doesn’t change his mind and 2. System will show a message transaction
makes the transaction. completed amount deducted.
Payment
Payment
cash
Cashier
Customer can make payment for an item through Credit/debit card or cash.
Overview This use case describe how customer will pay the bill.
Type Primary
Alternative Flow
1. Customer swipes his card 2. System starts processing and takes too
long.
3. Customer Tries Again 4. System Shows an error.
Print Receipt
Print Receipt
Cashier
Printed receipt of the list of the items bought by a customer is generated through the system by a
cashier.
Use Case ID UC-6
Actors Cashier
Overview This use case describe how the system allows the cashier to give receipt to
customer
Type Primary
1. Cashier will scan the products 2. System Will add all the products together
on list.
3. Cashier will click generate the receipt. 4. System Will generates a receipt for the
items listed.
Alternative Flow
1. Cashier will scan the products but some 2. System Will show an error that the
products barcode not present barcode doesn’t match any item.
Generate Sales Report
Generate Sales
Report
Manager
Manager has access to generate daily sales report of inventory to make sure that the inventory is
updated on daily basis.
Use Case ID UC-7
Actors Manager
Overview This use case describe how system kept record of sale item to manager
Type Primary
3. Manager clicks the show record button 4. System Will show him all the records.
Alternative Flow
Return Item
return item
<<include>>
Customer
payment
Cashier
Customer brings the item along with the original receipt to returns the item cashier returns the items and
pay him back.
Use Case ID UC-8
Overview This use case describe how the customer will return an item.
Type Primary
1. Customer will brings the item the cashier 2. System will add back the items to
will scan the tags inventory.
Login
Login
Cashier Manager
The Cashier and Manager must have Accounts in the system so they can login and continue their work.
Overview This use case describe how the system allows the actors to login in
authorized system
Type Primary
3. User Enters the password 4. System Will let you login to the system.
Alternative Flow
3. User Enters the wrong password 4. System Will not let you login to the
system.
State Diagram for Point of Sale Machine
Activity Diagram for Point of Sale