AccountingEvent::findBySourceDocumentHeader Method
Finds the unaccounted AccountingEvent record specified by the SourceDocumentHeader .
Syntax
client server public static AccountingEvent findBySourceDocumentHeader(SourceDocumentHeaderRecId _sourceDocumentHeader, [boolean _forUpdate])
Run On
Called
Parameters
- _sourceDocumentHeader
Type: SourceDocumentHeaderRecId Extended Data Type
The source document ID to which the AccountingEvent 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.