Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the count of current and pending employments for an HcmWorker record.
Syntax
client server public static int numberActiveAndFutureEmployments(HcmWorkerRecId _workerRecId, [utcdatetime _asOfDate])
Run On
Called
Parameters
- _workerRecId
Type: HcmWorkerRecId Extended Data Type
The record ID of the HcmWorker record for which the count of employments is obtained.
- _asOfDate
Type: utcdatetime
The point in time that will be used for the selection criteria.
Return Value
Type: int
The number of current and pending employments for the worker.