Table

HcmEmploymentDetail

Employment detail

Holds dated details of an employment, such as start date, last date worked, termination date and notice periods. Each record is valid for a period set by its valid from and valid to dates. It also holds benefit data: employment status, type, category and payment frequency.

Table name
HcmEmploymentDetail
Module
Cross-module and platform
Table group
Main
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
HcmEmploymentDetail_AK1
Key fields
Employment, ValidFrom, ValidTo
Model
PersonnelManagement

Fields (25)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
EmploymentPoints to the employment record these details belong to.Int64
HcmEmploymentRecId
YesHcmEmployment.RecIdNone
ValidFromDate and time from which this record is valid.UtcDateTime
ValidFromDateTime
NoHcmEmploymentDetailEntityHcmContractorV2EntityHcmEmployeeV2Entityand 3 more
ValidToDate and time until which this record is valid.UtcDateTime
ValidToDateTime
NoHcmEmploymentDetailEntityHcmContractorV2EntityHcmEmployeeV2Entityand 3 more
AdjustedWorkerStartDateAdjusted start date of the worker.UtcDateTime
HcmEmploymentAdjStartDateTime
NoHcmEmploymentDetailEntityHcmContractorV2EntityHcmEmployeeV2Entityand 3 more
BenefitEmploymentCategoryRecIdPoints to the employment category.Int64
BenefitEmploymentCategoryRecId
NoBenefitEmploymentCategory.RecIdNone
BenefitEmploymentStatusEmployment status for benefits, such as Employed, Terminated, Retired or Leave of absence.Enum
BenefitEmploymentStatus (enum)
NoHcmEmploymentDetailEntity
BenefitEmploymentTypePoints to the employment type.Int64
BenefitEmploymentTypeRecId
NoBenefitEmploymentType.RecIdNone
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
EmployerNoticeAmountLength of notice the employer gives, counted in the employer unit.Integer
HcmEmployerNoticeAmount
NoHcmEmploymentDetailEntityHcmContractorV2EntityHcmEmployeeV2Entityand 3 more
EmployerUnitOfNoticeUnit for the employer notice, either Week or Month.Enum
HcmEmployerUnitOfNotice
HcmUnitOfNotice (enum)
NoHcmEmploymentDetailEntityHcmContractorV2EntityHcmEmployeeV2Entityand 3 more
LastDateWorkedLast date the worker worked.UtcDateTime
HcmEmploymentLastWorkedDateTime
NoHcmEmploymentDetailEntityHcmContractorV2EntityHcmEmployeeV2Entityand 3 more
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
PayFrequencyPoints to the payment frequency.Int64
BenefitPayFrequencyRecId
NoBenefitPayFrequency.RecIdHcmEmploymentDetailEntity
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
TransitionDateTermination date of the employment.UtcDateTime
HcmEmploymentTransitionDateTime
NoHcmEmploymentDetailEntityHcmContractorV2EntityHcmEmployeeV2Entityand 3 more
TransitionReasonCodePoints to the reason code for the termination.Int64
HcmReasonCodeRecId
NoHcmReasonCode.RecIdHcmContractorV2EntityHcmEmployeeV2EntityHcmContractorEntityand 2 more
WorkerNoticeAmountLength of notice the worker gives, counted in the worker unit.Integer
HcmWorkerNoticeAmount
NoHcmEmploymentDetailEntityHcmContractorV2EntityHcmEmployeeV2Entityand 3 more
WorkerStartDateStart date of the worker.UtcDateTime
HcmEmploymentStartDateTime
NoHcmEmploymentDetailEntityHcmContractorV2EntityHcmEmployeeV2Entityand 3 more
WorkerUnitOfNoticeUnit for the worker notice, either Week or Month.Enum
HcmWorkerUnitOfNotice
HcmUnitOfNotice (enum)
NoHcmEmploymentDetailEntityHcmContractorV2EntityHcmEmployeeV2Entityand 3 more

Indexes (1)

Relations (5)

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

  • HcmEmployment_FK → HcmEmployment

    Join on Employment = HcmEmployment.RecId

    Many HcmEmploymentDetail records → exactly one HcmEmployment record

  • HcmReasonCode_FK → HcmReasonCode

    Join on TransitionReasonCode = HcmReasonCode.RecId

    Many HcmEmploymentDetail records → zero or one HcmReasonCode record

  • BenefitEmploymentType_FK → BenefitEmploymentType

    Join on BenefitEmploymentType = BenefitEmploymentType.RecId

    Many HcmEmploymentDetail records → exactly one BenefitEmploymentType record

  • BenefitEmploymentCategory → BenefitEmploymentCategory

    Join on BenefitEmploymentCategoryRecId = BenefitEmploymentCategory.RecId

    Many HcmEmploymentDetail records → exactly one BenefitEmploymentCategory record

  • BenefitPayFrequency_FK → BenefitPayFrequency

    Join on PayFrequency = BenefitPayFrequency.RecId

    Many HcmEmploymentDetail records → zero or one BenefitPayFrequency record

Get this data out

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

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

Email sales@drdynamics.co.uk