AccountingEvent::getActiveEvent Method
Retrieves a AccountingEvent record that is active.
Syntax
client server public static AccountingEvent getActiveEvent(SourceDocumentHeaderRecId _sourceDocumentHeader, [boolean _forUpdate])
Run On
Called
Parameters
- _sourceDocumentHeader
Type: SourceDocumentHeaderRecId Extended Data Type
The source document ID to which the accounting event refers.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: AccountingEvent Table
A record in the AccountingEvent table.
Remarks
An active accounting event is one that has not been transferred.