Data entity

HcmEmploymentPerCompanyEntity

Combines employment records with their employment detail, employee detail and reason code in one row per employment. It shows dates, termination date, notice period, probation period, worker type, regulatory establishment and default dimension display value. The key is personnel number and employment start date.

Entity name
HcmEmploymentPerCompanyEntity
Public entity name
EmploymentPerCompany
OData collection
EmploymentsPerCompany
Category
Not set
Module
HRM
Read-only
No
Data management enabled
Yes
Configuration key
None
Keys
PersonnelNumber, EmploymentStartDate
Staging table
HcmEmploymentPerCompanyStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/EmploymentsPerCompany
Dataverse virtual table
mserp_hcmemploymentpercompanyentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • HcmEmployment · root
  • CompanyInfo_FK (table CompanyInfo) · InnerJoin to HcmEmployment · read-only
  • HcmEEOEstablishment · OuterJoin to HcmEmployment · read-only
  • HcmWorker_FK (table HcmWorker) · InnerJoin to HcmEmployment · read-only
  • DimensionDAVS (table DimensionSetEntity) · OuterJoin to HcmEmployment · read-only
  • HcmEmploymentDetail · OuterJoin to HcmEmployment
  • HcmReasonCode · OuterJoin to HcmEmploymentDetail · read-only
  • HcmEmploymentEmployee · OuterJoin to HcmEmployment

Fields (26)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
DimensionPoints to the set of dimension values used by default for this employment.Int64
HcmDefaultDimension
NoNo (private)DimensionAttributeValueSet.RecIdHcmEmployment.DefaultDimension
DimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
RegulatoryEstablishmentPoints to the regulatory establishment linked to this employment.Int64
HcmEEOEstablishmentRecId
NoNo (private)HcmEEOEstablishment.RecIdHcmEmployment.EEOEstablishment
RegulatoryEstablishmentIdName that identifies the regulatory establishment.String (30)
HcmEEOEstablishmentName
NoYesHcmEEOEstablishment.EEOEstablishment
WorkerTypeTells whether the worker is an employee or a contractor.Enum
HcmEmploymentType
  • Employee 0
  • Contractor 1
YesYesHcmEmployment.EmploymentType
LegalEntityPoints to the company (legal entity) that employs the worker.Int64
CompanyInfoRecId
YesNo (private)CompanyInfo.RecIdHcmEmployment.LegalEntity
LegalEntityIdCompany ID of the legal entity. It is the key.String
SelectableDataArea
YesYesCompanyInfo.DataArea
EmploymentStartDateFirst date and time of the employment.UtcDateTime
HcmEmploymentValidFrom
YesYesHcmEmployment.ValidFrom
EmploymentEndDateLast date and time of the employment.UtcDateTime
HcmEmploymentValidTo
NoYesHcmEmployment.ValidTo
WorkerPoints to the worker who holds this employment.Int64
HcmWorkerRecId
YesNo (private)HcmWorker.RecIdHcmEmployment.Worker
PersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
YesYesHcmWorker.PersonnelNumber
TransitionDateTermination date of the employment.UtcDateTime
HcmEmploymentTransitionDateTime
NoYesHcmEmploymentDetail.TransitionDate
AdjustedWorkerStartDateAdjusted start date of the worker.UtcDateTime
HcmEmploymentAdjStartDateTime
NoYesHcmEmploymentDetail.AdjustedWorkerStartDate
EmployerNoticeAmountLength of notice the employer gives, counted in the employer unit.Integer
HcmEmployerNoticeAmount
NoYesHcmEmploymentDetail.EmployerNoticeAmount
EmployerUnitOfNoticeUnit for the employer notice, either Week or Month.Enum
HcmEmployerUnitOfNotice
HcmUnitOfNotice
  • Week 0
  • Month 1
NoYesHcmEmploymentDetail.EmployerUnitOfNotice
ValidFromDate and time from which this record is valid.UtcDateTime
ValidFromDateTime
NoYesHcmEmploymentDetail.ValidFrom
ValidToDate and time until which this record is valid.UtcDateTime
ValidToDateTime
NoYesHcmEmploymentDetail.ValidTo
ProbationEndDateDate and time when the probation period ends.UtcDateTime
HcmEmploymentProbationEndDateTime
NoYesHcmEmploymentEmployee.ProbationEndDate
EmploymentEmployeeValidFromDate and time from which this record is valid.UtcDateTime
ValidFromDateTime
NoYesHcmEmploymentEmployee.ValidFrom
EmploymentEmployeeValidToDate and time until which this record is valid.UtcDateTime
ValidToDateTime
NoYesHcmEmploymentEmployee.ValidTo
WorkerUnitOfNoticeUnit for the worker notice, either Week or Month.Enum
HcmWorkerUnitOfNotice
HcmUnitOfNotice
  • Week 0
  • Month 1
NoYesHcmEmploymentDetail.WorkerUnitOfNotice
WorkerStartDateStart date of the worker.UtcDateTime
HcmEmploymentStartDateTime
NoYesHcmEmploymentDetail.WorkerStartDate
WorkerNoticeAmountLength of notice the worker gives, counted in the worker unit.Integer
HcmWorkerNoticeAmount
NoYesHcmEmploymentDetail.WorkerNoticeAmount
LastDateWorkedLast date the worker worked.UtcDateTime
HcmEmploymentLastWorkedDateTime
NoYesHcmEmploymentDetail.LastDateWorked
TransitionReasonCodeNameCode that identifies the reason code.String (15)
HcmReasonCodeId
NoYesHcmReasonCode.ReasonCodeId
TransitionReasonCodePoints to the reason code for the termination.Int64
HcmReasonCodeRecId
NoYesHcmReasonCode.RecIdHcmEmploymentDetail.TransitionReasonCode

Foreign keys (5)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

Need help with HcmEmploymentPerCompanyEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk