Gets the record IDs of all the CompanyInfo records for the given HcmWorker record.
client server public static container getLegalEntityRecIds(HcmWorkerRecId _workerRecId, [utcdatetime _asOfDate])
Type: HcmWorkerRecId Extended Data Type
The record ID of the HcmWorker record for which the legal entities are obtained.
The point in time that will be used for the selection criteria.
A container of record IDs of the CompanyInfo records that are associated with the worker.
This API provides less information (only record ID) but is much fast in performance than the HcmWorker::getLegalEntities API.