Share via


ProjPost::newTransAdjNegativeJournal Method [AX 2012]

Returns a new instance of ProjPost for posting negative adjustments by using existing ledger journal 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 newTransAdjNegativeJournal(
            Common _buffer, 
            LedgerVoucher _ledgerVoucher, 
            ProjTransIdBase _transId, 
            ProjTransactionOrigin _transactionOrigin, 
           [TransDate adjustmentDate])

  Microsoft Dynamics AX 2012 R2 (SYS)
          server public static ProjPost newTransAdjNegativeJournal(
            Common _buffer, 
            LedgerVoucher _ledgerVoucher, 
            ProjTransIdBase _transId, 
            ProjTransactionOrigin _transactionOrigin, 
           [TransDate adjustmentDate])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          server public static ProjPost newTransAdjNegativeJournal(
            Common _buffer, 
            LedgerVoucher _ledgerVoucher, 
            ProjTransIdBase _transId, 
            ProjTransactionOrigin _transactionOrigin, 
           [TransDate adjustmentDate])

  Microsoft Dynamics AX 2012 (FPK)
          server public static ProjPost newTransAdjNegativeJournal(
            Common _buffer, 
            LedgerVoucher _ledgerVoucher, 
            ProjTransIdBase _transId, 
            ProjTransactionOrigin _transactionOrigin, 
           [TransDate adjustmentDate])

  Microsoft Dynamics AX 2012 (SYS)
          server public static ProjPost newTransAdjNegativeJournal(
            Common _buffer, 
            LedgerVoucher _ledgerVoucher, 
            ProjTransIdBase _transId, 
            ProjTransactionOrigin _transactionOrigin)

Run On

Server

Parameters

  • _buffer
    Type: Common Table
    The table for a transaction type.

Return Value

Type: ProjPost Class
A new ProjPost object for the negative adjustment of journal entries.

Remarks

This method is only valid for the journal types of revenue, hour, and week time. Any other journals that are passed in the _buffer parameter will throw the error: Project posting is not implemented for this type.

See Also

Reference

ProjPost Class