HcmWorker::getLegalEntityRecIds Method

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

Syntax

client server public static container getLegalEntityRecIds(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 CompanyInfo records that are associated with the worker.

Remarks

This API provides less information (only record ID) but is much fast in performance than the HcmWorker::getLegalEntities API.

See Also

Reference

HcmWorker Table