Development #7625
Updated by Kyle Chong 3 months ago
Refer to
* docs/planning/modules/M12_End_Of_Day.md
* docs/planning/FPOS
Test at minimum:
* Normal store closing before midnight.
* Store closes at 2am.
* Sale at 23:59.
* Sale at 00:01.
* Sale at 01:59.
* Verify all belong to previous Business Date.
* Perform EOD at 02:00.
* Sale after rollover belongs to new Business Date.
* Active shift crossing midnight.
* Non-shift store crossing midnight.
* 24/7 store.
* Missed EOD.
* Business Date remains previous day after midnight.
* POS restart after midnight before EOD.
* POS crash during EOD.
* EOD attempted twice.
* Pending sync.
* EDC settlement.
* Fiscal close.
* Z Closing.
* Verify Backend receives both actual Transaction DateTime and Business Date.
Done when: POS+ correctly controls Business Date across midnight, overnight operation and 24/7 stores, and all financial totals remain under the intended trading day.