PSAHcmWorkerExtension::findByWorker Method
Searches for a worker and returns either an empty or a valid record.
Syntax
client server public static PSAHcmWorkerExtension findByWorker(
HcmWorkerRecId _worker,
[RecId _legalEntityRecId,
boolean _forUpdate,
ConcurrencyModel _concurrencyModel])
Run On
Called
Parameters
- _worker
Type: HcmWorkerRecId Extended Data Type
The worker record ID.
- _legalEntityRecId
Type: RecId Extended Data Type
The legal entity to which the worker belongs.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
- _concurrencyModel
Type: ConcurrencyModel Enumeration
A value that specifies the concurrency model of the record
Return Value
Type: PSAHcmWorkerExtension Table
A PSAHcmWorkerExtension record which holds the PSA related employee fields.