HcmWorker::getPrimaryDepartment Method

Gets the OMOperatingUnit record that represents the department for an HcmWorker object, if one exists.

Syntax

client server public static OMOperatingUnit getPrimaryDepartment(HcmWorkerRecId _workerRecId, [utcdatetime _asOfDate])

Run On

Called

Parameters

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

Return Value

Type: OMOperatingUnit Table
The OMOperatingUnit that is associated with the worker by using its primary position, if one exists.

See Also

Reference

HcmWorker Table