The Purchase Recommendation System (PRS) converts raw inventory data into actionable purchase orders through a fully transparent, explainable pipeline.
| SKU | Stock Keeping Unit — unique product identifier |
| MRP | Maximum Retail Price — base price before discount |
| μ (Mean) | Weighted average weekly demand |
| σ (Sigma) | Weighted standard deviation of weekly demand |
| CV | Coefficient of Variation = σ / μ. Measures demand volatility. |
| SS | Safety Stock — buffer against demand uncertainty |
| Min Stock | Minimum desired inventory level = μ×H + SS |
| Max Stock | Maximum desired inventory = Min + μ×H |
| H | Planning horizon in weeks |
| z | Service level Z-score (95% → z=1.65) |
| WMA | Weighted Moving Average (weights: 50%, 30%, 20%) |
| Prophet | Facebook's time-series forecasting model (requires ≥12 weeks) |
| MAPE | Mean Absolute Percentage Error — forecast accuracy metric |
| RecQty(ExclPO) | Recommended quantity excluding open POs |
| RecQty(InclPO) | Recommended quantity after subtracting open POs |
| FinalQty | Final order quantity (may be overridden or budget-adjusted) |
| Type-1 Vendor | General supplier — eligible for all SKUs |
| Type-2 Vendor | Specialty supplier — eligible only for covered SKUs, ranked first |
| Alpha (α) | Weight for availability in vendor scoring (1=availability only, 0=price only) |
| Parameter | Default | Description |
|---|---|---|
| Forecast Mode | Auto | Auto picks best model by MAPE; WMA/Prophet/Hybrid also available |
| Horizon Weeks | 4 | How many weeks to plan ahead (H) |
| Service Level | 95% | Stock availability target; determines z-score for safety stock |
| Alpha | 0.8 | Vendor scoring weight for availability vs price |
| Z-Threshold | 3.0 | Anomaly detection sensitivity — higher means fewer anomalies |
| CV Stable | < 0.5 | Below this CV = Stable demand |
| CV Variable | < 1.0 | Below this CV = Variable demand (otherwise Erratic) |
| Trend Threshold | 30% | Recent vs historical change % to trigger trend flag |
| Demand Adjustment | Off | Multiplies Safety Stock by (1 + adj%) |
| Budget | None | Total order budget cap |
| Budget Mode | Full | Full=drop SKUs; Partial=reduce quantities round-robin |
| Flag | Badge Color | Meaning | Action |
|---|---|---|---|
| Unfulfilled | Red | SKU has open customer orders that weren't fulfilled | Prioritize for immediate purchase |
| LowHistory | Yellow | Insufficient historical data for reliable forecast | Verify manually; consider override |
| Anomaly | Blue | One or more weeks had statistical sales anomalies | Review whether spike is real demand |
| NewSKU | Grey | SKU found in stock/orders but not in ItemMaster | Add to ItemMaster for next run |
| NoDiscount | Black | No discount data for the top-ranked vendor | Check vendor discount sheet |
| NoData | Light | No sales history at all — forecast unavailable | Gather demand data; use override |
| Trend ↑ | Red arrow | Recent 3-week average is ≥30% above historical average | Safety stock boosted 10% automatically |
| Trend ↓ | Blue arrow | Recent 3-week average is ≥30% below historical average | Safety stock reduced 10% automatically |
| A | Top 80% of annual sales value | Critical |
| B | Next 15% of annual sales value | Important |
| C | Bottom 5% of annual sales value | Routine |
| Fast | Mean weekly ≥ 10 units |
| Medium | Mean weekly 3–9 units |
| Slow | Mean weekly < 3 units |
| Priority | ABC+FMS combinations | Meaning |
|---|---|---|
| P1-Critical | A+Fast, A+Medium | Never stock out — monitor daily |
| P2-High | A+Slow, B+Fast | High attention — weekly review |
| P3-Medium | B+Medium, B+Slow, C+Fast | Standard replenishment cycle |
| P4-Low | C+Medium, C+Slow | Minimal safety stock; consider dropship |