The forecast now tells you not just what to order but when you have to act. Each recommendation row shows the latest date to place the purchase order so stock arrives in time for forecasted demand.
The calculation is straightforward: required receipt date minus the supplier's lead time. The output for each row includes required receipt date, latest PO date, quantity, supplier, lead time used, and the receipt location the recommendation is for.
A few edge cases the system handles explicitly:
- Overdue PO dates are flagged. If the latest PO date has already passed, the row is highlighted so nothing slips through unnoticed.
- Missing supplier or zero lead time doesn't block the row. If no supplier is set and lead time defaults to 0, the PO date is still calculated (it equals the required receipt date). The missing supplier and the lead-time gap are surfaced visually — the row is included, not silently dropped.
- Changing the purchase/receipt location recalculates the recommendation context, including the PO date, for the new location's lead-time and demand picture.