Project

General

Profile

Development #7140

Updated by Kyle Chong 3 months ago

Refer to: 

 * docs/planning/modules/M10_Cash_Movement.md 
 * docs/planning/modules/M06_Payment_Tender.md 

 Record the physical cash effect of a successfully completed cash sale. 

 Scope: 

 * Receive completed Cash tender result from M06/M03. 
 * Record cash received. 
 * Record change given. 
 * Calculate Movement (M10) (docs/planning/modules/M10_Cash_Movement.md). Build the net drawer movement. 
 * Link to Transaction ID. 
 * Associate Shift/Drawer/Terminal/Cashier. 
 * Prevent duplicate cash movement if the transaction sync/process retries. 
 * Only create movement after the sale/payment is successfully committed. 
 * Ensure cancelled/failed sales do not affect flow, drawer balance. 

 Example: 

 Tendered RM100 
 Change RM20 

 Net drawer movement: 

 +RM80 

 action, approvals/audit and ledger record. Done when: Every completed cash sale produces exactly one correct cash movement linked to when the sales transaction. event changes drawer balance but never becomes a sale.

Back