InventCostIndirect::newInventMovLedgerVoucher Method [AX 2012]

Initializes a new instance of the InventCostIndirect class for the specified instances of the InventoryMovement and LedgerVoucher class.

Syntax

client server public static InventCostIndirect newInventMovLedgerVoucher(InventMovement _inventMovement, LedgerVoucher _ledgerVoucher)

Run On

Called

Parameters

  • _inventMovement
    Type: InventMovement Class
    An instance of the InventMovement class for which this class should be initialized.
  • _ledgerVoucher
    Type: LedgerVoucher Class
    An instance of the LedgerVoucher class for which this class should be initialized.

Return Value

Type: InventCostIndirect Class
An initialized instance of this class.

Exceptions

Exception Condition
Error

Not all parameters were specified.

See Also

Reference

InventCostIndirect Class