detect_dead_slow_stock
Identify dead and slow-moving stock by demand thresholds and calculate tied-up inventory value to prioritise clearance or write-off decisions.
Instructions
Identify dead stock (zero demand in the period) and slow-moving stock (demand < slowFactor × average) with their tied-up inventory value. Helps prioritise clearance or write-off decisions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deadDays | No | Analysis window in days (default 180) | |
| slowFactor | No | Fraction of average demand below which an item is 'slow' (default 0.2 = 20%) |