Share via


InventModelType_MovingAverage.setExpectedCost Method [AX 2012]

Sets the expected cost for the item and financial dimension.

Syntax

protected void setExpectedCost(
    InventSum _inventSum, 
    InventTrans _inventTrans, 
    CostAmount _expense)

Run On

Called

Parameters

  • _inventSum
    Type: InventSum Table
    The InventSum record with the financial values, ItemId and financial InventDimId values to set the expected cost.

Remarks

The expected cost is validated before the transactions commit.

See Also

Reference

InventModelType_MovingAverage Class