InventCostPost.inventCostVarianceType2InventAccountType Method [AX 2012]
Converts a variance type to an inventory account type.
Syntax
protected InventAccountType inventCostVarianceType2InventAccountType(InventCostVarianceType _varianceType)
Run On
Called
Parameters
- _varianceType
Type: InventCostVarianceType Enumeration
The variance type.
Return Value
Type: InventAccountType Enumeration
An inventory account type.
Exceptions
Exception | Condition |
---|---|
Error | The variance type cannot be converted to an inventory account type. |