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.
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
- _workerRecId
Type: HcmWorkerRecId Extended Data Type
The HcmWorkerRecId value of the HcmWorker object which is used to get the associated HcmPositionRecid.
- _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.