Share via


ProjPost::newCreateCostEstimate Method [AX 2012]

Returns a new instance of ProjPost for posting cost estimates to ledger entries.

Syntax

server public static ProjPost newCreateCostEstimate(
    Common _buffer, 
    Common _bufferCost, 
    LedgerVoucher _ledgerVoucher, 
    boolean _reverse, 
    boolean _elimination)

Run On

Server

Parameters

  • _buffer
    Type: Common Table
    The table for the transaction type.
  • _reverse
    Type: boolean
    Indicates whether this is a reversing transaction.
  • _elimination
    Type: boolean
    Indicates whether this is an elimination transaction.

Return Value

Type: ProjPost Class
A new ProjPost object for estimates of project costs.

Remarks

This method is only valid for the tables LedgerJournalTrans and ProjCostTrans. 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