Data entity
OMOrganizationHierarchyV2Entity
Holds the parent and child links of organization hierarchies in the version being edited, in a second version. It is keyed by hierarchy type, child party number and the valid-from and valid-to dates. Child and parent can be a legal entity, operating unit or team.
- Entity name
OMOrganizationHierarchyV2Entity- Public entity name
OrganizationHierarchyV2- OData collection
OrganizationHierarchiesV2- Category
Not set- Module
GAB- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
HierarchyType, ChildOrganizationPartyNumber, validFrom, validTo- Staging table
OMOrganizationHierarchyV2Staging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/OrganizationHierarchiesV2- Dataverse virtual table
mserp_omorganizationhierarchyv2entity. 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
OMRevisionEdit· rootOMHierarchyType· OuterJoin toOMRevisionEditOMChildOrganization(tableOMInternalOrganization) · OuterJoin toOMRevisionEdit· read-onlyCompanyInfo· Derived toOMChildOrganizationOMTeam· Derived toOMChildOrganizationOMOperatingUnit· Derived toOMChildOrganizationOMParentOrganization(tableOMInternalOrganization) · OuterJoin toOMRevisionEdit· read-onlyOMTeam1(tableOMTeam) · Derived toOMParentOrganizationCompanyInfo1(tableCompanyInfo) · Derived toOMParentOrganizationOMOperatingUnit1(tableOMOperatingUnit) · Derived toOMParentOrganization
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ChildOrganizationPoints to the child internal organization. | Int64RefRecId | No | No (private) | OMInternalOrganization.RecId | OMRevisionEdit.ChildOrganization |
HierarchyPoints to the organization hierarchy. | Int64RefRecId | No | No (private) | OMHierarchyType.RecId | OMRevisionEdit.Hierarchy |
ParentOrganizationPoints to the parent internal organization. | Int64RefRecId | No | No (private) | OMInternalOrganization.RecId | OMRevisionEdit.ParentOrganization |
validFromDate and time from which the record is valid. | UtcDateTimeValidFromDateTime | No | Yes | OMRevisionEdit.validFrom | |
validToDate and time until which the record is valid. | UtcDateTimeValidToDateTime | No | Yes | OMRevisionEdit.validTo | |
HierarchyTypeName of the hierarchy type. | String (60)Name | Yes | Yes | OMHierarchyType.Name | |
ChildOrganizationNameFull name of the party. | String (160)DirPartyName | Yes | Yes | DirPartyTable.Name | |
ChildOrganizationPartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | No | Yes | DirPartyTable.PartyNumber | |
ParentOrganizationNameFull name of the party. | String (160)DirPartyName | No | Yes | DirPartyTable.Name | |
ParentOrganizationPartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | No | Yes | DirPartyTable.PartyNumber | |
RelationshipTypeRelationship type linked to the hierarchy. | String (20)DirRelationshipTypeId | No | Yes | DirRelationshipTypeTable.RelationshipTypeId | OMHierarchyType.RelationshipType |
Foreign keys (4)
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.
ChildOrganization→OMInternalOrganization.RecId(key of OMInternalOrganization)Many OMRevisionEdit records → zero or one OMInternalOrganization record
OMInternalOrganization details: see OMDepartmentEntity, OMDepartmentV2Entity, SystemSecurityUserRoleOrganizationEntity
Hierarchy→OMHierarchyType.RecId(key of OMHierarchyType)Many OMRevisionEdit records → zero or one OMHierarchyType record
OMHierarchyType details: see OMOrganizationHierarchyEntity, OMOrganizationHierarchyPublishedEntity, OMOrganizationHierarchyPublishedV2Entity
ParentOrganization→OMInternalOrganization.RecId(key of OMInternalOrganization)Many OMRevisionEdit records → zero or one OMInternalOrganization record
OMInternalOrganization details: see OMDepartmentEntity, OMDepartmentV2Entity, SystemSecurityUserRoleOrganizationEntity
RelationshipType→DirRelationshipTypeTable.RelationshipTypeId(key of DirRelationshipTypeTable)Many OMHierarchyType records → zero or one DirRelationshipTypeTable record
DirRelationshipTypeTable details: see DirRelationshipTypeEntity, DirPartyRelationshipEntity, OMTeamMemberEntity
Need help with OMOrganizationHierarchyV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.