Data entity
LeaveAccrualSuspensionEntity
Holds periods when leave accrual is suspended for a worker and leave type. Each record has a start date, end date, comment and a cancelled flag. It can link to a leave request and a reason code.
- Entity name
LeaveAccrualSuspensionEntity- Public entity name
LeaveAccrualSuspension- OData collection
LeaveAccrualSuspensions- Category
Not set- Module
HRM- Read-only
No- Data management enabled
Yes- Configuration key
LeaveAbsence- Keys
PersonnelNumber, LeaveTypeId, StartDate, EndDate, RequestId, Canceled- Staging table
LeaveAccrualSuspensionStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/LeaveAccrualSuspensions- Dataverse virtual table
mserp_leaveaccrualsuspensionentity. 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
LeaveAccrualSuspension· rootHcmWorker· InnerJoin toLeaveAccrualSuspension· read-onlyLeaveType· InnerJoin toLeaveAccrualSuspension· read-onlyLeaveRequest· OuterJoin toLeaveAccrualSuspension· read-onlyHcmReasonCode· OuterJoin toLeaveAccrualSuspension· read-only
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
WorkerThe worker whose accrual is suspended. Points to the worker record. | Int64HcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | LeaveAccrualSuspension.Worker |
LeaveTypeThe leave type affected. Points to the leave type record. | Int64LeaveTypeRecId | Yes | No (private) | LeaveType.RecId | LeaveAccrualSuspension.LeaveType |
StartDateFirst date of the suspension. | DateLeaveStartDate | Yes | Yes | LeaveAccrualSuspension.StartDate | |
EndDateLast date of the suspension. | DateLeaveEndDate | Yes | Yes | LeaveAccrualSuspension.EndDate | |
LeaveRequestThe related leave request. Points to the leave request record. | Int64LeaveRequestRecId | No | No (private) | LeaveRequest.RecId | LeaveAccrualSuspension.LeaveRequest |
CanceledYes/no flag showing whether the suspension is cancelled. | Enum
| No | Yes | LeaveAccrualSuspension.Canceled | |
CommentFree-text comment on the suspension. | String (-1)HcmCommentMemo | No | Yes | LeaveAccrualSuspension.Comment | |
PersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
LeaveTypeIdShort name that identifies the leave type. | String (30)LeaveTypeId | Yes | Yes | LeaveType.Type | |
RequestIdIdentifier of the leave request. | String (20)LeaveRequestId | No | Yes | LeaveRequest.RequestId | |
ReasonCodeReason for the suspension. Points to the reason code record. | Int64HcmReasonCodeRecId | No | No (private) | HcmReasonCode.RecId | LeaveAccrualSuspension.ReasonCode |
ReasonCodeIdCode that identifies the reason code. | String (15)HcmReasonCodeId | No | Yes | HcmReasonCode.ReasonCodeId |
Foreign keys (4)
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.
Worker→HcmWorker.RecId(key of HcmWorker)Many LeaveAccrualSuspension records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
LeaveType→LeaveType.RecId(key of LeaveType)Many LeaveAccrualSuspension records → exactly one LeaveType record
LeaveType details: see LeaveTypeEntity, EssLeaveBalanceEntity, LeaveBalanceActiveEntity
LeaveRequest→LeaveRequest.RecId(key of LeaveRequest)Many LeaveAccrualSuspension records → zero or one LeaveRequest record
LeaveRequest details: see LeaveOfAbsenceRequestEntity, LeaveRequestEntity, LeaveRequestV2Entity
ReasonCode→HcmReasonCode.RecId(key of HcmReasonCode)Many LeaveAccrualSuspension records → zero or one HcmReasonCode record
HcmReasonCode details: see HcmReasonCodeEntity, BenefitParametersV2Entity, BenefitPlanEmployeeV2Entity
Need help with LeaveAccrualSuspensionEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.