ProjWorkerSetup::findByWorkerPersonnelNumber Method
Finds the specified record in the ProjWorkerSetup table by using the specified Worker field value.
Syntax
client server public static ProjWorkerSetup findByWorkerPersonnelNumber(
HcmPersonnelNumberId _workerPersonnelNumber,
[RecId _legalEntityRecId,
boolean _forUpdate,
ConcurrencyModel _concurrencyModel])
Run On
Called
Parameters
- _workerPersonnelNumber
Type: HcmPersonnelNumberId Extended Data Type
A worker personnel number.
- _legalEntityRecId
Type: RecId Extended Data Type
A legal entity value.
- _forUpdate
Type: boolean
A Boolean value that specifies 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
A record from the PurchRFQWorkerSetup table; otherwise, an empty record. See remarks.
Remarks
If no values are specified for both the parameters they default to now. Therefore, the method searches for only active records and returns either an empty or a valid record.
The method searches for the worker, either an employee or contractor, and returns either an empty or a valid record.