Share via


HcmPosition::getWorker Method

Retrieves the HcmWorkerRecId value from the HcmPositionWorkerAssignment table for the specified HcmPositionRecId value.

Syntax

client server public static HcmWorkerRecId getWorker(
    HcmPositionRecId _positionRecId, 
   [utcdatetime _asOfDate, 
    boolean _returnWorkerOnlyIfActiveAssignment])

Run On

Called

Parameters

  • _asOfDate
    Type: utcdatetime
    The point in time that is used for the selection criteria.
  • _returnWorkerOnlyIfActiveAssignment
    Type: boolean

Return Value

Type: HcmWorkerRecId Extended Data Type
A HcmWorkerRecId value that indicates the HcmWorker record that is assigned to the HcmPosition record at the requested point in time.

See Also

Reference

HcmPosition Table