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.
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.
- _ledgerPostingType
 Type: LedgerPostingType Enumeration
 The posting type that will be used for the project transaction.
- _ledgerAccount
 Type: LedgerDimensionAccount Extended Data Type
 The ledger account that will be used for the project transaction.
- _dimension
 Type: DimensionDefault Extended Data Type
 The dimension that will be used for the project transaction.
- _costAmountAdjustmentCur
 Type: CostAmount Extended Data Type
 The amount that will be used for the project transaction.
- _projLedger
 Type: ProjLedger Class
 The ProjLedger object that will be used for the project transaction.
- _recId
 Type: RecId Extended Data Type
 The custom transfer level that will be used for the project transaction.
- _correct
 Type: NoYes Enumeration