Data entity
EssLeaveTypeReasonCodeEntity
Read-only list of the reason codes allowed for each leave type. Each row pairs a leave type ID with a reason code ID. It also shows the reason code description.
- Entity name
EssLeaveTypeReasonCodeEntity- Public entity name
EssLeaveTypeReasonCode- OData collection
EssLeaveTypeReasonCodes- Category
Reference- Module
HRM- Read-only
Yes- Data management enabled
No- Configuration key
None- Keys
LeaveTypeId, ReasonCodeId- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/EssLeaveTypeReasonCodes- Dataverse virtual table
mserp_essleavetypereasoncodeentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Not enabled for import and export projects.
Data sources
LeaveTypeReasonCode· rootLeaveType· InnerJoin toLeaveTypeReasonCode· read-onlyReasonCode(tableHcmReasonCode) · InnerJoin toLeaveTypeReasonCode· read-only
Fields (5)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ReasonCodePoints to the reason code linked to the leave type. | Int64HcmReasonCodeRecId | Yes | No (private) | HcmReasonCode.RecId | LeaveTypeReasonCode.ReasonCode |
LeaveTypePoints to the leave type that the reason code is linked to. | Int64LeaveTypeRecId | Yes | No (private) | LeaveType.RecId | LeaveTypeReasonCode.Type |
LeaveTypeIdShort name that identifies the leave type. | String (30)LeaveTypeId | Yes | Yes | LeaveType.Type | |
ReasonCodeIdCode that identifies the reason code. | String (15)HcmReasonCodeId | Yes | Yes | HcmReasonCode.ReasonCodeId | |
DescriptionShort text describing the reason code. | String (60)HrmDescription | Yes | Yes | HcmReasonCode.Description |
Foreign keys (2)
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.
ReasonCode→HcmReasonCode.RecId(key of HcmReasonCode)Many LeaveTypeReasonCode records → exactly one HcmReasonCode record
HcmReasonCode details: see HcmReasonCodeEntity, BenefitParametersV2Entity, BenefitPlanEmployeeV2Entity
LeaveType→LeaveType.RecId(key of LeaveType)Many LeaveTypeReasonCode records → exactly one LeaveType record
LeaveType details: see LeaveTypeEntity, EssLeaveBalanceEntity, LeaveBalanceActiveEntity
Need help with EssLeaveTypeReasonCodeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.