Check Stock Every Night
What It Does
The nightly function discovers workspaces with stock, releases expired holds and compares item balances with ledger derivation. It also detects stale allocations, low stock and cost discrepancies. It follows pages while its execution budget allows.
The Flow
When Something Fails
Checks retain findings rather than replacing disagreeing balances. A time-limited run reports incomplete work and restarts from the beginning next time. Stock findings remain separate from order Operations, so there is no shared console queue.