InventorySetScheduledChanges
Schedules future inventory level changes for specified items and locations.
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 provided for creating the scheduled inventory 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 URI reference that identifies the source or context for the inventory change. |
| InventorySetScheduledItems | String | The list of inventory items and locations where the scheduled changes are applied. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation completed successfully. |
| Details | String | Additional details about how the operation was executed. |
| ScheduledChanges | String | The scheduled changes that were created by the operation. |