RetailTransactionServiceAX61::inventoryStatus Method [AX 2012]
Method is used for initializing the fields of InventDim with the values of InventDimCombination fields. Method checks for the available physical inventory.
Syntax
client server public static container inventoryStatus(ItemId _itemId, [RetailVariantId _variantId])
Run On
Called
Parameters
- _itemId
Type: ItemId Extended Data Type
ItemId
- _variantId
Type: RetailVariantId Extended Data Type
ID of the inventDimCombination.RetailVariantId field.
Return Value
Type: container
The status as a container.
Exceptions
Exception | Condition |
---|---|
Error | Throws error if fail to initialize the values and on check for the available physical inventory. |