Data entity
HierarchyTreeTableBiEntity
Read-only list of the elements in hierarchy trees, for BI and analytics. Each record has a hierarchy ID, element number, parent element number, name, type and path. It also has a line number, a required flag and a template hierarchy. It also has a reference element number, a linking activity and the company.
- Entity name
HierarchyTreeTableBiEntity- Public entity name
HierarchyTreeTableBiEntity- OData collection
HierarchyTreeTableBiEntities- Category
Not set- Module
Other (no module in the metadata)- Read-only
Yes- Data management enabled
No- Configuration key
None- Keys
SourceKey- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/HierarchyTreeTableBiEntities- Dataverse virtual table
mserp_hierarchytreetablebientity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Not enabled for import and export projects.
Data sources
HierarchyTreeTable· root · read-only
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ElementNodeTypeShows whether the element is a node or an activity. | Enum
| No | Yes | HierarchyTreeTable.ElementNodeType | |
ElementNumberNumber that identifies the element within its hierarchy. | StringElementNumber | Yes | Yes | smmProcessStage.ElementNumber | HierarchyTreeTable.ElementNumber |
HierarchyIdID of the hierarchy that the element belongs to. | StringHierarchyIdBase | Yes | Yes | Hierarchy.HierarchyId | HierarchyTreeTable.HierarchyId |
IsRequiredYes/No flag showing whether the activity is required. | EnumsmmActivityIsRequired
| No | Yes | HierarchyTreeTable.IsRequired | |
LevelDepth of the element in the tree. | IntegerInteger | No | Yes | HierarchyTreeTable.Level | |
NameName of the element. | String (60)Name | No | Yes | HierarchyTreeTable.Name | |
ParentElementNumberElement number of the parent element in the same hierarchy. | StringElementNumber | No | Yes | HierarchyTreeTable.ElementNumber | HierarchyTreeTable.ParentElementNumber |
PathText path that shows where the element sits in the tree. | String (255)HierarchyPath | No | Yes | HierarchyTreeTable.Path | |
ReferenceElementNumberElement number of another tree element that this one refers to. | StringElementNumber | No | Yes | HierarchyTreeTable.ElementNumber | HierarchyTreeTable.ReferenceElementNumber |
RefRecIdPoints to the linked activity record (smmActivities). | Int64RefRecId | No | Yes | smmActivities.RecId | HierarchyTreeTable.RefRecId |
SiblingNumberLine number that orders the element among its siblings. | RealLineNum | No | Yes | HierarchyTreeTable.SiblingNumber | |
TemplateRecIdPoints to the template hierarchy tree record that this element is based on. | Int64RefRecId | No | Yes | HierarchyTreeTable.RecId | HierarchyTreeTable.TemplateRecId |
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | HierarchyTreeTable.RecId | |
SysRecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. | IntegerRecVersion | No | Yes | HierarchyTreeTable.RecVersion | |
SysRowVersionNumberA system row version number that is used for change tracking. | Int64SysRowVersion | No | Yes | HierarchyTreeTable.SysRowVersion | |
SysDataAreaIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | HierarchyTreeTable.DataAreaId |
Foreign keys (6)
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.
ElementNumber→smmProcessStage.ElementNumber(key of smmProcessStage)Join on all of:
ElementNumber=smmProcessStage.ElementNumber,HierarchyId=smmProcessStage.HierarchyIdZero or one HierarchyTreeTable record → exactly one smmProcessStage record
Not exposed by a public entity.
HierarchyId→Hierarchy.HierarchyId(key of Hierarchy)Many HierarchyTreeTable records → exactly one Hierarchy record
Hierarchy details: see QMSCAPAProcessTemplateEntity, ProjProjectTaskEntity, ProjWBSTemplateTasksEntity
ParentElementNumber→HierarchyTreeTable.ElementNumber(key of HierarchyTreeTable)Join on all of:
ParentElementNumber=HierarchyTreeTable.ElementNumber,HierarchyId=HierarchyTreeTable.HierarchyIdMany HierarchyTreeTable records → zero or one HierarchyTreeTable record
HierarchyTreeTable details: see QMSCAPAProcessTemplateNodeEntity, ProjProjectTaskEntity, TrvExpMobileActivitiesEntity
ReferenceElementNumber→HierarchyTreeTable.ElementNumber(key of HierarchyTreeTable)Join on all of:
ReferenceElementNumber=HierarchyTreeTable.ElementNumber,HierarchyId=HierarchyTreeTable.HierarchyIdMany HierarchyTreeTable records → zero or one HierarchyTreeTable record
HierarchyTreeTable details: see QMSCAPAProcessTemplateNodeEntity, ProjProjectTaskEntity, TrvExpMobileActivitiesEntity
RefRecId→smmActivities.RecId(key of smmActivities)Many HierarchyTreeTable records → zero or one smmActivities record
smmActivities details: see DualWriteSmmActivitiesEntity, DualWriteCustomerActivitiesEntity, DualWriteCustomerActivitiesV2Entity
TemplateRecId→HierarchyTreeTable.RecId(key of HierarchyTreeTable)Relation also requires ElementNodeType = null.
Many HierarchyTreeTable records → zero or one HierarchyTreeTable record
HierarchyTreeTable details: see QMSCAPAProcessTemplateNodeEntity, ProjProjectTaskEntity, TrvExpMobileActivitiesEntity
Need help with HierarchyTreeTableBiEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.