InventCostIndirectPhysical::newCalculation Method [AX 2012]
Creates an instance of the InventCostIndirectPhysical class with an indirect cost calculation for the quantity and input amount.
Syntax
client server public static InventCostIndirectPhysical newCalculation(
LedgerVoucher _ledgerVoucher,
InventMovement _movement,
Qty _qty,
InventCostInputAmount _inputAmount)
Run On
Called
Parameters
- _ledgerVoucher
Type: LedgerVoucher Class
An instance of the LedgerVoucher class.
- _movement
Type: InventMovement Class
An instance of the inventMovement class.
- _qty
Type: Qty Extended Data Type
The quantity.
- _inputAmount
Type: InventCostInputAmount Class
The input amount.
Return Value
Type: InventCostIndirectPhysical Class
An instance of the InventCostIndirectPhysical class.