HcmEmployment::getFutureEmploymentsByWorker Method
Finds the pending employment records in the HcmEmployment table by using the specified Worker value.
Syntax
client server public static HcmEmployment getFutureEmploymentsByWorker(
HcmWorkerRecId _worker,
[utcdatetime _validFrom,
boolean _forUpdate,
ConcurrencyModel _concurrencyModel])
Run On
Called
Parameters
- _worker
Type: HcmWorkerRecId Extended Data Type
The HcmWorker record ID of the worker to find.
- _validFrom
Type: utcdatetime
The point in time in which to check for the existence of future employment.
- _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 the record is read; optional.
Return Value
Type: HcmEmployment Table
A record in the HcmEmployment table; otherwise, an empty record.