Data entity

HcmEmploymentContractorEntity

Holds contractor details for an employment. Each row has a start and end date, a vendor and a purchase requisition. It links to the employment, the legal entity and the worker. The key combines personnel number, legal entity, employment dates and contractor dates.

Entity name
HcmEmploymentContractorEntity
Public entity name
EmploymentContractor
OData collection
EmploymentContractors
Category
Not set
Module
HRM
Read-only
No
Data management enabled
Yes
Configuration key
None
Keys
PersonnelNumber, EmploymentLegalEntityId, EmploymentStartDate, EmploymentEndDate, StartDate, EndDate
Staging table
HcmEmploymentContractorStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/EmploymentContractors
Dataverse virtual table
mserp_hcmemploymentcontractorentity. 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

  • HcmEmploymentContractor · root
  • HcmEmployment_FK (table HcmEmployment) · InnerJoin to HcmEmploymentContractor · read-only
  • CompanyInfo_FK (table CompanyInfo) · InnerJoin to HcmEmployment_FK · read-only
  • HcmWorker_FK (table HcmWorker) · InnerJoin to HcmEmployment_FK · read-only
  • PurchReq_FK (table PurchReqTable) · OuterJoin to HcmEmploymentContractor · read-only

Fields (14)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
EmploymentThe employment record this contractor row belongs to.Int64
HcmEmploymentRecId
YesNo (private)HcmEmployment.RecIdHcmEmploymentContractor.Employment
PurchaseOrderNumberThe purchase order linked to the contractor, used together with the vendor company.String (20)
PurchId
NoYesPurchTable.PurchIdHcmEmploymentContractor.PurchID
PurchReqTableThe purchase requisition linked to the contractor, stored as a system record ID.Int64
RefRecId
NoNo (private)PurchReqTable.RecIdHcmEmploymentContractor.PurchReqTable
StartDateDate and time from which this contractor record applies.UtcDateTime
ValidFromDateTime
YesYesHcmEmploymentContractor.ValidFrom
EndDateDate and time until which this contractor record applies.UtcDateTime
ValidToDateTime
YesYesHcmEmploymentContractor.ValidTo
VendorLegalEntityIdThe company (legal entity) in which the vendor and purchase order are held.String
DataAreaId
NoNo (private)HcmEmploymentContractor.VendorDataAreaID
VendorAccountNumberThe vendor account of the contractor's supplier.String (20)
VendAccount
NoYesVendTable.AccountNumHcmEmploymentContractor.VendorID
EmploymentLegalEntityPoints to the company (legal entity) that employs the worker.Int64
CompanyInfoRecId
YesNo (private)CompanyInfo.RecIdHcmEmployment.LegalEntity
EmploymentStartDateFirst date and time of the employment.UtcDateTime
HcmEmploymentValidFrom
YesYesHcmEmployment.ValidFrom
EmploymentEndDateLast date and time of the employment.UtcDateTime
HcmEmploymentValidTo
YesYesHcmEmployment.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
NoYesHcmWorker.PersonnelNumber
PurchaseRequisitionIdPurchase requisition number; the key of the table.String (25)
PurchReqId
NoYesPurchReqTable.PurchReqId
EmploymentLegalEntityIdCompany ID of the legal entity. It is the key.String
SelectableDataArea
YesYesCompanyInfo.DataArea

Foreign keys (6)

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

Email sales@drdynamics.co.uk