ProjPost::newCreateCostEstimate Method [AX 2012]

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

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.
_bufferCost
Type: Common Table
_ledgerVoucher
Type: LedgerVoucher Class
The ledger items for posting.
_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.

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.

Show: