Share via


InventCostHelp.calcVarianceFromAdjustment Method [AX 2012]

Calculates the production variances for a given production order based on the adjustments of the inventory.

Syntax

protected InventCostTransVarianceList calcVarianceFromAdjustment(
    InventTransOriginId _inventTransOriginId, 
    CostGroupId _costGroupId, 
    InventCostVarianceType _varianceType, 
    DimensionDefault _dimension)

Run On

Called

Parameters

Return Value

Type: InventCostTransVarianceList Class
A inventCostTransVariance list holding the variances.

Remarks

This method will select the inventory settlements to determine the overall adjustment amount. This amount will then be created as a variance, with only the total level, not broken down any more.

See Also

Reference

InventCostHelp Class