ProjPost::newCreateCostEstimateInvestment Method [AX 2012]

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

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

Run On

Server

Parameters

_buffer
Type: Common Table
A table for transaction type.
_ledgerVoucher
Type: LedgerVoucher Class
The ledger items for posting.
_reverse
Type: boolean
Indicates if it is a reversing transaction.
_elimination
Type: boolean
Indicates if it is an elimination transaction.

Return Value

Type: ProjPost Class
A new ProjPost object for investment cost estimates.

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.

Show: