InventCostTransVariance.initInventCostTransVariance Method
Initializes an inventCostTransVariance record.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
public void initInventCostTransVariance(
CostGroupId _costGroupId,
InventCostVarianceType _varianceType,
DimensionDefault _dimension,
[CostAmount _costAmount,
CostAmount _costAmountSecCur])
Microsoft Dynamics AX 2012 R2 (SYS)
public void initInventCostTransVariance(
CostGroupId _costGroupId,
InventCostVarianceType _varianceType,
DimensionDefault _dimension,
[CostAmount _costAmount,
CostAmount _costAmountSecCur])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public void initInventCostTransVariance(
CostGroupId _costGroupId,
InventCostVarianceType _varianceType,
DimensionDefault _dimension,
[CostAmount _costAmount])
Microsoft Dynamics AX 2012 (FPK)
public void initInventCostTransVariance(
CostGroupId _costGroupId,
InventCostVarianceType _varianceType,
DimensionDefault _dimension,
[CostAmount _costAmount])
Microsoft Dynamics AX 2012 (SYS)
public void initInventCostTransVariance(
CostGroupId _costGroupId,
InventCostVarianceType _varianceType,
DimensionDefault _dimension,
[CostAmount _costAmount])
Run On
Called
Parameters
- _costGroupId
Type: CostGroupId Extended Data Type
The cost group ID to which this variance belongs.
- _varianceType
Type: InventCostVarianceType Enumeration
The variance type that should be set.
- _dimension
Type: DimensionDefault Extended Data Type
The dimension that should be set.
- _costAmount
Type: CostAmount Extended Data Type
The cost amount that should be set; optional.
- _costAmountSecCur
Type: CostAmount Extended Data Type
Remarks
If a cost amount is passed in the method, it will be set.