ProjPost::newEnterSMAAccrued Method [AX 2012]

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

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.
_ledgerVoucher
Type: LedgerVoucher Class
The ledger items for posting.
_reverseAccrued
Type: boolean
The reverse accrued revenue.
_postingDate
Type: TransDate Extended Data Type
The posting date of the transaction.
_updateTrans
Type: boolean
Indicates whether to call the projTransUpdate method; optional.
_accrueAmount
Type: AmountMST Extended Data Type
The accrued revenue amount in the originating currency; optional.

Return Value

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

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.

Show: