InventCostRevaluate::newFromInventCostTransList Method [AX 2012]
Initializes a new instance of this class for the given parameters.
Syntax
client server public static InventCostRevaluate newFromInventCostTransList(
InventItemPrice _inventItemPrice,
InventItemPrice _prevInventItemPrice,
InventCostTransList _inventCostTransList,
LedgerVoucher _ledgerVoucher)
Run On
Called
Parameters
- _inventItemPrice
Type: InventItemPrice Table
The item price that is currently active.
- _prevInventItemPrice
Type: InventItemPrice Table
The item price that was previously active.
- _inventCostTransList
Type: InventCostTransList Class
The InventCostTrans records that must be revaluated.
- _ledgerVoucher
Type: LedgerVoucher Class
The ledger voucher that should be used for the postings.
Return Value
Type: InventCostRevaluate Class
An initialized instance of the class.