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· rootOrganizationParty(tableDirPartyTable) · OuterJoin toCustHierarchy· read-onlyDirPerson· Derived toOrganizationPartyDirOrganizationBase· Derived toOrganizationPartyDirOrganization· Derived toDirOrganizationBaseOMInternalOrganization· Derived toDirOrganizationBaseCompanyInfo· Derived toOMInternalOrganizationOMOperatingUnit· Derived toOMInternalOrganizationOMTeam· Derived toOMInternalOrganizationCustHierarchyVersion· InnerJoin toCustHierarchy· read-only
Fields (7)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CustomerHierarchyIdUnique ID of the customer hierarchy. | String (60)CustHierarchyId | Yes | Yes | CustHierarchy.CustHierarchyId | |
NameName of the hierarchy. | String (60)Name | Yes | Yes | CustHierarchy.Name | |
PurposePurpose of the hierarchy; the only value given is B2B organization. | Enum
| Yes | Yes | CustHierarchy.Purpose | |
OrganizationPartyRecIdParty record of the organisation in the global address book. | Int64DirPartyRecId | Yes | No (private) | DirPartyTable.RecId | CustHierarchy.OrganizationParty |
OrganizationPartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | Yes | Yes | DirPartyTable.PartyNumber | |
CurrentVersionVersion number. | IntegerVersion | Yes | Yes | CustHierarchyVersion.Version | |
SellerChannelRetail channel of the seller. | String (15)RetailChannelId | No | Yes | RetailChannelTable.RetailChannelId | CustHierarchy.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.
OrganizationPartyRecId→DirPartyTable.RecId(key of DirPartyTable)Exactly one CustHierarchy record → zero or one DirPartyTable record
DirPartyTable details: see CustFoundationEntity, smmContactPersonV2Entity, CustCustomerV3Entity
SellerChannel→RetailChannelTable.RetailChannelId(key of RetailChannelTable)Zero or one CustHierarchy record → exactly one RetailChannelTable record
RetailChannelTable details: see RetailChannelEntity, RetailCallCenterEntity, RetailOnlineChannelEntity
Need help with CustomerHierarchyEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.