SMADispatchWorkerSetup::findByWorker Method
Finds the specified record in the SMADispatchWorkerSetup table by using the supplied value of the Worker field.
Syntax
client server public static SMADispatchWorkerSetup findByWorker(
HcmWorkerRecId _worker,
[boolean _forUpdate,
ConcurrencyModel _concurrencyModel])
Run On
Called
Parameters
- _worker
Type: HcmWorkerRecId Extended Data Type
- _forUpdate
Type: boolean
- _concurrencyModel
Type: ConcurrencyModel Enumeration
Return Value
Type: SMADispatchWorkerSetup Table
A record in the SMADispatchWorkerSetup table; otherwise, an empty record.
Remarks
If no values are supplied for both the parameters they use now. Therefore, the method searches for only active records and returns either an empty or a valid record.
The method searches for the worker (employee or contractor) and returns either an empty or a valid record.