InventMovement.calculateIndirectCost Method [AX 2012]
Calculates the indirect cost that is related to the movement.
Syntax
public void calculateIndirectCost(
LedgerVoucher _ledgerVoucher,
Qty _physical,
InventCostInputAmount _inputAmount)
Run On
Called
Parameters
- _ledgerVoucher
Type: LedgerVoucher Class
The ledger voucher object where the ledger transactions are added.
- _physical
Type: Qty Extended Data Type
The quantity that is physically updated.
- _inputAmount
Type: InventCostInputAmount Class
The input amount.
Remarks
The indirect cost must be calculated when the movement is physically updated.