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 descriptionType / EDT / enumMandatoryReferencesIn public entities
LegalEntityPoints to the company (legal entity) that the headquarters establishment is set for.Int64
CompanyInfoRecId
YesCompanyInfo.RecIdNone
HeadquartersEstablishmentPoints to the regulatory establishment used as the company's headquarters.Int64
HcmEEOEstablishmentRecId
NoHcmEEOEstablishment.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • CompanyInfo → CompanyInfo

    Join on LegalEntity = CompanyInfo.RecId

    Many HcmCompanyHeadquartersEstablishment records → exactly one CompanyInfo record

  • HeadquartersEstablishment → HcmEEOEstablishment

    Join on HeadquartersEstablishment = HcmEEOEstablishment.RecId

    Many HcmCompanyHeadquartersEstablishment records → exactly one HcmEEOEstablishment record

  • HeadquartersEstablishmentDetail → HcmEEOEstablishmentDetail

    Join on LegalEntity = HcmEEOEstablishmentDetail.LegalEntity, HeadquartersEstablishment = HcmEEOEstablishmentDetail.EEOEstablishment

    Zero 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.

Email sales@drdynamics.co.uk