Project

General

Profile

Development #7085

Updated by Kyle Chong 3 months ago

Refer to: 

 * docs/planning/08_Store_Provisioning_and_Master_Data_Sync.md 
 * applicable M02 master-data sync documentation 

 Implement QubeBiz → POS+ Backend master-data synchronization. 

 Scope: 

 * Receive applicable store master data from QubeBiz. 
 * Process initial store snapshot. 
 * Process subsequent delta updates. 
 * Validate incoming data before committing. 
 * Store synchronized data in Server (docs/planning/01_Architecture.md). Build the documented Backend Firebird. 
 * Maintain synchronization cursor/version. 
 * Prevent duplicate processing. 
 * Apply updates transactionally. 
 * Do not expose partially applied master-data updates to Cashier. 
 * Track last successful synchronization. 
 * Track failed synchronization. 
 * Support retry/recovery. 
 * Maintain the last valid store data API, worker or service. Define contracts, retries, security and diagnostics, then add automated tests. Done when upstream connectivity is unavailable. 

 Master/configuration data includes Cashier/QubeBiz integration passes the applicable POS+ synchronization groups such as: 

 * Store/Terminal. 
 * Product. 
 * Barcode. 
 * Pricing. 
 * Tax. 
 * Discount/Promotion. 
 * Tender. 
 * User/IAM. 
 * POS configuration. 
 * Receipt/document configuration. 
 * Hardware configuration. 
 * Localization. 
 * Other applicable QubeBiz master data. 

 Done when: Backend maintains an accurate local store copy of the required QubeBiz master/configuration data. linked acceptance scenario.

Back