RetailTransactionServiceInventory::InventoryLookupOnDate_BR Method [AX 2012]
Initializes the InventDim fields with the values of the InventDimCombination fields. This method checks for the on-hand inventory on a specific date.
Syntax
client server public static container InventoryLookupOnDate_BR(
ItemId _itemId,
RetailVariantId _variantId,
TransDate _transDate)
Run On
Called
Parameters
- _itemId
Type: ItemId Extended Data Type
The item ID.
- _variantId
Type: RetailVariantId Extended Data Type
The ID of the inventDimCombination.RetailVariantId field.
- _transDate
Type: TransDate Extended Data Type
A string that represents the date for the status of the inventory.
Return Value
Type: container
The status as a container.
Exceptions
Exception | Condition |
---|---|
Error | An error is thrown if this method does not initialize the values and check for the available physical inventory. |