ProductionOrderAllocateAction
Reserves available on-hand inventory for every component in the Bill of Materials (BOM) of a production order's manufactured item, in the quantity required by the order quantity and the BOM definition, then creates the pick-list and returns the resulting production status. Use it when a user or agent wants to reserve or commit stock for a production (manufacturing) order so it can be picked and built. It does not approve, pick, ship, complete, purchase or transfer stock, and a canceled or already-allocating order cannot be allocated. It accepts one or more production orders and processes them in bulk, so pass every order you want allocated in a single call. Input per order: the production order ID. Output per order: whether it succeeded, the resulting production status (Allocated / Partially Allocated / Back Orders Exist) and any error message.
| Property | Value |
| Label | Fully Allocate a Production Order |
| Category | Order and Inventory Management |
| Since | Summer 2026 |
| Read-only | No |
| Supports Agents | Yes |
| Supports Flows | Yes |
| Async Action | No |
| Keywords | allocate, reserve, commit, bom, components, production order, manufacturing |
Request Parameters
| Field | Type | Label | Description | Required |
productionOrderId | Id | Production Order ID | The Salesforce record ID of the production order (Production_Order__c) to fully allocate. This is the manufacturing order whose manufactured or kit item will have its BOM component inventory reserved. It must be a valid ID of an existing, non-canceled production order. This is mandatory. | Yes |
Response Parameters
| Field | Type | Label | Description | Required |
productionOrderId | Id | Production Order ID | The ID of the production order that was processed. It echoes the requested ID, so each result can be matched back to its request when several orders are allocated in one call. | No |
isSuccess | Boolean | Successful Action | Set to True when the allocation ran without errors for this order. Set to False when it failed (for example the order is canceled, is already being allocated, the ID is invalid, or another business rule blocked it). Success is not the same as full allocation: inspect production status to know whether every component was actually reserved. | No |
productionStatus | String | Production Status | The order's resulting production status after the attempt. "Allocated" means that all components fully reserved; "Partially Allocated" means that only part of the demand could be reserved; "Back Orders Exist" means that one or more components are out of stock; may also be "Open" or "Revised". It is empty when the production order could not be found. | No |
message | String | Message | Error message explaining why the allocation did not complete for this order. It is empty when the action is successful. Surface this text to the user to explain what to fix (for example, an order that is canceled or already being allocated). | No |
|