Share via


ProjPost::newEnterOnAccEstimate Method [AX 2012]

Returns a new instance of ProjPost for posting on-account estimates to ledger entries.

Syntax

server public static ProjPost newEnterOnAccEstimate(
    Common _buffer, 
    Common _bufferDetail, 
    LedgerVoucher _ledgerVoucher, 
    ProjPeriodTo _periodWIP, 
    boolean _postAccrued, 
   [boolean _reverse, 
    boolean _eliminate])

Run On

Server

Parameters

  • _postAccrued
    Type: boolean
    The post-accrued revenue values.
  • _reverse
    Type: boolean
    Determines if it is a reversing transaction; optional. The default value is false.
  • _eliminate
    Type: boolean
    Determines if it is an elimination transaction; optional. The default value is false.

Return Value

Type: ProjPost Class
A new ProjPost object for estimates of on-account amounts.

Remarks

This method is only valid for the table ProjOnAccTrans. 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