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 · root
  • OMHierarchyType · OuterJoin to OMRevisionEdit
  • OMChildOrganization (table OMInternalOrganization) · OuterJoin to OMRevisionEdit · read-only
  • CompanyInfo · Derived to OMChildOrganization
  • OMTeam · Derived to OMChildOrganization
  • OMOperatingUnit · Derived to OMChildOrganization
  • OMParentOrganization (table OMInternalOrganization) · OuterJoin to OMRevisionEdit · read-only
  • OMTeam1 (table OMTeam) · Derived to OMParentOrganization
  • CompanyInfo1 (table CompanyInfo) · Derived to OMParentOrganization
  • OMOperatingUnit1 (table OMOperatingUnit) · Derived to OMParentOrganization

Fields (11)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ChildOrganizationPoints to the child internal organization.Int64
RefRecId
NoNo (private)OMInternalOrganization.RecIdOMRevisionEdit.ChildOrganization
HierarchyPoints to the organization hierarchy.Int64
RefRecId
NoNo (private)OMHierarchyType.RecIdOMRevisionEdit.Hierarchy
ParentOrganizationPoints to the parent internal organization.Int64
RefRecId
NoNo (private)OMInternalOrganization.RecIdOMRevisionEdit.ParentOrganization
validFromDate and time from which the record is valid.UtcDateTime
ValidFromDateTime
NoYesOMRevisionEdit.validFrom
validToDate and time until which the record is valid.UtcDateTime
ValidToDateTime
NoYesOMRevisionEdit.validTo
HierarchyTypeName of the hierarchy type.String (60)
Name
YesYesOMHierarchyType.Name
ChildOrganizationNameFull name of the party.String (160)
DirPartyName
YesYesDirPartyTable.Name
ChildOrganizationPartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
NoYesDirPartyTable.PartyNumber
ParentOrganizationNameFull name of the party.String (160)
DirPartyName
NoYesDirPartyTable.Name
ParentOrganizationPartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
NoYesDirPartyTable.PartyNumber
RelationshipTypeRelationship type linked to the hierarchy.String (20)
DirRelationshipTypeId
NoYesDirRelationshipTypeTable.RelationshipTypeIdOMHierarchyType.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.

Need help with OMOrganizationHierarchyV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk