ProjPost::newEnterRevenueEstimate Method [AX 2012]

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

server public static ProjPost newEnterRevenueEstimate(
    Common _buffer, 
    Common _bufferSale, 
    LedgerVoucher _ledgerVoucher, 
   [boolean _reverse, 
    boolean _eliminate, 
    boolean _updateTrans])

Run On

Server

Parameters

_buffer
Type: Common Table
The table for the transaction type.
_bufferSale
Type: Common Table
The transaction sale amount table for the transaction type.
_ledgerVoucher
Type: LedgerVoucher Class
The ledger items for posting.
_reverse
Type: boolean
Indicates if it is a reversing transaction; optional. The default value is false.
_eliminate
Type: boolean
Indicates if it is an elimination transaction; optional. The default value is false.
_updateTrans
Type: boolean
Indicates whether to call the projUpdateTrans method; optional.

Return Value

Type: ProjPost Class
A new ProjPost object for revenue estimates.

This method is only valid for the ProjControlPeriodTrans and ProjRevenueTrans tables. Any other table that is passed in the _buffer parameter will throw the error: Project posting is not implemented for this type.

Show: