Share via


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.

Remarks

For production adjustments, the variance list will be given without an adjustment amount.

See Also

Reference

InventCostAdjust Class