Store x SKU
On hand, transfers already on the way (inbound), the maintained minimum, the reorder quantity, the ABC rank and the DC's available stock.
stock now = on hand + inboundA decision engine turns a forecast and a store's minimums into a pick list the warehouse can work today. This page takes the rules of the Cybex DC to store distribution engine and runs them, in your browser, on one invented store: S-114 Driftwood Quay, 40 SKUs, served by DC-2 West DC. The default run is Mon 17 May, MinOnHand or N weeks (4 weeks). The sister app, the direct-to-store purchase order workbench, uses the same forecast to suggest vendor POs.
Each day the engine looks at every store x SKU the DC stocks, works out what the store will be short of when the next delivery lands, ranks those needs and picks what the DC can ship. These are the rules of the Cybex engine; the data on this page is invented.
On hand, transfers already on the way (inbound), the maintained minimum, the reorder quantity, the ABC rank and the DC's available stock.
stock now = on hand + inboundThe chain's de-seasonalised weekly rate for the style-colour, split to the store by its share (re-balanced over the stores that receive) and to the size by its size index (the size's share).
day = chain rate x share x size ix x season ix x weekday ixTransit is counted in business days, Monday to Friday, from the serving DC to the store. A Friday pick with one day in transit lands on Monday.
arrival = pick date + business days in transitThe store's cover days for the weekday the delivery arrives (0 = no delivery that day), and at least until the next delivery.
window = max(cover[arrival day], days to next delivery)Stock now (a negative on hand counts as zero) less the forecast from the pick date to the arrival, floored at zero.
at arrival = max(0, on hand + inbound - forecast to arrival)Stockout risk = 1 / (stock at arrival / daily forecast + 1), or (min - stock + 1) / (min + 1) on a minimum line. ABC: A 1.0, B 0.6, C and none 0.3. Revenue is scaled to the run's largest.
0.40 risk + 0.25 ABC + 0.20 revenue + 0.15 size ixHighest priority first (ties by store, then SKU). Each pick is the smallest of the need, the DC's stock left, the store's limits left and the DC's pick capacity left. The rest is held, with the limit that held it.
pick = min(need, DC stock, store limits, DC capacity)Picks are written as open distribution lines (DC, store, SKU, units). The warehouse picks them, prints the pick list by store and ships them as transfers; holds are logged with how many runs they have waited.
queue line = DC x store x SKU x units| Method | Need for a position | What it is for |
|---|---|---|
| Minimum and forecast | max(window forecast, minimum) - stock at arrival | The default. With short windows (two or three days) the minimum decides most lines. A position needs a forecast to be considered. |
| MinOnHand | if on hand + inbound <= minimum: minimum + reorder - (on hand + inbound) | The stores' Stock Requirement rule, the old minimum/maximum list. No forecast, no store POs; a negative on hand asks for more. |
| MinOnHand or N weeks | max(MinOnHand fill, N weeks of forecast from arrival - stock at arrival) | The old list plus the positions that sell beyond it: items with no minimum, and minimums too low for the season. N defaults to 4. |
| Forecast only | window forecast - stock at arrival | Minimums ignored. Useful to see how much of a run the minimums drive. |
Needs are whole units: a fraction of 0.5 or more rounds up. A need the DC does not stock at all makes no line and is counted as not stocked.
The store takes deliveries that arrive on Tuesday (2 days of cover) and Friday (3 days). Choose a pick day and the days in transit; the engine works out the arrival and the window, or skips the store.
Switch the method and the limits; every number below is recomputed by the same rules. The store has a giftware limit of 180 units a delivery; the DC's capacity is what it can still pick for this store today.
Min/Reo = maintained minimum / reorder quantity. Weekly = the store's weekly forecast for the SKU before the seasonal index. Min part = the units the minimum alone asks for.
| # | SKU | On hand | Inbound | Min/Reo | Weekly | At arrival | Min part | Need | Priority | Picked | Held · reason |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | CP010-NVY-OSCap, Navy | 4 | 0 | 4/4 | 7.0 | 3.2 | 4 | 32 | 0.662 | 3 | 29 · DC stock |
| 2 | MG020-NVY-OSMug 12 oz, Navy | 5 | 0 | 6/6 | 9.0 | 4.0 | 7 | 41 | 0.633 | 4 | 37 · DC stock |
| 3 | OR080-GLS-OSOrnament, Glass | -1 | 0 | 2/2 | 0.0 | -1.0 | 5 | 5 | 0.625 | 5 | |
| 4 | HD210-NVY-MHarbour hoodie, Navy | 2 | 0 | 3/3 | 3.8 | 1.6 | 4 | 17 | 0.619 | 3 | 14 · DC stock |
| 5 | MA030-LTH-OSMagnet, Lighthouse | 12 | 0 | 10/10 | 20.0 | 9.7 | 0 | 90 | 0.606 | 8 | 82 · DC stock |
| 6 | HD210-NVY-LHarbour hoodie, Navy | 3 | 0 | 3/3 | 3.8 | 2.6 | 3 | 16 | 0.582 | 5 | 11 · DC stock |
| 7 | TS330-SND-LScript tee, Sand | 0 | 0 | 0/0 | 1.9 | 0.0 | 0 | 9 | 0.572 | 9 | |
| 8 | TS105-WHT-LLighthouse tee, White | 3 | 0 | 4/4 | 5.1 | 2.4 | 5 | 23 | 0.530 | 4 | 19 · DC stock |
| 9 | HD210-NVY-XLHarbour hoodie, Navy | 1 | 0 | 2/2 | 2.1 | 0.8 | 3 | 10 | 0.524 | 10 | |
| 10 | HD210-GRY-LHarbour hoodie, Grey | 2 | 0 | 3/3 | 2.6 | 1.7 | 4 | 11 | 0.517 | 11 | |
| 11 | KC040-ANC-OSKeychain, Anchor | 6 | 0 | 6/6 | 11.0 | 4.7 | 6 | 50 | 0.489 | 4 | 46 · DC stock |
| 12 | TS105-WHT-MLighthouse tee, White | 6 | 0 | 4/4 | 5.1 | 5.4 | 0 | 20 | 0.477 | 20 | |
| 13 | HD210-GRY-MHarbour hoodie, Grey | 4 | 0 | 3/3 | 2.6 | 3.7 | 0 | 9 | 0.476 | 4 | 5 · DC stock |
| 14 | HD210-NVY-SHarbour hoodie, Navy | 2 | 0 | 2/2 | 2.1 | 1.8 | 2 | 9 | 0.461 | 9 | |
| 15 | MG021-STL-OSTravel mug, Steel | 3 | 0 | 3/3 | 3.7 | 2.6 | 3 | 16 | 0.453 | 16 | |
| 16 | TB060-NAT-OSTote bag, Natural | 4 | 0 | 3/3 | 4.5 | 3.5 | 0 | 19 | 0.441 | 19 | |
| 17 | TS105-WHT-SLighthouse tee, White | 2 | 0 | 3/3 | 2.9 | 1.7 | 4 | 13 | 0.440 | 13 | |
| 18 | TS105-WHT-XLLighthouse tee, White | 4 | 0 | 3/3 | 2.9 | 3.7 | 0 | 11 | 0.395 | 4 | 7 · DC stock |
| 19 | HD210-GRY-SHarbour hoodie, Grey | 3 | 0 | 2/2 | 1.4 | 2.8 | 0 | 4 | 0.386 | 4 | |
| 20 | HD210-GRY-XLHarbour hoodie, Grey | 3 | 0 | 2/2 | 1.4 | 2.8 | 0 | 4 | 0.386 | 4 | |
| 21 | JK520-RED-MRain shell, Red | 1 | 0 | 1/1 | 1.1 | 0.9 | 1 | 5 | 0.354 | 5 | |
| 22 | PC050-MIX-OSPostcard pack, Mixed | 3 | 0 | 0/0 | 4.2 | 2.5 | 0 | 18 | 0.347 | 18 | |
| 23 | FL400-FST-SFleece crew, Forest | 2 | 0 | 2/2 | 0.7 | 2.0 | 2 | 2 | 0.342 | 2 | |
| 24 | FL400-FST-LFleece crew, Forest | 1 | 0 | 2/2 | 1.2 | 0.9 | 3 | 5 | 0.335 | 5 | |
| 25 | WB070-BLU-OSWater bottle, Blue | 2 | 0 | 2/2 | 2.1 | 1.8 | 2 | 9 | 0.332 | 9 | |
| 26 | CP010-KHK-OSCap, Khaki | 3 | 0 | 2/2 | 2.1 | 2.8 | 0 | 8 | 0.317 | 8 | |
| 27 | TS105-NVY-LLighthouse tee, Navy | 5 | 0 | 3/3 | 2.9 | 4.7 | 0 | 10 | 0.308 | 10 | |
| 28 | TS105-NVY-MLighthouse tee, Navy | 3 | 2 | 3/3 | 2.9 | 4.7 | 0 | 10 | 0.308 | 10 | |
| 29 | TS330-SND-MScript tee, Sand | 1 | 0 | 0/0 | 1.9 | 0.8 | 0 | 9 | 0.291 | 9 | |
| 30 | FL400-FST-MFleece crew, Forest | 3 | 0 | 2/2 | 1.2 | 2.9 | 0 | 3 | 0.283 | 3 | |
| 31 | TS105-NVY-SLighthouse tee, Navy | 2 | 0 | 2/2 | 1.7 | 1.8 | 2 | 6 | 0.272 | 6 | |
| 32 | TS105-NVY-XLLighthouse tee, Navy | 2 | 0 | 2/2 | 1.7 | 1.8 | 2 | 6 | 0.272 | 6 | |
| 33 | TQ015-RED-OSToque, Red | 3 | 0 | 2/2 | 1.0 | 2.9 | 0 | 2 | 0.266 | 0 | 2 · DC pick capacity |
| 34 | JK520-RED-SRain shell, Red | 1 | 0 | 1/1 | 0.6 | 0.9 | 1 | 2 | 0.266 | 0 | 2 · DC pick capacity |
| 35 | JK520-RED-XLRain shell, Red | 1 | 0 | 1/1 | 0.6 | 0.9 | 1 | 2 | 0.266 | 0 | 2 · DC pick capacity |
| 36 | FL400-FST-XLFleece crew, Forest | 2 | 0 | 1/1 | 0.7 | 1.9 | 0 | 1 | 0.233 | 0 | 1 · DC pick capacity |
| 37 | TS330-SND-SScript tee, Sand | 1 | 0 | 0/0 | 1.0 | 0.9 | 0 | 4 | 0.200 | 0 | 4 · DC pick capacity |
| 38 | TS330-SND-XLScript tee, Sand | 2 | 0 | 0/0 | 1.0 | 1.9 | 0 | 3 | 0.166 | 0 | 3 · DC pick capacity |
Daily demand is drawn around the forecast, 3,000 times per SKU, with a fixed seed. Day 0 is the pick day; the delivery arrives on day 1 (Tue 18 May) and there is no other delivery in the 7 days, so each scenario is judged on this run alone.
| Poisson (variance = mean) | Negative binomial (variance = 2 x mean) | ||||||
|---|---|---|---|---|---|---|---|
| Scenario | Units shipped | Expected stockout SKUs | 90% range | Lost units | Expected stockout SKUs | 90% range | Lost units |
| No delivery | 0 | 16.8 | 13 to 21 | 59.0 | 15.7 | 12 to 20 | 64.2 |
| MinOnHand (old list) | 56 | 9.9 | 6 to 14 | 34.1 | 10.3 | 7 to 14 | 41.3 |
| MinOnHand or 4 weeks | 250 | 4.4 | 2 to 7 | 15.0 | 4.6 | 2 to 7 | 18.7 |
At these settings 2 SKUs get fewer units than the old list would send (JK520-RED-S, JK520-RED-XL): the N-week run spends the DC capacity and stock on higher-priority lines first, so these low-priority minimum lines are held and their risk goes up. Raise the capacity to see it go away.
Before an engine replaces a store's minimum/maximum list, it must first reproduce it. Run MinOnHand on the same day's stock, compare every line, and explain every difference. Only then compare the new method with it.
| SKU | Old list | Engine need | Picked | Difference |
|---|---|---|---|---|
| HD210-NVY-M | 4 | 4 | 3 | Short: DC stock |
| TS105-WHT-L | 5 | 5 | 4 | Short: DC stock |
| CP010-NVY-OS | 4 | 4 | 3 | Short: DC stock |
| MG020-NVY-OS | 7 | 7 | 4 | Short: DC stock |
| KC040-ANC-OS | 6 | 6 | 4 | Short: DC stock |
Counted on need (before the DC and capacity limits), against the MinOnHand run at the same settings. The seasonal index is rising, so a minimum set for an average week is too low in this one.
This is a pattern, not a client result: no names and no real numbers. On this page's invented store the same checks give: MinOnHand matches the old list on 15 of 20 lines, and the 5 others are short only because the DC is short; the 4-week method adds 5 lines with no minimum, 13 lines whose stock sits above a minimum that is too low for the season, and raises 18 minimum lines; expected stockout SKUs fall to 45% / 44% of the old list and lost units to 44% / 45% (Poisson / negative binomial).
Some goods (here giftware) ship from the vendor straight to the stores. The workbench uses the same forecast: chain rate x store share x seasonal index, from the order date to the delivery and over the cover after it, with base stock (the reorder point) as trigger and floor, then groups the lines into one PO per vendor x store x delivery and checks the vendor minimum.
2 of 4 store POs ready, 273 units, $910 at cost; 0 held and 1 for review.
| Store | Delivery | Lines | Units | At cost | Status |
|---|---|---|---|---|---|
| S-114 Driftwood Quay | Mon 24 May | 3 | 150 | $505 | ReadyVendor minimum met |
| S-121 Pinecrest Landing | Mon 31 May | 0 | 0 | $0 | No orderNothing triggered |
| S-133 Gullhaven | Mon 31 May | 3 | 123 | $405 | ReadyVendor minimum met |
| S-140 Ridgeback Station | Mon 7 Jun | 3 | 93 | $294 | Review$56 below the $350 minimum; an item sells out before delivery |
Ready: the vendor minimum is met. Held: below it, wait and combine. Review: below it, but an item sells out before the delivery, so waiting guarantees a stockout.
| Store | Style-colour | Weekly | On hand | Base | Sold to delivery | At delivery | Cover fcst | Order | Status |
|---|---|---|---|---|---|---|---|---|---|
| S-1141 wk delivery | Mug 12 oz, Navy | 6.6 | 10 | 8 | 7.0 | 3.0 | 35.8 | 33 | Order |
| S-1141 wk delivery | Mug 12 oz, White | 4.0 | 9 | 6 | 4.3 | 4.7 | 21.7 | 17 | Order |
| S-1141 wk delivery | Magnet, Lighthouse | 20.0 | 30 | 20 | 21.3 | 8.7 | 108.6 | 100 | Order |
| S-1212 wk delivery | Mug 12 oz, Navy | 5.4 | 30 | 8 | 12.0 | 18.0 | 32.3 | 0 | Above base stock |
| S-1212 wk delivery | Mug 12 oz, White | 3.2 | 22 | 6 | 7.1 | 14.9 | 19.2 | 0 | Above base stock |
| S-1212 wk delivery | Magnet, Lighthouse | 18.0 | 70 | 20 | 40.1 | 29.9 | 107.7 | 0 | Above base stock |
| S-1332 wk delivery | Mug 12 oz, Navy | 4.2 | 4 | 8 | 9.4 | 0.0 | 25.1 | 25 | Ordersells out Sun 23 May |
| S-1332 wk delivery | Mug 12 oz, White | 2.4 | 6 | 6 | 5.3 | 0.7 | 14.4 | 14 | Order |
| S-1332 wk delivery | Magnet, Lighthouse | 14.0 | 20 | 16 | 31.2 | 0.0 | 83.8 | 84 | Ordersells out Wed 26 May |
| S-1403 wk delivery | Mug 12 oz, Navy | 2.4 | 3 | 6 | 8.4 | 0.0 | 15.8 | 16 | Ordersells out Tue 25 May |
| S-1403 wk delivery | Mug 12 oz, White | 1.6 | 5 | 6 | 5.6 | 0.0 | 10.5 | 11 | Ordersells out Sat 5 Jun |
| S-1403 wk delivery | Magnet, Lighthouse | 10.0 | 12 | 16 | 35.0 | 0.0 | 65.8 | 66 | Ordersells out Mon 24 May |
In Cybex the store/DC distribution app and its simulator share one engine; the direct-to-store PO workbench uses the same forecast, size and site indexes and ABC ranking; the results land on BI insight pages.
An engine earns trust by matching the old list first; every difference must have a reason before the method changes.
Need, priority and selection are short formulas. A store manager can follow any line from on hand to pick.
More weeks of forecast ship more units. The Monte Carlo shows what they buy in fewer stockouts, by SKU.
A hold names the limit: DC stock means buy or move stock, capacity means staff the DC, a store limit means space.