Share via


InventCostProdIndirect::newFromLedgerVoucher Method [AX 2012]

Creates an instance of the InventCostProdIndirect class and initializes it with a LedgerVoucher object.

Syntax

client server public static InventCostProdIndirect newFromLedgerVoucher(LedgerVoucher _ledgerVoucher)

Run On

Called

Parameters

Return Value

Type: InventCostProdIndirect Class
An initialized instance of the InventCostProdIndirect class.

Exceptions

Exception Condition
Error

The LedgerVoucher object was not specified.

See Also

Reference

InventCostProdIndirect Class