Share via


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

Return Value

Type: SMADispatchWorkerSetup Table
A record in the SMADispatchWorkerSetup table; otherwise, an empty record.

Remarks

  1. 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.

  2. The method searches for the worker (employee or contractor) and returns either an empty or a valid record.

See Also

Reference

SMADispatchWorkerSetup Table