company_open_to_buy
Build an open-to-buy list for a window: per-SKU order quantities at landed cost, priority by contribution, and funding within the cash envelope.
Instructions
Build the sealed open-to-buy list for the window: per SKU the demand over the lead time plus the target cover from the portfolio's velocity, the units to order at the landed cost, the priority by contribution per unit, and what is funded inside the cash envelope's one-time capacity (the supplied one or the latest projected treasury period's) capped by the plan's maximum spend; run-down, discontinue, and unmeasured SKUs are never bought (payload: optional window_start, window_end, previous_window_start, budget_envelope).
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 |