ProjWorkerSetup::findByWorker Method
Finds the specified record in the ProjWorkerSetup table, based on the specified value of the Worker field.
Syntax
client server public static ProjWorkerSetup findByWorker(
HcmWorkerRecId _worker,
[RecId _legalEntityRecId,
boolean _forUpdate,
ConcurrencyModel _concurrencyModel])
Run On
Called
Parameters
- _worker
Type: HcmWorkerRecId Extended Data Type
A value of the Worker field.
- _legalEntityRecId
Type: RecId Extended Data Type
- _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 reading the record; optional.
Return Value
Type: ProjWorkerSetup Table
The specified PurchRFQWorkerSetup record if found; otherwise, an empty record.
Remarks
If no values are supplied for both the parameters they will be set to now. Therefore, this method searches for only the active records and returns either an empty or a valid record.
The method searches for the worker and returns either an empty or a valid record.