InventorySetScheduledChanges
Set up scheduled changes of inventory items.
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.
- InventorySetScheduledItems references the InventorySetScheduledItems temporary table.
InventorySetScheduledItems Temporary Table Columns
| Column Name | Type | Description |
| InventoryItemId | String | Specifies the inventory item to which the change will be applied. |
| InventoryLevelLocationId | String | The ID of the location. |
| LedgerDocumentUri | String | A freeform URI that represents what changed the inventory quantities. |
| InventorySetScheduledItemChanges (references InventorySetScheduledItemChanges) | String | An array of all the scheduled changes for the item. |
InventorySetScheduledItemChanges Temporary Table Columns
| Column Name | Type | Description |
| FromName | String | The quantity name to transition from. |
| ToName | String | The quantity name to transition to. |
| ExpectedAt | Datetime | The date and time that the scheduled change is expected to happen. |
Input
| Name | Type | Description |
| Reason | String | The reason for setting up the scheduled changes.
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 freeform URI that represents why the inventory change happened. |
| InventorySetScheduledItems | String | The list of all the items on which the scheduled changes need to be applied. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |
| ScheduledChanges | String | The scheduled changes that were created. |