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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
WorkerThe worker whose accrual is suspended. Points to the worker record. | Int64HcmWorkerRecId | Yes | HcmWorker.RecId | LeaveAccrualSuspensionEntity |
LeaveTypeThe leave type affected. Points to the leave type record. | Int64LeaveTypeRecId | Yes | LeaveType.RecId | LeaveAccrualSuspensionEntity |
StartDateFirst date of the suspension. | DateLeaveStartDate | Yes | LeaveAccrualSuspensionEntity | |
EndDateLast date of the suspension. | DateLeaveEndDate | Yes | LeaveAccrualSuspensionEntity | |
LeaveRequestThe related leave request. Points to the leave request record. | Int64LeaveRequestRecId | No | LeaveRequest.RecId | LeaveAccrualSuspensionEntity |
CanceledYes/no flag showing whether the suspension is cancelled. | EnumNoYes (enum) | No | LeaveAccrualSuspensionEntity | |
CommentFree-text comment on the suspension. | String (-1)HcmCommentMemo | No | LeaveAccrualSuspensionEntity | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ReasonCodeReason for the suspension. Points to the reason code record. | Int64HcmReasonCodeRecId | No | HcmReasonCode.RecId | LeaveAccrualSuspensionEntity |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
Relations (4)
Each relation joins LeaveAccrualSuspension to another table on the fields shown.
HcmWorker→HcmWorkerJoin on
Worker = HcmWorker.RecIdMany LeaveAccrualSuspension records → exactly one HcmWorker record
LeaveType→LeaveTypeJoin on
LeaveType = LeaveType.RecIdMany LeaveAccrualSuspension records → exactly one LeaveType record
LeaveRequest→LeaveRequestJoin on
LeaveRequest = LeaveRequest.RecIdMany LeaveAccrualSuspension records → zero or one LeaveRequest record
ReasonCode→HcmReasonCodeJoin on
ReasonCode = HcmReasonCode.RecIdMany 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.
LeaveAccrualSuspensionEntity· 8 fields from this table
Need help with LeaveAccrualSuspension in a report, an integration or a migration? Talk to Dr Dynamics.