Accounting Scheduled Tasks
Background jobs that generate daily web-fulfillment accounting postings and clean up unfinished draft postings
The Accounting scheduled tasks generate the daily web-fulfillment postings and remove draft postings left behind by an interrupted save. Both tasks do nothing unless Posting enabled is on in the accounting configuration.
Available Tasks
| Task | Description | Type |
|---|---|---|
| Web Fulfillment Posting | Post the previous day's web and click & collect payment transactions for every store | Delta |
| Orphaned Posting Cleanup | Remove draft postings that were never completed | Delta |
Overview
POS postings are built when a register's Z-report is closed and need no scheduled task. Web-fulfillment postings are built by a scheduled task:
- Posting - Web Fulfillment Posting books the previous accounting day when it runs at or after the cutoff hour
- Cleanup - Orphaned Posting Cleanup removes drafts left by an interrupted save
Configuration Requirements
Both tasks read the tenant's accounting settings:
accountingSettings.postingEnabled- Must be on for either task to do anythingaccountingSettings.webFulfillmentPostingEnabled- Must also be on for Web Fulfillment PostingaccountingSettings.webFulfillmentPostingCutoffHour- Hour from which the previous day is postedaccountingSettings.draftOrphanTimeoutMinutes- Age at which a draft posting is removed
Recommended Schedules
| Task Type | Recommended Schedule | Reason |
|---|---|---|
| Posting tasks | 0 * * * * (every hour) | Posts on the first run at or after the cutoff hour; later runs pick up late transactions |
| Cleanup tasks | 0 * * * * (every hour) | Drafts are rare and cleanup is lightweight |