Share via


ProjPost::newCreateProjCostAndLedger Method [AX 2012]

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

Syntax

server public static ProjPost newCreateProjCostAndLedger(
    Common _buffer, 
    LedgerVoucher _ledgerVoucher, 
    LedgerJournalType _ledgerJournalType, 
   [TaxAmount _taxAmountInCostPrice, 
    boolean _adjustment, 
    boolean _reverseCommittedCost])

Run On

Server

Parameters

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

Return Value

Type: ProjPost Class
A new ProjPost object for journal entries.

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