Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Serves as the entry point for the standard cost processing of adjustments that is called for each 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
public void adjustCostTrans(
InventTrans _inventTrans,
LedgerVoucher _ledgerVoucher,
Voucher _voucher,
TransDate _transDate,
CostAmount _adjustment,
[InventCostTransVarianceList _inventCostTransVarianceList,
InventAdjustmentSpec _inventAdjustmentSpec,
InventTransCurrency_RU _inventTransCurrency])
Microsoft Dynamics AX 2012 R2 (SYS)
public void adjustCostTrans(
InventTrans _inventTrans,
LedgerVoucher _ledgerVoucher,
Voucher _voucher,
TransDate _transDate,
CostAmount _adjustment,
[InventCostTransVarianceList _inventCostTransVarianceList,
InventAdjustmentSpec _inventAdjustmentSpec,
InventTransCurrency_RU _inventTransCurrency])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public void adjustCostTrans(
InventTrans _inventTrans,
LedgerVoucher _ledgerVoucher,
Voucher _voucher,
TransDate _transDate,
CostAmount _adjustment,
[InventCostTransVarianceList _inventCostTransVarianceList,
InventAdjustmentSpec _inventAdjustmentSpec])
Microsoft Dynamics AX 2012 (FPK)
public void adjustCostTrans(
InventTrans _inventTrans,
LedgerVoucher _ledgerVoucher,
Voucher _voucher,
TransDate _transDate,
CostAmount _adjustment,
[InventCostTransVarianceList _inventCostTransVarianceList,
InventAdjustmentSpec _inventAdjustmentSpec])
Microsoft Dynamics AX 2012 (SYS)
public void adjustCostTrans(
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 that is currently processed.
- _ledgerVoucher
Type: LedgerVoucher Class
- _voucher
Type: Voucher Extended Data Type
The voucher that is currently processed.
- _transDate
Type: TransDate Extended Data Type
The transDate that is used for this process.
- _adjustment
Type: CostAmount Extended Data Type
The costAmount to be added as a variance.
- _inventCostTransVarianceList
Type: InventCostTransVarianceList Class
The inventCostTransVarianceList that should be used for the adjustment; optional.
- _inventAdjustmentSpec
Type: InventAdjustmentSpec Enumeration
- _inventTransCurrency
Type: InventTransCurrency_RU Enumeration
Remarks
This method was not implemented as abstract in order to keep the changes on the existing system as small as possible. Therefore it contains only a return and no other logic.
The logic is currently only implemented in the inventModelType_StdCost child class.