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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
EmploymentPoints to the employment record these details belong to. | Int64HcmEmploymentRecId | Yes | HcmEmployment.RecId | None |
ValidFromDate and time from which this record is valid. | UtcDateTimeValidFromDateTime | No | HcmEmploymentDetailEntityHcmContractorV2EntityHcmEmployeeV2Entityand 3 more | |
ValidToDate and time until which this record is valid. | UtcDateTimeValidToDateTime | No | HcmEmploymentDetailEntityHcmContractorV2EntityHcmEmployeeV2Entityand 3 more | |
AdjustedWorkerStartDateAdjusted start date of the worker. | UtcDateTimeHcmEmploymentAdjStartDateTime | No | HcmEmploymentDetailEntityHcmContractorV2EntityHcmEmployeeV2Entityand 3 more | |
BenefitEmploymentCategoryRecIdPoints to the employment category. | Int64BenefitEmploymentCategoryRecId | No | BenefitEmploymentCategory.RecId | None |
BenefitEmploymentStatusEmployment status for benefits, such as Employed, Terminated, Retired or Leave of absence. | EnumBenefitEmploymentStatus (enum) | No | HcmEmploymentDetailEntity | |
BenefitEmploymentTypePoints to the employment type. | Int64BenefitEmploymentTypeRecId | No | BenefitEmploymentType.RecId | None |
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 | |
EmployerNoticeAmountLength of notice the employer gives, counted in the employer unit. | IntegerHcmEmployerNoticeAmount | No | HcmEmploymentDetailEntityHcmContractorV2EntityHcmEmployeeV2Entityand 3 more | |
EmployerUnitOfNoticeUnit for the employer notice, either Week or Month. | EnumHcmEmployerUnitOfNoticeHcmUnitOfNotice (enum) | No | HcmEmploymentDetailEntityHcmContractorV2EntityHcmEmployeeV2Entityand 3 more | |
LastDateWorkedLast date the worker worked. | UtcDateTimeHcmEmploymentLastWorkedDateTime | No | HcmEmploymentDetailEntityHcmContractorV2EntityHcmEmployeeV2Entityand 3 more | |
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 | |
PayFrequencyPoints to the payment frequency. | Int64BenefitPayFrequencyRecId | No | BenefitPayFrequency.RecId | HcmEmploymentDetailEntity |
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 | |
TransitionDateTermination date of the employment. | UtcDateTimeHcmEmploymentTransitionDateTime | No | HcmEmploymentDetailEntityHcmContractorV2EntityHcmEmployeeV2Entityand 3 more | |
TransitionReasonCodePoints to the reason code for the termination. | Int64HcmReasonCodeRecId | No | HcmReasonCode.RecId | HcmContractorV2EntityHcmEmployeeV2EntityHcmContractorEntityand 2 more |
WorkerNoticeAmountLength of notice the worker gives, counted in the worker unit. | IntegerHcmWorkerNoticeAmount | No | HcmEmploymentDetailEntityHcmContractorV2EntityHcmEmployeeV2Entityand 3 more | |
WorkerStartDateStart date of the worker. | UtcDateTimeHcmEmploymentStartDateTime | No | HcmEmploymentDetailEntityHcmContractorV2EntityHcmEmployeeV2Entityand 3 more | |
WorkerUnitOfNoticeUnit for the worker notice, either Week or Month. | EnumHcmWorkerUnitOfNoticeHcmUnitOfNotice (enum) | No | HcmEmploymentDetailEntityHcmContractorV2EntityHcmEmployeeV2Entityand 3 more |
Indexes (1)
HcmEmploymentDetail_AK1Replacement keyEmployment,ValidFrom,ValidToUnique, alternate key.
Relations (5)
Each relation joins HcmEmploymentDetail to another table on the fields shown.
HcmEmployment_FK→HcmEmploymentJoin on
Employment = HcmEmployment.RecIdMany HcmEmploymentDetail records → exactly one HcmEmployment record
HcmReasonCode_FK→HcmReasonCodeJoin on
TransitionReasonCode = HcmReasonCode.RecIdMany HcmEmploymentDetail records → zero or one HcmReasonCode record
BenefitEmploymentType_FK→BenefitEmploymentTypeJoin on
BenefitEmploymentType = BenefitEmploymentType.RecIdMany HcmEmploymentDetail records → exactly one BenefitEmploymentType record
BenefitEmploymentCategory→BenefitEmploymentCategoryJoin on
BenefitEmploymentCategoryRecId = BenefitEmploymentCategory.RecIdMany HcmEmploymentDetail records → exactly one BenefitEmploymentCategory record
BenefitPayFrequency_FK→BenefitPayFrequencyJoin on
PayFrequency = BenefitPayFrequency.RecIdMany 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.
HcmEmploymentDetailEntity· 12 fields from this tableHcmContractorV2Entity· 11 fields from this tableHcmEmployeeV2Entity· 11 fields from this tableHcmContractorEntity· 11 fields from this tableHcmEmployeeEntity· 11 fields from this tableHcmEmploymentPerCompanyEntity· 11 fields from this table
Need help with HcmEmploymentDetail in a report, an integration or a migration? Talk to Dr Dynamics.