Data entity

HcmEmploymentV2Entity

Lists employments of workers in each legal entity, identified by an employment ID. It shows start and end dates, worker type, regulatory establishment, default dimension display value and the worker calendar assigned. It differs from the earlier employment entity by using the employment ID in its key.

Entity name
HcmEmploymentV2Entity
Public entity name
EmploymentV2
OData collection
EmploymentsV2
Category
Not set
Module
HRM
Read-only
No
Data management enabled
Yes
Configuration key
None
Keys
PersonnelNumber, LegalEntityId, EmploymentId
Staging table
HcmEmploymentV2Staging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/EmploymentsV2
Dataverse virtual table
mserp_hcmemploymentv2entity. 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
  • WorkCalendarEmployment · OuterJoin to HcmEmployment

Fields (14)

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
EmploymentIdIdentifier of the employment.String (40)
HcmEmploymentId
NoYesHcmEmployment.EmploymentId
CalendarIdCalendar assigned to the employment.String
CalendarId
NoYesWorkCalendarTable.CalendarIdWorkCalendarEmployment.CalendarId
CalendarLegalEntityIdCompany that owns the assigned calendar.String
DataAreaId
NoYesWorkCalendarEmployment.CalendarDataAreaId

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 HcmEmploymentV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk