aggregate_procurement_demand
Consolidate open sales and production orders to calculate net procurement shortfall per item, comparing demand against stock and on-order quantities to identify what to procure.
Instructions
Aggregate open procurement demand across all open Sales Orders and released/planned Production Orders. Groups demand by item, cross-references current stock and on-order quantities, and computes net shortfall per item so you know what needs to be procured.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topN | No | Max items to return, sorted by net shortfall desc (default 100) |