Share via


ProjPost::newCreateProjTransItemAdjust Method [AX 2012]

Returns a new instance of ProjPost for posting an item adjustment 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 newCreateProjTransItemAdjust(
            Common _buffer, 
            LedgerVoucher _ledgerVoucher, 
            boolean _reverseCommittedCost, 
           [boolean _createTrans, 
            boolean _enterSalesAccrued, 
            boolean _enterCost, 
            ProjTransIdBase _transId])

  Microsoft Dynamics AX 2012 R2 (SYS)
          server public static ProjPost newCreateProjTransItemAdjust(
            Common _buffer, 
            LedgerVoucher _ledgerVoucher, 
            boolean _reverseCommittedCost, 
           [boolean _createTrans, 
            boolean _enterSalesAccrued, 
            boolean _enterCost, 
            ProjTransIdBase _transId])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          server public static ProjPost newCreateProjTransItemAdjust(
            Common _buffer, 
            LedgerVoucher _ledgerVoucher, 
            boolean _reverseCommittedCost, 
           [boolean _createTrans, 
            boolean _enterSalesAccrued, 
            boolean _enterCost, 
            ProjTransIdBase _transId])

  Microsoft Dynamics AX 2012 (FPK)
          server public static ProjPost newCreateProjTransItemAdjust(
            Common _buffer, 
            LedgerVoucher _ledgerVoucher, 
            boolean _reverseCommittedCost, 
           [boolean _createTrans, 
            boolean _enterSalesAccrued, 
            boolean _enterCost, 
            ProjTransIdBase _transId])

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

Run On

Server

Parameters

  • _buffer
    Type: Common Table
    The table for the transaction type.
  • _reverseCommittedCost
    Type: boolean
    Whether to reverse the committed cost
  • _createTrans
    Type: boolean
    Creates a transaction; optional.
  • _enterSalesAccrued
    Type: boolean
    Indicates whether accrued revenue values are required; optional.
  • _enterCost
    Type: boolean
    Indicates whether cost values are required; optional.

Return Value

Type: ProjPost Class
A new ProjPost object for adjustment of project item transactions.

Remarks

This method is only valid for the table TmpProjAdustmentCreate. 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