Data entity
VivaIntEssEmploymentLegalEntity
Read-only employment details for employee self-service, showing the legal entity for each worker's employment. It joins employments, legal entities, workers and people. The key is the personnel number and the valid-from date.
- Entity name
VivaIntEssEmploymentLegalEntity- Public entity name
VivaIntEssEmploymentLegal- OData collection
VivaIntEssEmploymentLegals- Category
Not set- Module
Other (no module in the metadata)- Read-only
Yes- Data management enabled
Yes- Configuration key
None- Keys
PersonnelNumber, ValidFrom- Staging table
VivaIntEssEmploymentLegalStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/VivaIntEssEmploymentLegals- Dataverse virtual table
mserp_vivaintessemploymentlegalentity. 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
HcmEmployment· rootCompanyInfo_FK(tableCompanyInfo) · InnerJoin toHcmEmployment· read-onlyHcmWorker_FK(tableHcmWorker) · InnerJoin toHcmEmployment· read-onlyDirPerson_FK(tableDirPerson) · InnerJoin toHcmWorker_FK· read-only
Fields (7)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
WorkerPoints to the worker who holds this employment. | Int64HcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | HcmEmployment.Worker |
LegalEntityNameFull name of the party. | String (160)DirPartyName | Yes | Yes | DirPartyTable.Name | |
LegalEntityPoints to the company (legal entity) that employs the worker. | Int64CompanyInfoRecId | Yes | No (private) | CompanyInfo.RecId | HcmEmployment.LegalEntity |
LegalEntityIdCompany ID of the legal entity. It is the key. | StringSelectableDataArea | Yes | Yes | CompanyInfo.DataArea | |
PersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
ValidFromFirst date and time of the employment. | UtcDateTimeHcmEmploymentValidFrom | No | Yes | HcmEmployment.ValidFrom | |
ValidToLast date and time of the employment. | UtcDateTimeHcmEmploymentValidTo | No | No (private) | HcmEmployment.ValidTo |
Foreign keys (2)
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.
Worker→HcmWorker.RecId(key of HcmWorker)One or more HcmEmployment records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
LegalEntity→CompanyInfo.RecId(key of CompanyInfo)Many HcmEmployment records → exactly one CompanyInfo record
CompanyInfo details: see BusinessDocumentSalesInvoiceBaseEntity, TrvExpMobileCompanyInfoV2Entity, OMLegalEntity
Need help with VivaIntEssEmploymentLegalEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.