Share via


ProjPost::newCreateProjTransAndLedger Method [AX 2012]

Returns a new instance of ProjPost for posting from journal entries to ledger entries.

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
          server public static ProjPost newCreateProjTransAndLedger(
            Common _buffer, 
            LedgerVoucher _ledgerVoucher, 
           [boolean _reverseCommittedCost, 
            boolean _adjustment, 
            ProjTransactionOrigin _transactionOriginOrig, 
            PSAContractLineNum _psaContractLineNum])

  Microsoft Dynamics AX 2012 R2 (SYS)
          server public static ProjPost newCreateProjTransAndLedger(
            Common _buffer, 
            LedgerVoucher _ledgerVoucher, 
           [boolean _reverseCommittedCost, 
            boolean _adjustment, 
            ProjTransactionOrigin _transactionOriginOrig])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          server public static ProjPost newCreateProjTransAndLedger(
            Common _buffer, 
            LedgerVoucher _ledgerVoucher, 
           [boolean _reverseCommittedCost, 
            boolean _adjustment, 
            ProjTransactionOrigin _transactionOriginOrig])

  Microsoft Dynamics AX 2012 (FPK)
          server public static ProjPost newCreateProjTransAndLedger(
            Common _buffer, 
            LedgerVoucher _ledgerVoucher, 
           [boolean _reverseCommittedCost, 
            boolean _adjustment, 
            ProjTransactionOrigin _transactionOriginOrig])

  Microsoft Dynamics AX 2012 (SYS)
          server public static ProjPost newCreateProjTransAndLedger(
            Common _buffer, 
            LedgerVoucher _ledgerVoucher, 
           [boolean _reverseCommittedCost])

Run On

Server

Parameters

  • _buffer
    Type: Common Table
    The table for the transaction type.
  • _reverseCommittedCost
    Type: boolean

Return Value

Type: ProjPost Class
A new ProjPost object for posting journal entries to ledger accounts.

Remarks

This method is only valid for the table LedgerJournalTrans. Any other table that is passed in the _buffer parameter will throw the error: Project posting is not implemented for this type.

See Also

Reference

ProjPost Class