InventCostHelp.calcVarianceFromAdjustment Method [AX 2012]
Calculates the production variances for a given production order based on the adjustments of the inventory.
protected InventCostTransVarianceList calcVarianceFromAdjustment(
InventTransOriginId _inventTransOriginId,
CostGroupId _costGroupId,
InventCostVarianceType _varianceType,
DimensionDefault _dimension)
Run On
CalledParameters
- _inventTransOriginId
- Type: InventTransOriginId Extended Data Type
- _costGroupId
- Type: CostGroupId Extended Data Type
The cost group ID that should assigned to the variance.
- _varianceType
- Type: InventCostVarianceType Enumeration
The variance type that is assigned to the variance.
- _dimension
- Type: DimensionDefault Extended Data Type
The dimension that is assigned to the variance.
Return Value
Type: InventCostTransVarianceList ClassA inventCostTransVariance list holding the variances.
Community Additions
ADD
Show: