Project

General

Profile

Development #7142

Updated by Kyle Chong 3 months ago

Refer to: docs/planning/modules/M09_Refund.md 

 Implement the transaction lookup used to start a refund. 

 Scope: 

 * Search/scan original receipt number. 
 * Support transaction/reference number lookup. 
 * Search local completed sales first where applicable. 
 * Support lookup of transactions originating from another store. 
 * Send lookup request through Qube Backend Refund (M09) (docs/planning/modules/M09_Refund.md). Build refund checks, approval/offline decision and compensating ledger/outbox record. Done when the sale is not available locally. 
 * Retrieve the original transaction information from Backend/QubeBiz. 
 * Display Store, Terminal, Cashier, transaction date/time partial/full/duplicate/refused cases pass and receipt number. 
 * Display original sold items. 
 * Display quantity, price, discount, tax and payment information. 
 * Clearly show source/original store. 
 * Handle receipt not found. 
 * Handle Backend/QubeBiz unavailable. 
 * Prevent manual reconstruction of an unknown receipt as a valid refund transaction. 

 Done when: Cashier can retrieve an eligible original sale regardless of whether it was made at the current store or another store. inventory follows disposition.

Back