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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
EmploymentThe employment record this contractor row belongs to. | Int64HcmEmploymentRecId | Yes | HcmEmployment.RecId | HcmEmploymentContractorEntity |
ValidFromDate and time from which this contractor record applies. | UtcDateTimeValidFromDateTime | No | HcmEmploymentContractorEntityHcmContractorV2EntityHcmContractorEntity | |
ValidToDate and time until which this contractor record applies. | UtcDateTimeValidToDateTime | No | HcmEmploymentContractorEntityHcmContractorV2EntityHcmContractorEntity | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PurchIDThe purchase order linked to the contractor, used together with the vendor company. | String (20)PurchId | No | PurchTable.PurchId | HcmEmploymentContractorEntityHcmContractorV2EntityHcmContractorEntity |
PurchReqTableThe purchase requisition linked to the contractor, stored as a system record ID. | Int64RefRecId | No | PurchReqTable.RecId | HcmEmploymentContractorEntity |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
VendorDataAreaIDThe company (legal entity) in which the vendor and purchase order are held. | StringDataAreaId | No | PurchTable.dataAreaIdVendTable.dataAreaId | HcmEmploymentContractorEntityHcmContractorV2EntityHcmContractorEntity |
VendorIDThe vendor account of the contractor's supplier. | String (20)VendAccount | No | VendTable.AccountNum | HcmEmploymentContractorEntityHcmContractorV2EntityHcmContractorEntity |
Indexes (1)
HcmEmploymentContractor_AK1Replacement keyEmployment,ValidFrom,ValidToUnique, alternate key.
Relations (4)
Each relation joins HcmEmploymentContractor to another table on the fields shown.
HcmEmployment_FK→HcmEmploymentJoin on
Employment = HcmEmployment.RecIdMany HcmEmploymentContractor records → exactly one HcmEmployment record
PurchReq_FK→PurchReqTableJoin on
PurchReqTable = PurchReqTable.RecIdMany HcmEmploymentContractor records → zero or one PurchReqTable record
PurchTable→PurchTableJoin on
VendorDataAreaID = PurchTable.dataAreaId,PurchID = PurchTable.PurchIdMany HcmEmploymentContractor records → zero or one PurchTable record
VendTable_FK→VendTableJoin on
VendorDataAreaID = VendTable.dataAreaId,VendorID = VendTable.AccountNumMany 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.
HcmEmploymentContractorEntity· 7 fields from this tableHcmContractorV2Entity· 5 fields from this tableHcmContractorEntity· 5 fields from this table
Need help with HcmEmploymentContractor in a report, an integration or a migration? Talk to Dr Dynamics.