InventModelType.adjustCostTrans Method [AX 2012]

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.

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.

See Also

Reference

InventModelType Class