Table

LeaveAccrualSuspension

Leave and absence accrual suspension

Records periods when leave accrual is suspended for a worker and leave type. Each record has a start and end date, may link to a leave request, and can be marked as cancelled. It also holds a comment and a reason code.

Table name
LeaveAccrualSuspension
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
WorkerTypeDateRequestIdx
Key fields
Worker, LeaveType, StartDate, EndDate, LeaveRequest, Canceled
Model
Leave

Fields (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
WorkerThe worker whose accrual is suspended. Points to the worker record.Int64
HcmWorkerRecId
YesHcmWorker.RecIdLeaveAccrualSuspensionEntity
LeaveTypeThe leave type affected. Points to the leave type record.Int64
LeaveTypeRecId
YesLeaveType.RecIdLeaveAccrualSuspensionEntity
StartDateFirst date of the suspension.Date
LeaveStartDate
YesLeaveAccrualSuspensionEntity
EndDateLast date of the suspension.Date
LeaveEndDate
YesLeaveAccrualSuspensionEntity
LeaveRequestThe related leave request. Points to the leave request record.Int64
LeaveRequestRecId
NoLeaveRequest.RecIdLeaveAccrualSuspensionEntity
CanceledYes/no flag showing whether the suspension is cancelled.Enum
NoYes (enum)
NoLeaveAccrualSuspensionEntity
CommentFree-text comment on the suspension.String (-1)
HcmCommentMemo
NoLeaveAccrualSuspensionEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ReasonCodeReason for the suspension. Points to the reason code record.Int64
HcmReasonCodeRecId
NoHcmReasonCode.RecIdLeaveAccrualSuspensionEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (4)

Each relation joins LeaveAccrualSuspension to another table on the fields shown.

  • HcmWorker → HcmWorker

    Join on Worker = HcmWorker.RecId

    Many LeaveAccrualSuspension records → exactly one HcmWorker record

  • LeaveType → LeaveType

    Join on LeaveType = LeaveType.RecId

    Many LeaveAccrualSuspension records → exactly one LeaveType record

  • LeaveRequest → LeaveRequest

    Join on LeaveRequest = LeaveRequest.RecId

    Many LeaveAccrualSuspension records → zero or one LeaveRequest record

  • ReasonCode → HcmReasonCode

    Join on ReasonCode = HcmReasonCode.RecId

    Many LeaveAccrualSuspension records → zero or one HcmReasonCode record

Get this data out

Tables are not exposed directly. These public entities read from LeaveAccrualSuspension; use one of them in Power BI, Power Platform or a data management project.

Need help with LeaveAccrualSuspension in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk