PurchTable::findSourceDocumentHeader Method
Finds a PurchTable record by the SourceDocument.
Syntax
client server public static PurchTable findSourceDocumentHeader(RefRecId _sourceDocumentHeader, [boolean _forUpdate])
Run On
Called
Parameters
- _sourceDocumentHeader
Type: RefRecId Extended Data Type
A SourceDocumentHeader record ID.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: PurchTable Table
A PurchTable record.