HcmWorker::getDepartmentRecIds Method

Gets the record IDs of all the OMOperatingUnit records for the given HcmWorker record.

Syntax

client server public static container getDepartmentRecIds(HcmWorkerRecId _workerRecId, [utcdatetime _asOfDate])

Run On

Called

Parameters

  • _asOfDate
    Type: utcdatetime
    The point in time that will be used for the selection criteria.

Return Value

Type: container
A container of record IDs of the OMOperatingUnit records that are associated with the worker.

Remarks

This API provides less information (only the record ID) but is much faster in performance than the getDepartments API, and this API uses global object caching.

See Also

Reference

HcmWorker Table