HcmWorker::getPrimaryPositionAssignment Method
Retrieves the HcmPositionWorkerAssignmentRecId from the HcmPositionWorkerAssignment table for the provided HcmWorkerRecId value.
Syntax
client server public static HcmPositionWorkerAssignmentRecId getPrimaryPositionAssignment(HcmWorkerRecId _workerRecId, [utcdatetime _asOfDate])
Run On
Called
Parameters
- _workerRecId
Type: HcmWorkerRecId Extended Data Type
An HcmWorkerRecId value that represents the HcmWorker value in which to retrieve the associated HcmPositionRecid value.
- _asOfDate
Type: utcdatetime
The point in time that will be used for the selection criteria.
Return Value
Type: HcmPositionWorkerAssignmentRecId Extended Data Type
An HcmPositionWorkerAssignmentRecId value that indicates the HcmPosition value that is assigned to the HcmWorker value at the requested point in time.