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 · root
  • HcmWorker · InnerJoin to LeaveAccrualSuspension · read-only
  • LeaveType · InnerJoin to LeaveAccrualSuspension · read-only
  • LeaveRequest · OuterJoin to LeaveAccrualSuspension · read-only
  • HcmReasonCode · OuterJoin to LeaveAccrualSuspension · read-only

Fields (12)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
WorkerThe worker whose accrual is suspended. Points to the worker record.Int64
HcmWorkerRecId
YesNo (private)HcmWorker.RecIdLeaveAccrualSuspension.Worker
LeaveTypeThe leave type affected. Points to the leave type record.Int64
LeaveTypeRecId
YesNo (private)LeaveType.RecIdLeaveAccrualSuspension.LeaveType
StartDateFirst date of the suspension.Date
LeaveStartDate
YesYesLeaveAccrualSuspension.StartDate
EndDateLast date of the suspension.Date
LeaveEndDate
YesYesLeaveAccrualSuspension.EndDate
LeaveRequestThe related leave request. Points to the leave request record.Int64
LeaveRequestRecId
NoNo (private)LeaveRequest.RecIdLeaveAccrualSuspension.LeaveRequest
CanceledYes/no flag showing whether the suspension is cancelled.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLeaveAccrualSuspension.Canceled
CommentFree-text comment on the suspension.String (-1)
HcmCommentMemo
NoYesLeaveAccrualSuspension.Comment
PersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
LeaveTypeIdShort name that identifies the leave type.String (30)
LeaveTypeId
YesYesLeaveType.Type
RequestIdIdentifier of the leave request.String (20)
LeaveRequestId
NoYesLeaveRequest.RequestId
ReasonCodeReason for the suspension. Points to the reason code record.Int64
HcmReasonCodeRecId
NoNo (private)HcmReasonCode.RecIdLeaveAccrualSuspension.ReasonCode
ReasonCodeIdCode that identifies the reason code.String (15)
HcmReasonCodeId
NoYesHcmReasonCode.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.

Need help with LeaveAccrualSuspensionEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk