Share via


InventModelType_StdCost.addCostTransVariance Method [AX 2012]

Calls the inventCostMovement class to add an inventTrans record to this framework.

Syntax

public void addCostTransVariance(
    InventTrans _inventTrans, 
    InventMovement _inventMovement, 
    Voucher _voucher, 
    TransDate _transDate, 
    InventCostTransState _costTransState, 
   [boolean _isReturn, 
    InventTrans _inventTransOrig])

Run On

Called

Parameters

  • _inventTrans
    Type: InventTrans Table
    The inventTrans record that is currently processed and must be added.
  • _costTransState
    Type: InventCostTransState Enumeration
    An inventCostTransState enumeration that indicates whether it is a financial or physical update process.
  • _isReturn
    Type: boolean
    A Boolean flag that indicates whether this method is called during a return process; optional.
  • _inventTransOrig
    Type: InventTrans Table
    The inventTrans record that is returned; optional.

Remarks

This method interacts with the inventCostMovement.addInventTrans method, to pass the inventTrans record over to the inventCost framework.

See Also

Reference

InventModelType_StdCost Class