Data entity
HcmAbsenceCodeEntity
Holds the absence codes. Each code is the key and has a description, an absence group, a letter code and a pay type. It also has display settings (background colour, text colour, icon) and default financial dimension values.
- Entity name
HcmAbsenceCodeEntity- Public entity name
AbsenceCode- OData collection
AbsenceCodes- Category
Reference- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
HcmLeaveLegacy- Keys
AbsenceCode- Staging table
HcmAbsenceCodeStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/AbsenceCodes- Dataverse virtual table
mserp_hcmabsencecodeentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
HRMAbsenceCode· rootDimensionDAVS(tableDimensionSetEntity) · OuterJoin toHRMAbsenceCode· read-onlyMainAccountDAVC(tableDimensionCombinationEntity) · OuterJoin toHRMAbsenceCode· read-onlyOffsetAccountDAVC(tableDimensionCombinationEntity) · OuterJoin toHRMAbsenceCode· read-only
Fields (21)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
BackgroundColorBackground colour used to show the code. | IntegerCCColor | No | Yes | HRMAbsenceCode.backgroundColor | |
DescriptionShort text that describes the absence code. | String (60)HrmDescription | No | Yes | HRMAbsenceCode.description | |
TextColorText colour used to show the code. | IntegerCCColor | No | Yes | HRMAbsenceCode.foreColor | |
AbsenceGroupID of the absence group that the code belongs to. | StringHrmAbsenceCodeGroupId | Yes | Yes | HRMAbsenceCodeGroup.hrmAbsenceCodeGroupId | HRMAbsenceCode.hrmAbsenceCodeGroupId |
AbsenceCodeUnique ID of the absence code. | StringHrmAbsenceCodeId | Yes | Yes | HRMAbsenceCode.hrmAbsenceCodeId | |
DimensionDefault dimension values for the code, from the dimension code set. | Int64LedgerDefaultDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | HRMAbsenceCode.DefaultDimension |
LetterCodeSingle letter that stands for the absence code. | String (1)JmgAbsenceLetterCode | No | Yes | HRMAbsenceCode.JmgAbsenceLetterCode | |
MethodUnit used for the absence: hours or days. | Enum
| No | Yes | HRMAbsenceCode.JmgAbsenceMethodEnum | |
PayTypePay type linked to the absence code, from the pay types table. | StringJmgPayCostType | No | Yes | JmgPayTable.PayCostType | HRMAbsenceCode.JmgAbsencePayCType |
DaysNumber of days linked to pay for the absence.low confidence | RealJmgPayQty | No | Yes | HRMAbsenceCode.JmgAbsencePayQty | |
ColumnColumn number used for the code.low confidence | IntegerColumn | No | Yes | HRMAbsenceCode.JmgColIndex | |
ContinueAbsenceYes/No flag for continuing absence.low confidence | EnumJmgLabelContinousAbsence
| No | Yes | HRMAbsenceCode.JmgContinousAbsence | |
IconID of the icon shown for the code. | IntegerJmgIconId | No | Yes | HRMAbsenceCode.jmgIconId | |
IncludeInReportYes/No flag showing whether the code is included in reports. | Enum
| No | Yes | HRMAbsenceCode.JmgIncludeInReport | |
JobIdentificationJob ID linked to the absence code. | String (20)JmgJobId | No | Yes | HRMAbsenceCode.JmgJobId | |
RegistrationYes/No flag for registration of the absence code.low confidence | Enum
| No | Yes | HRMAbsenceCode.JmgSignIn | |
MainAccountMain account for the code, from the dimension code combination. | Int64LedgerDimensionDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | HRMAbsenceCode.LedgerDimension |
OffsetAccountOffset account for the code, from the dimension code combination. | Int64LedgerDimensionDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | HRMAbsenceCode.OffsetLedgerDimension |
DimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
MainAccountDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
OffsetAccountDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None |
Foreign keys (5)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
AbsenceGroup→HRMAbsenceCodeGroup.hrmAbsenceCodeGroupId(key of HRMAbsenceCodeGroup)Many HRMAbsenceCode records → exactly one HRMAbsenceCodeGroup record
HRMAbsenceCodeGroup details: see HcmAbsenceCodeGroupEntity
Dimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many HRMAbsenceCode records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
PayType→JmgPayTable.PayCostType(key of JmgPayTable)Many HRMAbsenceCode records → zero or one JmgPayTable record
Not exposed by a public entity.
MainAccount→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many HRMAbsenceCode records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
OffsetAccount→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many HRMAbsenceCode records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
Need help with HcmAbsenceCodeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.