HcmWorker::numberActiveAndFutureEmployments Method
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.