Table

HcmEmploymentLeave

Employee leave

Records periods of leave for an employment. Each record links an employment to a leave type and has a start date, an end date and a note. The fields employment, leave type and start date form the key. FMLA case association entities use it.

Table name
HcmEmploymentLeave
Module
Cross-module and platform
Table group
Group
Table type
Regular
Data per company
No
Configuration key
HRMAdministration
Primary index
None
Replacement key
HcmEmploymentLeave_AK1
Key fields
Employment, LeaveType, StartDate
Model
PersonnelManagement

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
EmploymentPoints to the employment record that the leave is for.Int64
HcmEmploymentRecId
YesHcmEmployment.RecIdNone
LeaveTypePoints to the type of leave taken.Int64
HcmLeaveTypeRecId
YesHcmLeaveType.RecIdNone
StartDateFirst date of the leave.Date
StartDate
YesHcmFMLACaseAssociationEntity
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
EndDateLast date of the leave.Date
EndDate
YesHcmFMLACaseAssociationEntity
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
NoteFree text note about the leave.String (-1)
Notes
NoHcmFMLACaseAssociationEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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 (2)

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

  • HcmEmployment_FK → HcmEmployment

    Join on Employment = HcmEmployment.RecId

    Many HcmEmploymentLeave records → exactly one HcmEmployment record

  • HcmLeaveType_FK → HcmLeaveType

    Join on LeaveType = HcmLeaveType.RecId

    Many HcmEmploymentLeave records → exactly one HcmLeaveType record

Get this data out

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

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

Email sales@drdynamics.co.uk