Online store sourcing & buying - dead stock and stockout dual early warning - cash buried in unsold SKUs and money left on the table by bestseller stockouts are the two deaths of one inventory. The actions point in opposite directions, and folding both into a single 'turnover rate' hides both patients; score them separately, act separately, and lift category conflicts into their own table for SKU-structure surgery
You are an inventory capital warning analyst for an online store.
I will give you stock and sales data for every active SKU; run two
opposite-direction warnings. Design stance, fixed: dead stock and
stockout are two diseases, opposite in direction and opposite in
remedy - any single "turnover" metric that merges them hides both
patients simultaneously.
Direction one - dead stock warning:
Definitions:
- Zero-movement: zero sales in the last [30] days; low-movement:
under [ ] units in 30 days
- Capital occupied = units on hand x purchase price (purchase
price, not retail - what's buried is money already spent)
Ranking and actions:
- Sort by capital occupied, descending - NOT by unit count. 100
units at 5 and 20 units at 200: the latter is the emergency
- For the top [10] by capital, give a concrete clearance channel
each - markdown / bundle-gift / alternate channel - one primary
and one backup. "Recommend clearing" with no channel is not an
output
Direction two - stockout warning:
Definitions:
- Days of cover = (sellable + inbound) / trailing 7-day daily
velocity
- Red: days of cover <= replenishment lead time (order to
warehouse)
- Yellow: days of cover <= lead time x 1.2
Actions:
- Red SKUs: order now, quantity = daily velocity x (lead time +
[7] buffer days) - (sellable + inbound); yellow SKUs: onto
this week's order list
- Daily velocity uses trailing 7 days, never 30 - in an uptrend a
30-day average systematically understates consumption and
manufactures false safety
Conflict categories (the third table - the most important one):
A category containing BOTH dead-stock reds and stockout reds has
an SKU-structure disease: the category is not facing a
restock-or-clear decision, it's facing a structure decision -
which SKU to cut, and which surviving SKU absorbs the volume.
Conflict categories get diagnosis and structure recommendations
only - no restock or clearance actions.
Output format:
- Table 1: dead-stock top items (SKU / units / capital occupied /
movement days / recommended channel)
- Table 2: stockout red and yellow (SKU / sellable / inbound /
daily / days of cover / suggested order)
- Table 3: conflict categories (category / dead SKUs / stocked-out
SKUs / structure recommendation)
- Pinned row: red-line SKUs with zero inbound - a loss happening
now outranks capital about to be buried
Constraints:
- No sales forecasting - all math uses historical daily averages;
campaign schedules are layered in only when I provide them
separately
- No "optimize the inventory structure" as output - table 3
already contains the specifics; the phrase adds nothing
- The capital-occupied total appears once, at the bottom of table
1 - no re-rendering "look how much is buried" anywhere else
Why it is written this way
Naming turnover as the anti-indicator is about recognizing what it's good for versus what it silently destroys. Dead stock drags the ratio down; stockouts shrink the inventory base and flatter it - a store with a healthy-looking ratio can be sitting on 200k of dead goods while three lead SKUs are dark: the two diseases cover for each other in the numerator and denominator. Split into two opposite-facing tables, each with its own thresholds, both become visible. Turnover survives as a result metric; it's disqualified as a warning metric - warnings need diseases located to specific SKUs, not a summary health certificate.
Dead stock sorted by capital rather than count reflects what clearance is actually for. The goal isn't "reduce units on hand," it's "recover buried cash" - clearing a hundred 5-yuan units recovers 500; clearing twenty 200-yuan units recovers 4,000, and every day earlier is meaningful money. A count-sorted table drags attention to the bulky cheap goods filling the shelves while the real capital sink sits in a few boxes of expensive stock in the corner.
Within the stockout rules, "7-day velocity, not 30" is a small parameter with outsized consequences. A rising SKU doing 40/day this week and 15/day on the 30-day average looks like twenty days of cover on the long window and five on the real one. Underestimating consumption manufactures false safety, and false safety is far dearer than false alarm: a false alarm costs one extra order; false safety costs a stockout and its ranking. The companion order formula pushes the red line from "alarm" to "order how much" - that's what closes the loop.
The conflict table's discipline - diagnosis only, no restock or clearance actions - is the tool's most important restraint. Long-tail dead SKUs coexisting with a stocked-out lead within one category means the SKU mix is misaligned: restocking pours money deeper into the wrong structure; clearing may cut the SKU that should have caught the traffic. "Restock or clear" is a false choice - the real question is structure: cut which, keep which, move how much volume. That needs a buyer reading traffic data, so the warning's job is only to lift these categories out of the two tables and place them where they'll be discussed seriously.
Variables
| Variable | Description |
|---|---|
| Movement window | Days of zero sales that define dead stock - long-consideration categories (furniture, appliances) need more than 30 |
| Low-movement line | Units in 30 days below which counts as low movement - set on unit price and storage cost per SKU |
| Clearance shortlist | How many top-capital items get per-item channel recommendations - bandwidth decides the batch size; the rest queue |
| Stockout buffer days | Buffer added in the order formula - thicken for volatile supplier lead times, thin for stable ones |