Share via


ProjPost::newEnterSMAAccrued Method [AX 2012]

Returns a new instance of ProjPost for posting service agreement amounts to ledgers.

Syntax

server public static ProjPost newEnterSMAAccrued(
    Common _buffer, 
    LedgerVoucher _ledgerVoucher, 
    boolean _reverseAccrued, 
    TransDate _postingDate, 
   [boolean _updateTrans, 
    AmountMST _accrueAmount])

Run On

Server

Parameters

  • _buffer
    Type: Common Table
    The table for the transaction type.
  • _reverseAccrued
    Type: boolean
    The reverse accrued revenue.
  • _updateTrans
    Type: boolean
    Indicates whether to call the projTransUpdate method; optional.

Return Value

Type: ProjPost Class
A new ProjPost object for the service agreement.

Remarks

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