ProductionOrderReverseAllocateAction
Releases all inventory previously reserved for every line of a production order, removes its pick-list and returns the order to an unallocated state, then returns the resulting production status. Use it when a user or agent wants to undo or cancel the allocation of a production (manufacturing) order so the reserved components go back to available stock. It does not cancel, delete or un-approve the order itself, does not pick or ship, and an order that was never allocated or is in a status that cannot be reverse allocated cannot be processed. It accepts one or more production orders and processes them in bulk, so pass every order you want reverse allocated in a single call. Input per order: the production order ID. Output per order: whether it succeeded, the resulting production status (typically Open or Revised) and any error message.
| Property | Value |
| Label | Fully Reverse 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 | reverse, unallocate, deallocate, release, 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 reverse allocate. This is the manufacturing order whose reserved BOM component inventory will be released back to available stock. It must be a valid ID of an existing 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 reverse allocated in one call. | No |
isSuccess | Boolean | Successful Action | It is set to True when the reverse allocation ran without errors for this order. It is set to False when it failed (for example, the order was never allocated, is in a status that cannot be reverse allocated, the ID is invalid, or another business rule blocked it). Inspect production status to confirm the order returned to an unallocated state. | No |
productionStatus | String | Production Status | The order's resulting production status after the attempt. After a successful reverse allocation this is typically "Open" (or "Revised" when the order had been approved). It is empty when the production order could not be found. | No |
message | String | Message | Error message explaining why the reverse allocation did not complete for this order. It is empty if the action is successful. Surface this text to the user to explain what to fix (for example an order that was never allocated). | No |
|