company_supplier_scorecard
Assess supplier performance from stock positions over a specified window, grading each supplier as reliable, watch, replace, or unproven based on delivery, cost, and risk metrics.
Instructions
Build the sealed supplier scorecard over the window from every persisted stock position: per supplier the purchases, fill rate, on-time receipts against the expected date, actual lead time against the policy, price against standard cost, the landed premium (freight and duty), shrinkage and write-downs, single-source exposure, and a grade (reliable, watch, replace, unproven) with the number behind it (payload: optional window_start, window_end).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| now | No | ||
| engine | No | ||
| operation | No | build | |
| entity_ref | No | ||
| project_id | Yes | ||
| bundle_json | Yes | ||
| payload_json | No | {} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |