0% found this document useful (0 votes)
7 views1 page

Cashier Sale Process Flow Diagram

The sequence diagram outlines the process of a sale transaction at a cashier. It details the interactions between the cashier, sale form, sale controller, sale, and inventory database, including item scanning, payment processing, and stock updating. The final step involves printing a receipt for the customer.

Uploaded by

Devil's Gaming
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views1 page

Cashier Sale Process Flow Diagram

The sequence diagram outlines the process of a sale transaction at a cashier. It details the interactions between the cashier, sale form, sale controller, sale, and inventory database, including item scanning, payment processing, and stock updating. The final step involves printing a receipt for the customer.

Uploaded by

Devil's Gaming
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

sequenceDiagram

participant C as Cashier
participant SF as :SaleForm
participant SC as :SaleController
participant S as :Sale
participant Inv as :InventoryDB

C->>SF: initiatesNewSale()
SF->>SC: createSale()
SC->>S: new Sale()
loop For each item
C->>SF: scanItem(productID)
SF->>SC: addItemToSale(productID, quantity)
SC->>S: addItem(product)
end
C->>SF: finalizeSale()
SF->>SC: processPayment(paymentDetails)
SC->>S: finalize()
S->>Inv: updateStock(productID, soldQty)
SC-->>C: printReceipt()

You might also like