Actions
Development #7217
closedFeature #7213: Training Mode (M17)
Route all POS operations to the active database set
Status:
Closed
Assignee:
Start date:
01/10/2026
Due date:
01/10/2026
% Done:
100%
Estimated time:
Complete Date:
01/10/2026
Description
Subject: Route POS operations to active database mode
Refer to:
- docs/planning/modules/M17_Training_Mode.md
- relevant POS+ architecture/database MD
Ensure all existing POS+ functions operate against whichever database set is currently active.
Production Mode
↓
Production Master DB
Production Transaction DBTraining Mode
↓
Training Master DB
Training Transaction DB
Scope:
- Cashier modules must use the active database context rather than hardcoded Production database connections.
- When Training Mode is active, all reads/writes must use the Training database set.
- This includes sales, payment records, void, suspend/recall, refund, cash movement, shift, EOD, receipt/report data and other POS transactions.
- Existing POS business logic should be reused.
- Do not separately implement “Training Sales”, “Training Refund”, “Training EOD”, etc.
- Switching back to Production must restore all operations to the Production database set.
Done when: Existing POS+ functions automatically operate on Training data when Training Mode is active and Production data when Production Mode is active.
Updated by Kyle Chong 3 months ago · Edited
- Status set to New
- Subject set to Apply training inventory simulation
- Tracker set to Development
- Priority set to Medium
- Parent task set to #7213
- % Done set to 0
Issue created
Updated by Kyle Chong 3 months ago
- Subject changed from Apply training inventory simulation to Route all POS operations to the active database set
- Description updated (diff)
Updated by Chong Yit Ren about 2 months ago
- Due date set to 01/10/2026
- Assignee set to Chong Yit Ren
- Start date set to 01/10/2026
Updated by Chong Yit Ren about 2 months ago
- Status changed from New to Dev In Progress
- % Done changed from 0 to 100
- Complete Date set to 01/10/2026
Updated by Chong Yit Ren about 2 months ago
- Status changed from Dev In Progress to Closed
Actions