Table
HcmCompanyHeadquartersEstablishment
Headquarters establishment for company
Links a company (legal entity) to the regulatory establishment that is its headquarters. The key is the legal entity, so each company has at most one row. It points to CompanyInfo and HcmEEOEstablishment.
- Table name
HcmCompanyHeadquartersEstablishment- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
HRMAdministration- Primary index
None- Replacement key
Idx- Key fields
LegalEntity- Model
PersonnelManagement
Fields (6)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
LegalEntityPoints to the company (legal entity) that the headquarters establishment is set for. | Int64CompanyInfoRecId | Yes | CompanyInfo.RecId | None |
HeadquartersEstablishmentPoints to the regulatory establishment used as the company's headquarters. | Int64HcmEEOEstablishmentRecId | No | HcmEEOEstablishment.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
IdxReplacement keyUnique, alternate key.
Relations (3)
Each relation joins HcmCompanyHeadquartersEstablishment to another table on the fields shown.
CompanyInfo→CompanyInfoJoin on
LegalEntity = CompanyInfo.RecIdMany HcmCompanyHeadquartersEstablishment records → exactly one CompanyInfo record
HeadquartersEstablishment→HcmEEOEstablishmentJoin on
HeadquartersEstablishment = HcmEEOEstablishment.RecIdMany HcmCompanyHeadquartersEstablishment records → exactly one HcmEEOEstablishment record
HeadquartersEstablishmentDetail→HcmEEOEstablishmentDetailJoin on
LegalEntity = HcmEEOEstablishmentDetail.LegalEntity,HeadquartersEstablishment = HcmEEOEstablishmentDetail.EEOEstablishmentZero or one HcmCompanyHeadquartersEstablishment record → exactly one HcmEEOEstablishmentDetail record
Get this data out
No public entity reads from HcmCompanyHeadquartersEstablishment. Its data is only reachable through the application, a custom entity or a database export.
Need help with HcmCompanyHeadquartersEstablishment in a report, an integration or a migration? Talk to Dr Dynamics.