InventCostAmountHandler.getAmount Method [AX 2012]
Retrieves an amount for the given amount type.
Syntax
public AmountMST getAmount(InventCostAmountType _inventCostAmountType)
Run On
Called
Parameters
- _inventCostAmountType
Type: InventCostAmountType Enumeration
Return Value
Type: AmountMST Extended Data Type
An amount for the given amount type.
Exceptions
Exception | Condition |
---|---|
Error | The amount type is unknown. |
Error | The amount type is unknown. |
Remarks
An unknown amount type causes an exception.