AccountingEvent::findByAccountingEventType Method
Finds the AccountingEvent record specified by the SourceDocumentHeader and EventType values.
Syntax
client server public static AccountingEvent findByAccountingEventType(
SourceDocumentHeaderRecId _sourceDocumentHeader,
AccountingEventType _accountingEventType,
[boolean _forUpdate])
Run On
Called
Parameters
- _sourceDocumentHeader
Type: SourceDocumentHeaderRecId Extended Data Type
The source document ID to which the source document event refers.
- _accountingEventType
Type: AccountingEventType Enumeration
The accounting event type to which the source document event refers.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: AccountingEvent Table
The specified AccountingEvent record if found.