RetailTransactionServiceInventory::inventoryLookup Method [AX 2012]
Initializes the InventDim fields with the values of the InventDimCombination fields. This method checks for the available physical inventory.
Syntax
client server public static container inventoryLookup(ItemId _itemId, [RetailVariantId _variantId])
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.
Return Value
Type: container
The status as a container.
Exceptions
Exception | Condition |
---|---|
Error | An error is thrown if the method does not initialize the values and check for the available physical inventory. |