InventCostAmountHandler.addAmount Method [AX 2012]
Adds a given amount to an amount of a specified amount type.
Syntax
public void addAmount(AmountMST _amount, InventCostAmountType _inventCostAmountType)
Run On
Called
Parameters
- _amount
Type: AmountMST Extended Data Type
- _inventCostAmountType
Type: InventCostAmountType Enumeration
Exceptions
Exception | Condition |
---|---|
Error | The amount type is unknown. |
Error | The amount type is unknown. |
Remarks
An unknown amount type causes an exception.