InventUpd_Financial::whsNewInventWHSContainer Method [AX 2012]
Creates and returns a new instance of InventUpd_Financial class that will be used each time a new Contaniner Transaction is created.
Syntax
server public static InventUpd_Financial whsNewInventWHSContainer(
InventMovement _movement,
LedgerVoucher _ledgerVoucher,
CostAmount _costAmount,
InventQty _qty)
Run On
Server
Parameters
- _movement
Type: InventMovement Class
The inventory movement for the financial update.
- _ledgerVoucher
Type: LedgerVoucher Class
The LedgerVoucher object to which the postings must be added.
- _costAmount
Type: CostAmount Extended Data Type
Cost amount for financial update
- _qty
Type: InventQty Extended Data Type
Transaction quantity.
Return Value
Type: InventUpd_Financial Class
A newly created instance of InventUpd_Financial class