Share via


HcmWorker::getLegalEntity Method

Retrieves the oldest CompanyInfo record for an HcmWorker object, if it exists.

Syntax

client server public static CompanyInfo getLegalEntity(HcmWorkerRecId _workerRecId, [utcdatetime _asOfDate])

Run On

Called

Parameters

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

Return Value

Type: CompanyInfo Table
The oldest CompanyInfo record of the worker, if one exists.

See Also

Reference

HcmWorker Table