HcmWorker.getDefaultDimension Method
Gets the default dimension that is associated with the current worker, according to their oldest, active employment or the supplied parameters.
Syntax
public DimensionDefault getDefaultDimension([CompanyInfoRecId _legalEntity, utcdatetime _asOfDate])
Run On
Called
Parameters
- _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.
Return Value
Type: DimensionDefault Extended Data Type
The DimensionDefault to the DimensionAttributeValueSet table that is associated to this worker for the specified employment.
Remarks
Using the defaults, the oldest, active employment will be used to find the default dimension.