AccountingEvent::findBySourceDocumentHeaderEventDateTime Method
Finds the AccountingEvent record that is specified by the SourceDocumentHeader and _eventDateTime values.
Syntax
client server public static AccountingEvent findBySourceDocumentHeaderEventDateTime(
SourceDocumentHeaderRecId _sourceDocumentHeader,
utcdatetime _eventDateTime,
[boolean _forUpdate])
Run On
Called
Parameters
- _sourceDocumentHeader
Type: SourceDocumentHeaderRecId Extended Data Type
The source document ID to which the AccountingEvent refers.
- _eventDateTime
Type: utcdatetime
The datetime of the AccountingEvent record.
- _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.