InventModelType.addCostTransVariance Method [AX 2012]

Serves as the entry point for the standard cost processing that is called for each inventTrans record.

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.
  • _isReturn
    Type: boolean
    A Boolean flag that indicates if this method is called during a return process; optional.
  • _inventTransOrig
    Type: InventTrans Table
    The inventTrans record that is returned; optional.

Remarks

This method was not implemented as abstract to keep the changes on the existing system as small as possible. Therefore it just contains a return and no other logic.

The logic is currently only implemented in the inventModelType_StdCost child class.

See Also

Reference

InventModelType Class