HcmWorker.getDefaultDimension Method
Gets the default dimension that is associated with the current worker, according to their oldest, active employment or the supplied parameters.
public DimensionDefault getDefaultDimension([CompanyInfoRecId _legalEntity, utcdatetime _asOfDate])
Called
- _legalEntity
Type: CompanyInfoRecId Extended Data Type
Specifies the legal entity to use when looking up the HcmEmployment record.
- _asOfDate
Type: utcdatetime
The point in time that will be used for the selection criteria.
Type: DimensionDefault Extended Data Type
The DimensionDefault to the DimensionAttributeValueSet table that is associated to this worker for the specified employment.
Using the defaults, the oldest, active employment will be used to find the default dimension.