AccountingEvent::getCurrentEvent Method

Retrieves a AccountingEvent record that is current.

Syntax

client server public static AccountingEvent getCurrentEvent(
    SourceDocumentHeaderRecId _sourceDocumentHeader, 
   [OperationsTax _ledgerCategory, 
    AccountingDate _accountingDate, 
    AccountingEventId _eventID, 
    boolean _forUpdate])

Run On

Called

Parameters

  • _forUpdate
    Type: boolean
    A Boolean value that indicates whether to read the record for update; optional.

Return Value

Type: AccountingEvent Table
A AccountingEvent record.

Remarks

An current source document event is one that has not been transferred.

This method creates an event if no current event exists.

See Also

Reference

AccountingEvent Table