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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CategoryTypeKind of case, such as general, sales, purchase, service or project. | EnumCaseCategoryType (enum) | Yes | CaseCategoryHierarchyDetailEntityCaseCategoryHierarchyDetailEntity | |
CaseCategoryName or code of the case category. | StringCaseCategory | Yes | CaseCategoryHierarchyDetailEntityCaseCategoryHierarchyDetailEntity | |
CreateActivityForCaseChoice of whether an activity is created for the case: yes, no, prompt or advanced prompt. | EnumsmmCreateActivity (enum) | No | CaseCategoryHierarchyDetailEntity | |
CreateActivityForFollowUpChoice of whether a follow-up activity is created for the case: yes, no, prompt or advanced prompt. | EnumsmmCreateActivity (enum) | No | CaseCategoryHierarchyDetailEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultActivityCategoryDefault activity category: appointment, task, action or event. | EnumsmmActivityCategory (enum) | No | CaseCategoryHierarchyDetailEntity | |
DefaultActivityPhaseDefault phase for the activity, taken from the activity phase group. | String (20)smmActivityPhaseId | No | smmActivityPhaseGroup.PhaseId | CaseCategoryHierarchyDetailEntity |
DefaultActivityPurposeDefault purpose text for the activity. | String (255)smmActivityPurpose | No | CaseCategoryHierarchyDetailEntity | |
DefaultActivityTypeDefault activity type, taken from the activity type group. | String (20)smmActivityTypeId | No | smmActivityTypeGroup.TypeId | CaseCategoryHierarchyDetailEntity |
DefaultFollowUpCategoryDefault category for the follow-up activity: appointment, task, action or event. | EnumsmmActivityCategory (enum) | No | CaseCategoryHierarchyDetailEntity | |
DefaultFollowUpPhaseDefault phase for the follow-up activity. | String (20)smmActivityPhaseId | No | smmActivityPhaseGroup.PhaseId | CaseCategoryHierarchyDetailEntity |
DefaultFollowUpPurposeDefault purpose text for the follow-up activity. | String (255)smmActivityPurpose | No | CaseCategoryHierarchyDetailEntity | |
DefaultFollowUpTypeDefault type for the follow-up activity. | String (20)smmActivityTypeId | No | smmActivityTypeGroup.TypeId | CaseCategoryHierarchyDetailEntity |
DefaultOwnerWorkerPoints to the worker set as the default owner. | Int64HcmWorkerRecId | No | HcmWorker.RecId | CaseCategoryHierarchyDetailEntity |
DepartmentPoints to the operating unit used as the department. | Int64OMDepartmentRecId | No | OMOperatingUnit.RecId | CaseCategoryHierarchyDetailEntity |
DescriptionShort description of the case category. | String (60)Description | No | CaseCategoryHierarchyDetailEntity | |
EmailIdPoints to an email record linked to the category. | StringSysEmailId | No | SysEmailTable.EmailId | CaseCategoryHierarchyDetailEntity |
ParentRecIdPoints to the parent case category in the hierarchy. | Int64RefRecId | No | CaseCategoryHierarchyDetailEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PathText path showing where the category sits in the hierarchy. | String (255)HierarchyPath | No | None | |
ProcessCase process linked to the category, related to a hierarchy. | String (20)CaseProcess | No | CaseCategoryHierarchyDetailEntity | |
QuestionnaireIdIdentifier of the questionnaire linked to the category. | StringKMCollectionId | No | CaseCategoryHierarchyDetailEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ServiceLevelAgreementIdPoints to the service level agreement linked to the category. | StringSMAServiceLevelAgreementId | No | SMAServiceLevelAgreementTable.ServiceLevelAgreementId | CaseCategoryHierarchyDetailEntity |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TrackActivitiesYes/No option to track changes to the case activities. | EnumCaseTrackActivitiesNoYes (enum) | No | CaseCategoryHierarchyDetailEntity | |
TrackStageYes/No option to track changes to the case stage. | EnumCaseTrackStageNoYes (enum) | No | CaseCategoryHierarchyDetailEntity | |
TrackStatusYes/No option to track changes to the case status. | EnumCaseTrackStatusNoYes (enum) | No | CaseCategoryHierarchyDetailEntity |
Indexes (2)
NameTypeIdxReplacement keyUnique, alternate key.
HcmWorkerIdxNot unique.
Relations (10)
Each relation joins CaseCategoryHierarchyDetail to another table on the fields shown.
CaseCategoryHierarchyDetailParent→CaseCategoryHierarchyDetailJoin on
CategoryType = CaseCategoryHierarchyDetail.CategoryType,ParentRecId = CaseCategoryHierarchyDetail.RecIdMany CaseCategoryHierarchyDetail records → zero or one CaseCategoryHierarchyDetail record
DefaultOwnerWorker→HcmWorkerJoin on
DefaultOwnerWorker = HcmWorker.RecIdMany CaseCategoryHierarchyDetail records → zero or one HcmWorker record
Hierarchy→HierarchyJoin on
Hierarchy.IsTemplate = 1,Hierarchy.IsActive = 1,Hierarchy.HierarchyType = HierarchyType::Case,Process = Hierarchy.NameCardinality not set in the metadata.
OMOperatingUnit→OMOperatingUnitJoin on
Department = OMOperatingUnit.RecIdMany CaseCategoryHierarchyDetail records → zero or one OMOperatingUnit record
smmActivityPhaseGroup_Activity→smmActivityPhaseGroupJoin on
DefaultActivityPhase = smmActivityPhaseGroup.PhaseIdMany CaseCategoryHierarchyDetail records → zero or one smmActivityPhaseGroup record
smmActivityPhaseGroup_FollowUp→smmActivityPhaseGroupJoin on
DefaultFollowUpPhase = smmActivityPhaseGroup.PhaseIdMany CaseCategoryHierarchyDetail records → zero or one smmActivityPhaseGroup record
smmActivityTypeGroup_Activity→smmActivityTypeGroupJoin on
DefaultActivityType = smmActivityTypeGroup.TypeIdMany CaseCategoryHierarchyDetail records → zero or one smmActivityTypeGroup record
smmActivityTypeGroup_FollowUp→smmActivityTypeGroupJoin on
DefaultFollowUpType = smmActivityTypeGroup.TypeIdMany CaseCategoryHierarchyDetail records → zero or one smmActivityTypeGroup record
SysEmailTable→SysEmailTableJoin on
EmailId = SysEmailTable.EmailIdMany CaseCategoryHierarchyDetail records → zero or one SysEmailTable record
SMAServiceLevelAgreementTable→SMAServiceLevelAgreementTableJoin on
ServiceLevelAgreementId = SMAServiceLevelAgreementTable.ServiceLevelAgreementIdMany 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.
CaseCategoryHierarchyDetailEntity· 25 fields from this table
Need help with CaseCategoryHierarchyDetail in a report, an integration or a migration? Talk to Dr Dynamics.