Development #7182
Updated by Kyle Chong 3 months ago
Refer to: * docs/planning/modules/M13_Customer.md * docs/planning/modules/M02_Product_Data_Sync.md Where Customer (M13) (docs/planning/modules/M13_Customer.md). Build customer selection/data access in both Cashier projects. Cover offline availability, privacy and e-invoice fields. Done when selected customer data is synchronized locally, process customer master changes received from upstream. Scope: * Process Add. * Process Update. * Process Delete/Deactivate according to business rules. * Maintain customer ID/code consistently. * Update local searchable customer data. * Handle duplicate events idempotently. * Handle out-of-order/retry scenarios. * Do not alter customer snapshots already stored against completed transactions. * * Record synchronization diagnostics/errors. For development before QubeBiz integration is ready, correctly snapshotted into the Qube Admin Portal can act as the temporary upstream source according to the M02 POC architecture. Done when: Customer master changes can reach POS+ and update local customer information without affecting historical transactions. sale.