Share via


InventCostCreateVarianceList.addEstCostToVarianceList Method [AX 2012]

Creates variances based on the physical cost group list.

Syntax

protected void addEstCostToVarianceList()

Run On

Called

Remarks

The following actions should be applied.

  • Iterate through the physical cost group list.

  • Check whether the cost group is also found in the actual cost group list. If it is found, calculate the difference between the two and remove the cost group from the actual cost group list.

  • Add the variance to the recordSortedList.

This method must be the first method that is called during variance calculation.

See Also

Reference

InventCostCreateVarianceList Class