Share via


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

  • _ledgerVoucher
    Type: LedgerVoucher Class
    The LedgerVoucher object to which the postings must be added.

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.

See Also

Reference

InventUpd_Financial Class