Data entity

CustomerHierarchyEntity

Customer hierarchies, keyed by hierarchy ID. Each record has a name, a purpose, the party it relates to, the version and a retail channel ID.

Entity name
CustomerHierarchyEntity
Public entity name
CustomerHierarchy
OData collection
CustomerHiearchies
Category
Not set
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
LedgerBasic
Keys
CustomerHierarchyId
Staging table
CustomerHierarchyStaging

Use it in Power BI and Power Platform

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

  • CustHierarchy · root
  • OrganizationParty (table DirPartyTable) · OuterJoin to CustHierarchy · read-only
  • DirPerson · Derived to OrganizationParty
  • DirOrganizationBase · Derived to OrganizationParty
  • DirOrganization · Derived to DirOrganizationBase
  • OMInternalOrganization · Derived to DirOrganizationBase
  • CompanyInfo · Derived to OMInternalOrganization
  • OMOperatingUnit · Derived to OMInternalOrganization
  • OMTeam · Derived to OMInternalOrganization
  • CustHierarchyVersion · InnerJoin to CustHierarchy · read-only

Fields (7)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
CustomerHierarchyIdUnique ID of the customer hierarchy.String (60)
CustHierarchyId
YesYesCustHierarchy.CustHierarchyId
NameName of the hierarchy.String (60)
Name
YesYesCustHierarchy.Name
PurposePurpose of the hierarchy; the only value given is B2B organization.Enum
CustHierarchyPurpose
  • B2BOrganization 0
YesYesCustHierarchy.Purpose
OrganizationPartyRecIdParty record of the organisation in the global address book.Int64
DirPartyRecId
YesNo (private)DirPartyTable.RecIdCustHierarchy.OrganizationParty
OrganizationPartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
YesYesDirPartyTable.PartyNumber
CurrentVersionVersion number.Integer
Version
YesYesCustHierarchyVersion.Version
SellerChannelRetail channel of the seller.String (15)
RetailChannelId
NoYesRetailChannelTable.RetailChannelIdCustHierarchy.SellerChannel

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.

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

Email sales@drdynamics.co.uk