Table

HcmEmployment

Employment

Records a worker's employment with a company, with a start and end date. Each row links a worker to a legal entity and shows whether the worker is an employee or a contractor. It can also link to a regulatory establishment and a default dimension set.

Table name
HcmEmployment
Module
Cross-module and platform
Table group
Main
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
HcmEmployment_AK1
Key fields
Worker, LegalEntity, ValidFrom, ValidTo
Model
PersonnelCore

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
WorkerPoints to the worker who holds this employment.Int64
HcmWorkerRecId
YesHcmWorker.RecIdHcmEmploymentV2EntityHcmEmploymentEntityHcmEmploymentPerCompanyEntityand 7 more
LegalEntityPoints to the company (legal entity) that employs the worker.Int64
CompanyInfoRecId
YesCompanyInfo.RecIdHcmEmploymentV2EntityHcmEmploymentEntityHcmEmploymentPerCompanyEntityand 11 more
ValidFromFirst date and time of the employment.UtcDateTime
HcmEmploymentValidFrom
NoHcmEmploymentV2EntityHcmEmploymentEntityHcmEmploymentPerCompanyEntityand 19 more
ValidToLast date and time of the employment.UtcDateTime
HcmEmploymentValidTo
NoHcmEmploymentV2EntityHcmEmploymentEntityHcmEmploymentPerCompanyEntityand 18 more
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
DefaultDimensionPoints to the set of dimension values used by default for this employment.Int64
HcmDefaultDimension
NoDimensionAttributeValueSet.RecIdHcmEmploymentV2EntityHcmEmploymentEntityHcmEmploymentPerCompanyEntityand 4 more
EEOEstablishmentPoints to the regulatory establishment linked to this employment.Int64
HcmEEOEstablishmentRecId
NoHcmEEOEstablishment.RecIdHcmEmploymentV2EntityHcmEmploymentEntityHcmEmploymentPerCompanyEntityand 4 more
EmploymentIdIdentifier of the employment.String (40)
HcmEmploymentId
NoHcmEmploymentV2EntityPayrollEmployeeV2EntityHcmContractorV2Entityand 2 more
EmploymentTypeTells whether the worker is an employee or a contractor.Enum
HcmEmploymentType (enum)
YesHcmEmploymentV2EntityHcmEmploymentEntityHcmEmploymentPerCompanyEntityand 5 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
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 (2)

Relations (4)

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

  • CompanyInfo_FK → CompanyInfo

    Join on LegalEntity = CompanyInfo.RecId

    Many HcmEmployment records → exactly one CompanyInfo record

  • DimensionAttributeValueSet_FK → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many HcmEmployment records → zero or one DimensionAttributeValueSet record

  • HcmWorker_FK → HcmWorker

    Join on Worker = HcmWorker.RecId

    One or more HcmEmployment records → exactly one HcmWorker record

  • HcmEEOEstablishment → HcmEEOEstablishment

    Join on EEOEstablishment = HcmEEOEstablishment.RecId

    Many HcmEmployment records → zero or one HcmEEOEstablishment record

Get this data out

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

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

Email sales@drdynamics.co.uk