HcmWorker::getMaxEmploymentEndDate Method

Retrieves the maximum ValidTo value for the active employments that are associated with an HcmWorker object.

Syntax

client server public static HcmEmploymentValidTo getMaxEmploymentEndDate(HcmWorkerRecId _workerRecId, [utcdatetime _asOfDate])

Run On

Called

Parameters

  • _asOfDate
    Type: utcdatetime
    The point in time to use for the selection criteria.

Return Value

Type: HcmEmploymentValidTo Extended Data Type
The maximum ValidTo value to associate with an active employment for the worker.

See Also

Reference

HcmWorker Table