Share via


HcmWorker::workerStatusServer Method

Gets the worker status as of now.

Syntax

server public static HcmWorkerStatus workerStatusServer(HcmWorkerRecId _workerRecId)

Run On

Server

Parameters

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.

See Also

Reference

HcmWorker Table