Table

HcmLeaveType

Leave types

Lists the leave types, each identified by a leave type code. Each type has a description and can point to an earning code from payroll.

Table name
HcmLeaveType
Module
Cross-module and platform
Table group
Reference
Table type
Regular
Data per company
No
Configuration key
HRMAdministration
Primary index
None
Replacement key
TypeIdx
Key fields
LeaveTypeID
Model
PersonnelManagement

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
LeaveTypeIDThe code that identifies the leave type.String (15)
HcmLeaveTypeId
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
descriptionShort text that describes the leave type.String (60)
HrmLeaveTypeDescription
NoNone
EarningCodeThe payroll earning code linked to this leave type.Int64
PayrollEarningCodeRecId
NoPayrollEarningCode.RecIdNone
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
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)

  • TypeIdxReplacement key

    LeaveTypeID

    Unique, alternate key.

Relations (1)

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

  • PayrollEarningCode → PayrollEarningCode

    Join on EarningCode = PayrollEarningCode.RecId

    Many HcmLeaveType records → exactly one PayrollEarningCode record

Get this data out

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

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

Email sales@drdynamics.co.uk