Purchasing: decision brief (2026-10-08)¶
Product guidance from Ace for the Purchasing rethink. It states the job the screen must do, what fails today, the rules Ace decided, and how we will know it works. Karl owns the design and the build. This document does not prescribe layout or implementation.
Companion: the original design package in PO System still holds the PO lifecycle (draft, approval, send, production, on the water, receiving, closed), supplier grouping and staged lead times. Those stay.
The job¶
Purchasing helps the owner decide, one line at a time, whether to order the proposed quantity now, change it, or skip it. The supplier PO is the sum of the lines kept after that review. Today the screen lets the owner assemble and approve, and nothing on the line helps him judge the number.
What fails today¶
Verified on production on Oct 8, signed in as the product-review account, on /purchasing-v2 and the Xin Kui supplier page.
- No evidence at the decision point. A supplier line shows suggested, quantity, case, MOQ, unit cost, cost and Adjust / Reprice / Remove. No history, no stock, no run-out date, no arrival date against demand, no stock level, no month-to-date pace. Judging a line means leaving for Forecast and coming back.
- Purchasing and Forecast disagree. For Blue Suspenders (10264) the Forecast drawer says Blocked: inventory, open PO lines and counted supply do not reconcile, do not order from this forecast. The Purchasing draft PO lists the same product as an ordinary line ready to approve.
- Quantities are sized for demand the order cannot serve. 10264's forecast peak is Oct 15. Air lands Oct 17, ocean Dec 10. The line proposes 6,336 units and says nothing about timing.
- The overview lists every line twice (supplier batches, then a ranked queue) with units only, and Policies, Vendors, Shipments and Transfers are small grey text links in the header.
- The intro copy is rejected. "Turn forecast demand into explainable proposed quantities. Resolve policy gaps before anything becomes an order." Say what the screen is for in plain words, or say nothing.
- The Forecast drawer sometimes renders "Forecast unavailable" on first load and renders on Retry. Seen once on Oct 8 for 10264.
10264 worked example: facts and the open cause¶
| Item | Value | Source |
|---|---|---|
| Proposed buy | 6,336 units (2,448 regular, lands Dec 10; 3,888 by air, lands Oct 17 or 18) | forecasts.po_recommendations, run 583 |
| Planned demand, Oct 8 to Mar 6 (150 days, Max / P90) | 7,114 units | same |
| On hand and inbound | 862 (FBA 718, inbound 144) | same |
| Arithmetic | 7,114 minus 862 = 6,252, rounded up to 44 cases of 144 = 6,336 | same |
| Rest of October, median (P50) | 2,941 units | forecasts.predictions, run 583 |
| Rest of October, P90 | 6,825 units | same |
| November, P90 | 72 units | same |
| October 2024 actual | 1,085 units | raw.sales_daily |
| October 2025 actual | 524 units | same |
| Oct 1 to 7, 2026 actual | about 60 units; model expects 120 to 220 a day from Oct 8 | same |
| Prior runs 571 and 579 (ensemble), October median | 2,956 and 1,853 | same |
What this proves: the buy arithmetic is right for the demand it was given. The demand is the model's October, about three times the best October on record, and three consecutive runs agree, so the saved stock level is not the cause. There is no learned Halloween lift for this ASIN in raw.product_event_lift (only bts, july4, mothersday, prime_day, prime_fall).
What is not proven: why. The lead to check, in the forecast lane and not in Purchasing, is how the Halloween calendar lift in forecasts/forecast_all_lifecycle.py is scaled on a base level that already carries the September run-up; the engine's own help text warns this double counts. Tracked as seed stickymetrics-550d.
Purchasing's job with a line like this is to make the gap visible and hold the line. It must not fix the model and must not cap a forecast to stock to hide it.
Rules Ace decided (Oct 8)¶
- Per-line decision first. Trust, change, or skip each line with the evidence on the line. The PO is what remains.
- Hold bad lines, show why, allow override. A line whose forecast is far outside its own history, or whose Forecast sanity check is Blocked, stays visible under a Needs review state with a one-sentence reason and does not enter the draft until the owner accepts, changes, or skips it from Purchasing. Never dropped silently, never auto-included.
- Size from arrival onward. When an order cannot land before the demand it covers, the quantity covers demand from the assumed arrival date to the end of the window, minus supply, rounded by the case rule. Demand that passes before arrival is shown on the line as lost sales, not bought. The line shows the arrival date it assumed.
- Compact row plus expand. Row: proposed units and cost, stock and run-out date, lands date, this-month pace versus forecast, same month last year, stock level, hold reason. Expand: the monthly actual versus forecast chart, previous seasons, supply plan and open POs, matching the Forecast drawer for that ASIN with the same numbers.
Must remain¶
- Policies (case pack and lead-time routes), Vendors, Shipments and Transfers as working capabilities, promoted to first-class sections reachable in one click from anywhere in Purchasing.
- One PO per supplier and its stages as built.
- Saved stock levels, and the original model recommendation visible after an owner change.
- Forecast demand and purchasing supply distinguishable everywhere.
- Writes refused from previews and local servers against the live database.
- Readback as the product-review account for verification.
- Owner seasonal choices (for example Blue and Red suspenders excluded from the current PO) are order decisions, not discontinuations and not forecast edits.
Priorities¶
- Line evidence and the Needs review hold. This is how 6,336 reached a draft.
- The timing rule, in the buy engine and on the line.
- Section navigation and copy.
- The drawer first-load flake.
The October demand cause runs in parallel in the forecast lane and is not a Purchasing deliverable.
Acceptance¶
Observable, on production, signed in as the product-review account.
- 10264 shows on Purchasing as Needs review with a reason naming the history gap and the Blocked supply check, and is absent from the Xin Kui draft until acted on.
- Every line past order-by shows its assumed arrival date and lost-sales units; its proposed quantity equals demand from that date to the end of its window minus supply, rounded by its case rule.
- Any line can be accepted, changed, or skipped without leaving Purchasing; expand shows the same monthly chart, previous seasons and supply plan as the Forecast drawer, with matching numbers.
- Policies, Vendors, Shipments and Transfers are one click from the overview and from a supplier page.
- The overview lists each line once.
- Three fresh-session loads of the overview and a supplier page render with no unavailable state.
Open questions for Karl to raise¶
- Do Needs review thresholds (ratio to the same month last year, sanity check Blocked, lands after peak) live in Policies, or are they fixed to start?
- Does the expand reuse the Forecast drawer components or a lighter copy?
- How does a held line interact with Transfers?