TSTimesheetTable::findBySourceDocument Method
Finds a TSTimesheetTable record that has a specified record ID of a SourceDocumentHeader record.
Syntax
server public static TSTimesheetTable findBySourceDocument(RecId _sourceDocument, [boolean _forUpdate])
Run On
Server
Parameters
- _sourceDocument
Type: RecId Extended Data Type
The record ID of the SourceDocumentHeader record.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: TSTimesheetTable Table
A TSTimesheetTable record.