Table

CaseCategoryHierarchyDetail

Case category

Holds the case categories used in a hierarchy, keyed by category type and case category. Each record can set default activity and follow-up activity values, an owner, a department, an email, a service level agreement and options for tracking changes. A parent reference links it to another category in the same table.

Table name
CaseCategoryHierarchyDetail
Module
Cross-module and platform
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
NameTypeIdx
Key fields
CategoryType, CaseCategory
Model
CaseManagement

Fields (30)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CategoryTypeKind of case, such as general, sales, purchase, service or project.Enum
CaseCategoryType (enum)
YesCaseCategoryHierarchyDetailEntityCaseCategoryHierarchyDetailEntity
CaseCategoryName or code of the case category.String
CaseCategory
YesCaseCategoryHierarchyDetailEntityCaseCategoryHierarchyDetailEntity
CreateActivityForCaseChoice of whether an activity is created for the case: yes, no, prompt or advanced prompt.Enum
smmCreateActivity (enum)
NoCaseCategoryHierarchyDetailEntity
CreateActivityForFollowUpChoice of whether a follow-up activity is created for the case: yes, no, prompt or advanced prompt.Enum
smmCreateActivity (enum)
NoCaseCategoryHierarchyDetailEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultActivityCategoryDefault activity category: appointment, task, action or event.Enum
smmActivityCategory (enum)
NoCaseCategoryHierarchyDetailEntity
DefaultActivityPhaseDefault phase for the activity, taken from the activity phase group.String (20)
smmActivityPhaseId
NosmmActivityPhaseGroup.PhaseIdCaseCategoryHierarchyDetailEntity
DefaultActivityPurposeDefault purpose text for the activity.String (255)
smmActivityPurpose
NoCaseCategoryHierarchyDetailEntity
DefaultActivityTypeDefault activity type, taken from the activity type group.String (20)
smmActivityTypeId
NosmmActivityTypeGroup.TypeIdCaseCategoryHierarchyDetailEntity
DefaultFollowUpCategoryDefault category for the follow-up activity: appointment, task, action or event.Enum
smmActivityCategory (enum)
NoCaseCategoryHierarchyDetailEntity
DefaultFollowUpPhaseDefault phase for the follow-up activity.String (20)
smmActivityPhaseId
NosmmActivityPhaseGroup.PhaseIdCaseCategoryHierarchyDetailEntity
DefaultFollowUpPurposeDefault purpose text for the follow-up activity.String (255)
smmActivityPurpose
NoCaseCategoryHierarchyDetailEntity
DefaultFollowUpTypeDefault type for the follow-up activity.String (20)
smmActivityTypeId
NosmmActivityTypeGroup.TypeIdCaseCategoryHierarchyDetailEntity
DefaultOwnerWorkerPoints to the worker set as the default owner.Int64
HcmWorkerRecId
NoHcmWorker.RecIdCaseCategoryHierarchyDetailEntity
DepartmentPoints to the operating unit used as the department.Int64
OMDepartmentRecId
NoOMOperatingUnit.RecIdCaseCategoryHierarchyDetailEntity
DescriptionShort description of the case category.String (60)
Description
NoCaseCategoryHierarchyDetailEntity
EmailIdPoints to an email record linked to the category.String
SysEmailId
NoSysEmailTable.EmailIdCaseCategoryHierarchyDetailEntity
ParentRecIdPoints to the parent case category in the hierarchy.Int64
RefRecId
NoCaseCategoryHierarchyDetailEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PathText path showing where the category sits in the hierarchy.String (255)
HierarchyPath
NoNone
ProcessCase process linked to the category, related to a hierarchy.String (20)
CaseProcess
NoCaseCategoryHierarchyDetailEntity
QuestionnaireIdIdentifier of the questionnaire linked to the category.String
KMCollectionId
NoCaseCategoryHierarchyDetailEntity
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
ServiceLevelAgreementIdPoints to the service level agreement linked to the category.String
SMAServiceLevelAgreementId
NoSMAServiceLevelAgreementTable.ServiceLevelAgreementIdCaseCategoryHierarchyDetailEntity
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
TrackActivitiesYes/No option to track changes to the case activities.Enum
CaseTrackActivities
NoYes (enum)
NoCaseCategoryHierarchyDetailEntity
TrackStageYes/No option to track changes to the case stage.Enum
CaseTrackStage
NoYes (enum)
NoCaseCategoryHierarchyDetailEntity
TrackStatusYes/No option to track changes to the case status.Enum
CaseTrackStatus
NoYes (enum)
NoCaseCategoryHierarchyDetailEntity

Indexes (2)

Relations (10)

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

  • CaseCategoryHierarchyDetailParent → CaseCategoryHierarchyDetail

    Join on CategoryType = CaseCategoryHierarchyDetail.CategoryType, ParentRecId = CaseCategoryHierarchyDetail.RecId

    Many CaseCategoryHierarchyDetail records → zero or one CaseCategoryHierarchyDetail record

  • DefaultOwnerWorker → HcmWorker

    Join on DefaultOwnerWorker = HcmWorker.RecId

    Many CaseCategoryHierarchyDetail records → zero or one HcmWorker record

  • Hierarchy → Hierarchy

    Join on Hierarchy.IsTemplate = 1, Hierarchy.IsActive = 1, Hierarchy.HierarchyType = HierarchyType::Case, Process = Hierarchy.Name

    Cardinality not set in the metadata.

  • OMOperatingUnit → OMOperatingUnit

    Join on Department = OMOperatingUnit.RecId

    Many CaseCategoryHierarchyDetail records → zero or one OMOperatingUnit record

  • smmActivityPhaseGroup_Activity → smmActivityPhaseGroup

    Join on DefaultActivityPhase = smmActivityPhaseGroup.PhaseId

    Many CaseCategoryHierarchyDetail records → zero or one smmActivityPhaseGroup record

  • smmActivityPhaseGroup_FollowUp → smmActivityPhaseGroup

    Join on DefaultFollowUpPhase = smmActivityPhaseGroup.PhaseId

    Many CaseCategoryHierarchyDetail records → zero or one smmActivityPhaseGroup record

  • smmActivityTypeGroup_Activity → smmActivityTypeGroup

    Join on DefaultActivityType = smmActivityTypeGroup.TypeId

    Many CaseCategoryHierarchyDetail records → zero or one smmActivityTypeGroup record

  • smmActivityTypeGroup_FollowUp → smmActivityTypeGroup

    Join on DefaultFollowUpType = smmActivityTypeGroup.TypeId

    Many CaseCategoryHierarchyDetail records → zero or one smmActivityTypeGroup record

  • SysEmailTable → SysEmailTable

    Join on EmailId = SysEmailTable.EmailId

    Many CaseCategoryHierarchyDetail records → zero or one SysEmailTable record

  • SMAServiceLevelAgreementTable → SMAServiceLevelAgreementTable

    Join on ServiceLevelAgreementId = SMAServiceLevelAgreementTable.ServiceLevelAgreementId

    Many CaseCategoryHierarchyDetail records → zero or one SMAServiceLevelAgreementTable record

Get this data out

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

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

Email sales@drdynamics.co.uk