InventUpd_Financial::newProdUnderconsume Method [AX 2012]
Creates a new InventUpd_Financial instance that will be used for underconsumptions.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
server public static InventUpd_Financial newProdUnderconsume(
InventMovement _movement,
InventQty _inventConsump,
AmountCur _costAmountCur,
LedgerVoucher _ledgerVoucher,
[VoucherPhysical _voucherPhysical,
CostAmount _costAmountSecCur_RU])
Microsoft Dynamics AX 2012 R2 (SYS)
server public static InventUpd_Financial newProdUnderconsume(
InventMovement _movement,
InventQty _inventConsump,
AmountCur _costAmountCur,
LedgerVoucher _ledgerVoucher,
[VoucherPhysical _voucherPhysical,
CostAmount _costAmountSecCur_RU])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
server public static InventUpd_Financial newProdUnderconsume(
InventMovement _movement,
InventQty _inventConsump,
AmountCur _costAmountCur,
LedgerVoucher _ledgerVoucher,
[VoucherPhysical _voucherPhysical])
Microsoft Dynamics AX 2012 (FPK)
server public static InventUpd_Financial newProdUnderconsume(
InventMovement _movement,
InventQty _inventConsump,
AmountCur _costAmountCur,
LedgerVoucher _ledgerVoucher,
[VoucherPhysical _voucherPhysical])
Microsoft Dynamics AX 2012 (SYS)
server public static InventUpd_Financial newProdUnderconsume(
InventMovement _movement,
InventQty _inventConsump,
AmountCur _costAmountCur,
LedgerVoucher _ledgerVoucher,
[VoucherPhysical _voucherPhysical])
Run On
Server
Parameters
- _movement
Type: InventMovement Class
The inventory movement for the financial update.
- _inventConsump
Type: InventQty Extended Data Type
The financial quantity for the financial update.
- _costAmountCur
Type: AmountCur Extended Data Type
The cost amount for the financial update.
- _ledgerVoucher
Type: LedgerVoucher Class
The LedgerVoucher object to which the postings must be added.
- _voucherPhysical
Type: VoucherPhysical Extended Data Type
The physical voucher which will limit the inventory transactions that will be updated; optional.
- _costAmountSecCur_RU
Type: CostAmount Extended Data Type
The cost amount in reporting currency for the financial update.
Return Value
Type: InventUpd_Financial Class
A new instance of the InventUpd_Financial class.
Remarks
This method creates a new instance of the InventUpd_Financial class that will be used for underconsumptions.
The instance of the InventUpd_Financial class will be used to consume the subproduction items that were underconsumed by the parent production order.
The instance of the InventUpd_Financial class will also be used to post income to the project for the underconsumption.