InventoryMoveQuantities
Moves available inventory quantities between inventory states or bins within the same location.
Procedure-Specific Information
The following input can accept either a temporary table name or a JSON aggregate that matches the structure of the referenced table as a value.
- InventoryMoveChanges references the InventoryMoveChanges temporary table.
InventoryMoveChanges Temporary Table Columns
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the change will be applied. |
| Quantity | Int | The amount by which the inventory quantity will be changed. |
| FromName | String | The quantity name to be moved. |
| FromInventoryLevelLocationId | String | Specifies the location at which the change will be applied. |
| FromLedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| ToName | String | The quantity name to be moved. |
| ToInventoryLevelLocationId | String | Specifies the location at which the change will be applied. |
| ToLedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
Input
| Name | Type | Description |
| Reason | String | The explanation or purpose for moving inventory quantities, such as correction or restock.
The allowed values are correction, cycle_count_available, damaged, movement_created, movement_updated, movement_received, movement_canceled, other, promotion, quality_control, received, reservation_created, reservation_deleted, reservation_updated, restock, safety_stock, shrinkage. |
| ReferenceDocumentUri | String | A reference URI linking to the document or transaction that initiated the inventory movement, such as an order or adjustment record. |
| InventoryMoveChanges | String | A structured list describing the specific quantity movements for items across source and destination locations. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Indicates whether the inventory movement operation completed successfully without errors. |
| Details | String | Provides additional information or messages summarizing the outcome of the inventory movement process. |
| Id | String | The unique identifier assigned to the group of inventory changes created by this movement operation. |