Share via


HcmWorker::getPrimaryPosition Method

Retrieves the HcmPositionRecId value from the HcmPositionWorkerAssignment table using the provided HcmWorkerRecId value.

Syntax

client server public static HcmPositionRecId getPrimaryPosition(HcmWorkerRecId _workerRecId, [utcdatetime _asOfDate])

Run On

Called

Parameters

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

Return Value

Type: HcmPositionRecId Extended Data Type
An HcmPositionRecId value indicating the HcmPosition value that is assigned to the HcmWorker at the requested point in time.

See Also

Reference

HcmWorker Table