Gets the record IDs of all the OMOperatingUnit records for the given HcmWorker record.
client server public static container getDepartmentRecIds(HcmWorkerRecId _workerRecId, [utcdatetime _asOfDate])
Type: HcmWorkerRecId Extended Data Type
The record ID of the HcmWorker record for which the operating units are returned.
The point in time that will be used for the selection criteria.
A container of record IDs of the OMOperatingUnit records that are associated with the worker.
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.