HcmWorker::workerStatusServer Method
Gets the worker status as of now.
Syntax
server public static HcmWorkerStatus workerStatusServer(HcmWorkerRecId _workerRecId)
Run On
Server
Parameters
- _workerRecId
Type: HcmWorkerRecId Extended Data Type
The HcmWorker table record ID.
Return Value
Type: HcmWorkerStatus Enumeration
The Employed value if the worker has at least one active employment. The Pending value if the worker has no active employment and at least one future dated employment. The Terminated value if the worker only has past employments.