InventCostPurchIndirect::newParameters Method [AX 2012]
Creates and initializes an instance of the InventCostPurchIndirect class.
Syntax
client server public static InventCostPurchIndirect newParameters(
LedgerDimensionDefaultAccount _accountPhysicalPurchaseOffset,
LedgerPostingType _postingTypePhysicalPurchaseOffset,
LedgerVoucher _ledgerVoucher)
Run On
Called
Parameters
- _accountPhysicalPurchaseOffset
Type: LedgerDimensionDefaultAccount Extended Data Type
The ledger account to use as a packing slip offset account.
- _postingTypePhysicalPurchaseOffset
Type: LedgerPostingType Enumeration
The posting type to use as a packing slip offset posting type.
- _ledgerVoucher
Type: LedgerVoucher Class
An instance of the LedgerVoucher class.
Return Value
Type: InventCostPurchIndirect Class
An instance of the InventCostPurchIndirect class.
Exceptions
Exception | Condition |
---|---|
Error | Not all parameters were specified. |