Data entity

CustomerHierarchyNodeEntity

Nodes within a customer hierarchy. Each node is identified by the hierarchy ID and the party number of the node. It shows the node type, role, version and the version in which it was removed.

Entity name
CustomerHierarchyNodeEntity
Public entity name
CustomerHierarchyNode
OData collection
CustomerHierarchyNodes
Category
Not set
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
LedgerBasic
Keys
CustomerHierarchyId, NodePartyNumber
Staging table
CustomerHierarchyNodeStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/CustomerHierarchyNodes
Dataverse virtual table
mserp_customerhierarchynodeentity. 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

  • CustHierarchyNode · root
  • CustHierarchyNodeActiveView · InnerJoin to CustHierarchyNode · read-only
  • NodeParty (table DirPartyTable) · InnerJoin to CustHierarchyNode · read-only
  • DirPerson1 (table DirPerson) · Derived to NodeParty
  • DirOrganizationBase1 (table DirOrganizationBase) · Derived to NodeParty
  • OMInternalOrganization1 (table OMInternalOrganization) · Derived to DirOrganizationBase1
  • OMOperatingUnit1 (table OMOperatingUnit) · Derived to OMInternalOrganization1
  • OMTeam1 (table OMTeam) · Derived to OMInternalOrganization1
  • CompanyInfo1 (table CompanyInfo) · Derived to OMInternalOrganization1
  • DirOrganization1 (table DirOrganization) · Derived to DirOrganizationBase1

Fields (8)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
PartyRecIdParty of the node in the global address book.Int64
DirPartyRecId
YesNo (private)DirPartyTable.RecIdCustHierarchyNode.Party
CustomerHierarchyIdID of the customer hierarchy.String (60)
CustHierarchyId
YesYesCustHierarchy.CustHierarchyIdCustHierarchyNode.CustHierarchyId
VersionAddedHierarchy version in which the node was added.Integer
Version
NoYesCustHierarchyVersion.VersionCustHierarchyNode.VersionAdded
VersionRemovedHierarchy version in which the node was removed; no label is given.low confidenceIntegerNoYesCustHierarchyNode.VersionRemoved
NodeTypeNode type: customer or contact.Enum
CustHierarchyNodeType
  • Customer 0
  • Contact 1
NoYesCustHierarchyNode.Type
RoleRole of the node: admin or user.Enum
CustHierarchyNodeRole
  • Admin 0
  • User 1
NoYesCustHierarchyNode.Role
NodePartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
YesYesDirPartyTable.PartyNumber
ActiveNodeRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoNo (private)CustHierarchyNode.RecId

Foreign keys (3)

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.

  • PartyRecId → DirPartyTable.RecId (key of DirPartyTable)

    Zero or one CustHierarchyNode record → exactly one DirPartyTable record

    DirPartyTable details: see CustFoundationEntity, smmContactPersonV2Entity, CustCustomerV3Entity

  • CustomerHierarchyId → CustHierarchy.CustHierarchyId (key of CustHierarchy)

    Many CustHierarchyNode records → exactly one CustHierarchy record

    CustHierarchy details: see CustomerHierarchyEntity, CustomerHierarchyCatalogEntity

  • VersionAdded → CustHierarchyVersion.Version (key of CustHierarchyVersion)

    Join on all of: VersionAdded = CustHierarchyVersion.Version, CustomerHierarchyId = CustHierarchyVersion.CustHierarchyId

    Many CustHierarchyNode records → exactly one CustHierarchyVersion record

    CustHierarchyVersion details: see CustomerHierarchyEntity

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

Email sales@drdynamics.co.uk