InventCostAdjust::adjustFromInventTrans Method [AX 2012]
Triggers the adjustment in the InventCost framework for an InventTrans record.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
client server public static void adjustFromInventTrans(
InventTrans _inventTrans,
LedgerVoucher _ledgerVoucher,
Voucher _voucher,
TransDate _transDate,
CostAmount _adjustment,
[InventCostTransVarianceList _inventCostTransVarianceList,
InventAdjustmentSpec _inventAdjustmentSpec,
InventTransCurrency_RU _inventTransCurrency])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static void adjustFromInventTrans(
InventTrans _inventTrans,
LedgerVoucher _ledgerVoucher,
Voucher _voucher,
TransDate _transDate,
CostAmount _adjustment,
[InventCostTransVarianceList _inventCostTransVarianceList,
InventAdjustmentSpec _inventAdjustmentSpec,
InventTransCurrency_RU _inventTransCurrency])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static void adjustFromInventTrans(
InventTrans _inventTrans,
LedgerVoucher _ledgerVoucher,
Voucher _voucher,
TransDate _transDate,
CostAmount _adjustment,
[InventCostTransVarianceList _inventCostTransVarianceList,
InventAdjustmentSpec _inventAdjustmentSpec])
Microsoft Dynamics AX 2012 (FPK)
client server public static void adjustFromInventTrans(
InventTrans _inventTrans,
LedgerVoucher _ledgerVoucher,
Voucher _voucher,
TransDate _transDate,
CostAmount _adjustment,
[InventCostTransVarianceList _inventCostTransVarianceList,
InventAdjustmentSpec _inventAdjustmentSpec])
Microsoft Dynamics AX 2012 (SYS)
client server public static void adjustFromInventTrans(
InventTrans _inventTrans,
LedgerVoucher _ledgerVoucher,
Voucher _voucher,
TransDate _transDate,
CostAmount _adjustment,
[InventCostTransVarianceList _inventCostTransVarianceList,
InventAdjustmentSpec _inventAdjustmentSpec])
Run On
Called
Parameters
- _inventTrans
Type: InventTrans Table
The InventTrans record to which the adjustment belongs.
- _ledgerVoucher
Type: LedgerVoucher Class
- _voucher
Type: Voucher Extended Data Type
The voucher that is used to post the adjustment.
- _transDate
Type: TransDate Extended Data Type
The transaction date for the adjustment.
- _adjustment
Type: CostAmount Extended Data Type
The adjustment amount.
- _inventCostTransVarianceList
Type: InventCostTransVarianceList Class
The adjustment broken down on cost groups; optional.
- _inventAdjustmentSpec
Type: InventAdjustmentSpec Enumeration
- _inventTransCurrency
Type: InventTransCurrency_RU Enumeration
Remarks
For production adjustments, the variance list will be given without an adjustment amount.