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 · root
  • DimensionDAVS (table DimensionSetEntity) · OuterJoin to HRMAbsenceCode · read-only
  • MainAccountDAVC (table DimensionCombinationEntity) · OuterJoin to HRMAbsenceCode · read-only
  • OffsetAccountDAVC (table DimensionCombinationEntity) · OuterJoin to HRMAbsenceCode · read-only

Fields (21)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
BackgroundColorBackground colour used to show the code.Integer
CCColor
NoYesHRMAbsenceCode.backgroundColor
DescriptionShort text that describes the absence code.String (60)
HrmDescription
NoYesHRMAbsenceCode.description
TextColorText colour used to show the code.Integer
CCColor
NoYesHRMAbsenceCode.foreColor
AbsenceGroupID of the absence group that the code belongs to.String
HrmAbsenceCodeGroupId
YesYesHRMAbsenceCodeGroup.hrmAbsenceCodeGroupIdHRMAbsenceCode.hrmAbsenceCodeGroupId
AbsenceCodeUnique ID of the absence code.String
HrmAbsenceCodeId
YesYesHRMAbsenceCode.hrmAbsenceCodeId
DimensionDefault dimension values for the code, from the dimension code set.Int64
LedgerDefaultDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdHRMAbsenceCode.DefaultDimension
LetterCodeSingle letter that stands for the absence code.String (1)
JmgAbsenceLetterCode
NoYesHRMAbsenceCode.JmgAbsenceLetterCode
MethodUnit used for the absence: hours or days.Enum
JmgAbsenceMethodEnum
  • Hours 0
  • Qty 1
NoYesHRMAbsenceCode.JmgAbsenceMethodEnum
PayTypePay type linked to the absence code, from the pay types table.String
JmgPayCostType
NoYesJmgPayTable.PayCostTypeHRMAbsenceCode.JmgAbsencePayCType
DaysNumber of days linked to pay for the absence.low confidenceReal
JmgPayQty
NoYesHRMAbsenceCode.JmgAbsencePayQty
ColumnColumn number used for the code.low confidenceInteger
Column
NoYesHRMAbsenceCode.JmgColIndex
ContinueAbsenceYes/No flag for continuing absence.low confidenceEnum
JmgLabelContinousAbsence
NoYes

Platform enum: values not in the metadata extract.

NoYesHRMAbsenceCode.JmgContinousAbsence
IconID of the icon shown for the code.Integer
JmgIconId
NoYesHRMAbsenceCode.jmgIconId
IncludeInReportYes/No flag showing whether the code is included in reports.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesHRMAbsenceCode.JmgIncludeInReport
JobIdentificationJob ID linked to the absence code.String (20)
JmgJobId
NoYesHRMAbsenceCode.JmgJobId
RegistrationYes/No flag for registration of the absence code.low confidenceEnum
NoYes

Platform enum: values not in the metadata extract.

NoYesHRMAbsenceCode.JmgSignIn
MainAccountMain account for the code, from the dimension code combination.Int64
LedgerDimensionDefaultAccount
NoNo (private)DimensionAttributeValueCombination.RecIdHRMAbsenceCode.LedgerDimension
OffsetAccountOffset account for the code, from the dimension code combination.Int64
LedgerDimensionDefaultAccount
NoNo (private)DimensionAttributeValueCombination.RecIdHRMAbsenceCode.OffsetLedgerDimension
DimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
MainAccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
OffsetAccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone

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.

Email sales@drdynamics.co.uk