Share via


InventAdjustPost.addProjectLedger Method [AX 2012]

Adds project transactions to the voucher.

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
          protected void addProjectLedger(
            LedgerVoucher _ledgerVoucher, 
            LedgerPostingType _ledgerPostingType, 
            LedgerDimensionAccount _ledgerAccount, 
            DimensionDefault _dimension, 
            CostAmount _costAmountAdjustmentCur, 
           [ProjLedger _projLedger, 
            RecId _recId, 
            NoYes _correct])

  Microsoft Dynamics AX 2012 R2 (SYS)
          protected void addProjectLedger(
            LedgerVoucher _ledgerVoucher, 
            LedgerPostingType _ledgerPostingType, 
            LedgerDimensionAccount _ledgerAccount, 
            DimensionDefault _dimension, 
            CostAmount _costAmountAdjustmentCur, 
           [ProjLedger _projLedger, 
            RecId _recId, 
            NoYes _correct])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          protected void addProjectLedger(
            LedgerVoucher _ledgerVoucher, 
            LedgerPostingType _ledgerPostingType, 
            LedgerDimensionAccount _ledgerAccount, 
            DimensionDefault _dimension, 
            CostAmount _costAmountAdjustmentCur, 
           [ProjLedger _projLedger, 
            RecId _recId])

  Microsoft Dynamics AX 2012 (FPK)
          protected void addProjectLedger(
            LedgerVoucher _ledgerVoucher, 
            LedgerPostingType _ledgerPostingType, 
            LedgerDimensionAccount _ledgerAccount, 
            DimensionDefault _dimension, 
            CostAmount _costAmountAdjustmentCur, 
           [ProjLedger _projLedger, 
            RecId _recId])

  Microsoft Dynamics AX 2012 (SYS)
          protected void addProjectLedger(
            LedgerVoucher _ledgerVoucher, 
            LedgerPostingType _ledgerPostingType, 
            LedgerDimensionAccount _ledgerAccount, 
            DimensionDefault _dimension, 
            CostAmount _costAmountAdjustmentCur, 
           [ProjLedger _projLedger, 
            RecId _recId])

Run On

Server

Parameters

  • _ledgerVoucher
    Type: LedgerVoucher Class
    The voucher where the project transactions will be added to.
  • _projLedger
    Type: ProjLedger Class
    The ProjLedger object that will be used for the project transaction.

See Also

Reference

InventAdjustPost Class