Table

Hierarchy

Hierarchies

Holds hierarchy headers, identified by a hierarchy ID. Each has a type, such as case process, project, sales process or quotation. Records can be marked as templates or active, and can be flagged for CAPA use. It is linked to other records through hierarchy associations.

Table name
Hierarchy
Module
Cross-module and platform
Table group
Worksheet
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
HierarchyIdx
Replacement key
HierarchyIdx
Key fields
HierarchyId
Model
CaseManagement

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
HierarchyIdUnique ID of the hierarchy. It is used in hierarchy associations.String
HierarchyIdBase
YesQMSCAPAProcessTemplateEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort text that describes the hierarchy.String (60)
Description
NoQMSCAPAProcessTemplateEntity
FileNameName of a file linked to the hierarchy.String (259)
Filename
NoNone
FilePathFolder path where the linked file is stored.String (259)
FilePath
NoNone
HierarchyTypeKind of hierarchy, for example case process, project, sales process, lead qualifying process, campaign process, purchase agreement or quotation.Enum
HierarchyType (enum)
YesNone
IsActiveYes/No flag showing whether the hierarchy is active.Enum
NoYesId
NoYes (enum)
NoQMSCAPAProcessTemplateEntity
IsTemplateYes/No flag showing whether the hierarchy is a template.Enum
HierarchyIsTemplate
NoYes (enum)
NoProjWBSTemplateTasksEntity
LockBoxTypeKind of storage used for the linked files: a local or network folder, or a collaboration workspace.Enum
MSPIntegrationType (enum)
NoNone
NameShort name of the hierarchy.String (20)
HierarchyName
YesQMSCAPAProcessTemplateEntityProjProjectTaskEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QMSApprovedYes/No flag showing whether the record has been approved.Enum
QMSApproved
NoYes (enum)
NoQMSCAPAProcessTemplateEntity
QMSIsCAPAYes/No flag marking the hierarchy for CAPA use.Enum
QMSIsCAPA
NoYes (enum)
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (3)

Each relation joins Hierarchy to another table on the fields shown.

  • CaseCategoryHierarchyDetail → CaseCategoryHierarchyDetail

    Join on HierarchyType = HierarchyType::Case, IsActive = 1, IsTemplate = 1

    Cardinality not set in the metadata.

  • CaseDetail → CaseDetail

    Join on HierarchyType = HierarchyType::Case, IsActive = 1, IsTemplate = 1

    Cardinality not set in the metadata.

  • HierarchyLinkTableTemplate → HierarchyLinkTable

    Join on HierarchyId = HierarchyLinkTable.TemplateHierarchyId, IsTemplate = 1

    Many Hierarchy records → zero or one HierarchyLinkTable record

Get this data out

Tables are not exposed directly. These public entities read from Hierarchy; use one of them in Power BI, Power Platform or a data management project.

Need help with Hierarchy in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk