InventModelType.initCostTransVariance Method [AX 2012]
Serves as the entry point for the standard cost processing that is called only one time for an instance of a inventMovement class.
Syntax
public void initCostTransVariance(
InventMovement _inventMovement,
Voucher _voucher,
TransDate _transDate,
InventCostTransState _costTransState,
[boolean _isReturn])
Run On
Called
Parameters
- _inventMovement
Type: InventMovement Class
The inventMovement class that is currently processed.
- _voucher
Type: Voucher Extended Data Type
The voucher that is currently processed.
- _transDate
Type: TransDate Extended Data Type
The transDate that is used for this process.
- _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.
Remarks
This method was not implemented as abstract in order to keep the changes on the existing system as small as possible. Therefore it contains only a return and no other logic.
The logic is currently only implemented in the inventModelType_StdCost child class.