SourceDocumentLine::findBySourceDocumentHeader Method
Finds the SourceDocumentLine records that are specified by a source document header and an optional parent source document line.
Syntax
client server public static SourceDocumentLine findBySourceDocumentHeader(
SourceDocumentHeaderRecId _sourceDocumentHeader,
[SourceDocumentLineRecId _parentSourceDocumentLine,
boolean _forupdate,
ConcurrencyModel _concurrencyModel])
Run On
Called
Parameters
- _sourceDocumentHeader
Type: SourceDocumentHeaderRecId Extended Data Type
The record ID of the SourceDocumentHeader record.
- _parentSourceDocumentLine
Type: SourceDocumentLineRecId Extended Data Type
The record ID of the parent SourceDocumentLine record; optional.
- _forupdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
- _concurrencyModel
Type: ConcurrencyModel Enumeration
The concurrency model option to use when the record is read; optional.
Return Value
Type: SourceDocumentLine Table
SourceDocumentLine records if found.