Table

HcmEmploymentContractor

Employment contractor

Links an employment record to the vendor that supplies the contractor. It can also point to a purchase order and a purchase requisition. Each row applies for a validity period, so it is keyed by employment, start and end date and time.

Table name
HcmEmploymentContractor
Module
Human resource
Table group
Group
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
HcmEmploymentContractor_AK1
Key fields
Employment, ValidFrom, ValidTo
Model
Foundation

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
EmploymentThe employment record this contractor row belongs to.Int64
HcmEmploymentRecId
YesHcmEmployment.RecIdHcmEmploymentContractorEntity
ValidFromDate and time from which this contractor record applies.UtcDateTime
ValidFromDateTime
NoHcmEmploymentContractorEntityHcmContractorV2EntityHcmContractorEntity
ValidToDate and time until which this contractor record applies.UtcDateTime
ValidToDateTime
NoHcmEmploymentContractorEntityHcmContractorV2EntityHcmContractorEntity
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
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
PurchIDThe purchase order linked to the contractor, used together with the vendor company.String (20)
PurchId
NoPurchTable.PurchIdHcmEmploymentContractorEntityHcmContractorV2EntityHcmContractorEntity
PurchReqTableThe purchase requisition linked to the contractor, stored as a system record ID.Int64
RefRecId
NoPurchReqTable.RecIdHcmEmploymentContractorEntity
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
VendorDataAreaIDThe company (legal entity) in which the vendor and purchase order are held.String
DataAreaId
NoPurchTable.dataAreaIdVendTable.dataAreaIdHcmEmploymentContractorEntityHcmContractorV2EntityHcmContractorEntity
VendorIDThe vendor account of the contractor's supplier.String (20)
VendAccount
NoVendTable.AccountNumHcmEmploymentContractorEntityHcmContractorV2EntityHcmContractorEntity

Indexes (1)

Relations (4)

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

  • HcmEmployment_FK → HcmEmployment

    Join on Employment = HcmEmployment.RecId

    Many HcmEmploymentContractor records → exactly one HcmEmployment record

  • PurchReq_FK → PurchReqTable

    Join on PurchReqTable = PurchReqTable.RecId

    Many HcmEmploymentContractor records → zero or one PurchReqTable record

  • PurchTable → PurchTable

    Join on VendorDataAreaID = PurchTable.dataAreaId, PurchID = PurchTable.PurchId

    Many HcmEmploymentContractor records → zero or one PurchTable record

  • VendTable_FK → VendTable

    Join on VendorDataAreaID = VendTable.dataAreaId, VendorID = VendTable.AccountNum

    Many HcmEmploymentContractor records → zero or one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk