Table
CaseDetailBase
Case
Main case record, identified by case ID. It stores the category, owner, contact, status and closing details. It also holds CAPA (corrective and preventive action) data such as category, source, root cause, type and resolution.
- Table name
CaseDetailBase- Module
Cross-module and platform- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
CaseIdIdx- Key fields
CaseId- Model
CaseManagement
Fields (40)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CaseIdUnique identifier of the case. | StringCaseId | Yes | QMSCAPACaseEntityHcmFMLACaseAssociationEntityHcmFMLACaseCertificationEntityand 2 more | |
CategoryRecIdCategory of the case, pointing to a case category record. | Int64CaseCategoryRecId | Yes | CaseCategoryHierarchyDetail.RecId | None |
ClosedByUser who closed the case. | StringSysUserId | No | QMSCAPACaseEntity | |
ClosedDateTimeDate and time when the case was closed. | UtcDateTimeClosedDateTime | No | QMSCAPACaseEntity | |
ContactPersonIdContact person linked to the case. | String (20)ContactPersonId | No | ContactPerson.ContactPersonId | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | QMSCAPACaseEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DepartmentOperating unit, shown as the department, linked to the case. | Int64OMDepartmentRecId | No | OMOperatingUnit.RecId | QMSCAPACaseEntity |
DescriptionShort text describing the case. | String (60)Description | No | QMSCAPACaseEntity | |
EmailIdEmail record linked to the case. | StringSysEmailId | No | SysEmailTable.EmailId | QMSCAPACaseEntity |
InstanceRelationTypeNumber identifying the type of instance relation for the case. Meaning not clear from the metadata.low confidence | Int64CaseInstanceRelationType | No | QMSCAPACaseEntity | |
MemoFree-text notes about the case. | String (-1)Notes | No | QMSCAPACaseEntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field. | Int64ModifiedTransactionId | No | None | |
OwnerWorkerWorker responsible for the case. | Int64HcmWorkerRecId | No | HcmWorker.RecId | QMSCAPACaseEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PartyParty (customer or other name) the case relates to. | Int64DirPartyRecId | No | CustTable.PartyDirPartyTable.RecId | QMSCAPACaseEntity |
PriorityPriority level of the case, stored as text. | String (20)smmLeadPriority | No | QMSCAPACaseEntity | |
ProcessCase process, taken from the hierarchies setup. | String (20)CaseProcess | No | QMSCAPACaseEntity | |
QMSActivateSignatureYes/No setting for signature on the case. Exact meaning is not stated in the metadata.low confidence | EnumQMSActivateSignatureNoYes (enum) | No | None | |
QMSCAPACaseClassificationClassification of the case as corrective, preventive, or both. | EnumQMSCAPACaseClassification (enum) | No | QMSCAPACaseEntity | |
QMSCAPACategoryIdCAPA category assigned to the case. | String (20)QMSCAPACategoryId | No | QMSCAPACategory.CategoryId | QMSCAPACaseEntity |
QMSCAPAClassificationCodeIdCode showing whether the CAPA case is major or minor. | StringQMSCAPAClassificationCodeId | No | QMSCAPAClassificationCode.ClassificationCodeId | QMSCAPACaseEntity |
QMSCAPADueDateDate by which the CAPA case is due. | DateDueDate | No | QMSCAPACaseEntity | |
QMSCAPAResolutionNoteLong text explaining how the CAPA case was resolved. | String (-1)QMSCAPAResolutionNote | No | QMSCAPACaseEntity | |
QMSCAPAResolutionSummaryShort summary of the CAPA resolution. | String (100)QMSCAPAResolutionSummary | No | QMSCAPACaseEntity | |
QMSCAPAResolutionTypeType of resolution for the CAPA case. | StringQMSCAPAResolutionType | No | QMSCAPAResolution.ResolutionType | QMSCAPACaseEntity |
QMSCAPARootCauseCodeCode of the root cause found for the CAPA case. | String (20)QMSCAPARootCauseCode | No | QMSCAPARootCause.RootCauseCode | QMSCAPACaseEntity |
QMSCAPASourceCodeIdSource of the CAPA case. | StringQMSCAPASourceCodeId | No | QMSCAPASourceCode.SourceCodeId | QMSCAPACaseEntity |
QMSCAPASubCategoryIdCAPA subcategory of the case, within its CAPA category. | String (20)QMSCAPASubCategoryId | No | QMSCAPASubCategoryUserDefined.SubCategoryId | QMSCAPACaseEntity |
QMSCAPATypeIdType of the CAPA case. | String (20)QMSCAPATypeId | No | QMSCAPAType.CAPATypeId | QMSCAPACaseEntity |
QMSDateDate on which the CAPA case was created. | DateQMSCreationDate | No | QMSCAPACaseEntity | |
QMSIsCAPAShows whether the case is handled as a CAPA case. | EnumQMSIsCAPANoYes (enum) | No | None | |
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 | |
StatusWhere the case stands: opened, in process, closed or cancelled. | EnumCaseStatus (enum) | Yes | QMSCAPACaseEntity | |
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 |
Indexes (5)
CaseIdIdxReplacement keyUnique, alternate key.
StatusIdxNot unique.
OwnerIdxNot unique.
CaseCategoryHierarchyDetailIdxNot unique.
DirPartyTableIdxParty,Partition,DataAreaId,Status,InstanceRelationTypeNot unique.
Relations (17)
Each relation joins CaseDetailBase to another table on the fields shown.
CaseCategoryHierarchyDetail→CaseCategoryHierarchyDetailJoin on
CategoryRecId = CaseCategoryHierarchyDetail.RecIdMany CaseDetailBase records → exactly one CaseCategoryHierarchyDetail record
ContactPerson→ContactPersonJoin on
ContactPersonId = ContactPerson.ContactPersonIdMany CaseDetailBase records → zero or one ContactPerson record
DirAddressBookParty→DirAddressBookPartyAllViewJoin on
Party = DirAddressBookPartyAllView.PartyMany CaseDetailBase records → exactly one DirAddressBookPartyAllView record
Hierarchy→HierarchyJoin on
Process = Hierarchy.Name,Hierarchy.HierarchyType = HierarchyType::CaseMany CaseDetailBase records → zero or one Hierarchy record
OMOperatingUnit→OMOperatingUnitJoin on
OMOperatingUnit.OMOperatingUnitType = OMOperatingUnitType::OMDepartment,Department = OMOperatingUnit.RecIdMany CaseDetailBase records → zero or one OMOperatingUnit record
OnwerWorker→HcmWorkerJoin on
OwnerWorker = HcmWorker.RecIdMany CaseDetailBase records → zero or one HcmWorker record
Party_FK→DirPartyTableJoin on
Party = DirPartyTable.RecIdMany CaseDetailBase records → zero or one DirPartyTable record
SysEmailTable→SysEmailTableJoin on
EmailId = SysEmailTable.EmailIdMany CaseDetailBase records → zero or one SysEmailTable record
UserInfo→UserInfoJoin on
ClosedBy = UserInfo.idMany CaseDetailBase records → zero or one UserInfo record
QMSCAPASubCategory→QMSCAPASubCategoryUserDefinedJoin on
QMSCAPASubCategoryId = QMSCAPASubCategoryUserDefined.SubCategoryId,QMSCAPACategoryId = QMSCAPASubCategoryUserDefined.CategoryIdMany CaseDetailBase records → zero or one QMSCAPASubCategoryUserDefined record
QMSCAPACategory→QMSCAPACategoryJoin on
QMSCAPACategoryId = QMSCAPACategory.CategoryIdMany CaseDetailBase records → zero or one QMSCAPACategory record
QMSCAPAResolution→QMSCAPAResolutionJoin on
QMSCAPAResolutionType = QMSCAPAResolution.ResolutionTypeMany CaseDetailBase records → zero or one QMSCAPAResolution record
QMSCAPASourceCode→QMSCAPASourceCodeJoin on
QMSCAPASourceCodeId = QMSCAPASourceCode.SourceCodeIdMany CaseDetailBase records → zero or one QMSCAPASourceCode record
QMSCAPAClassificationCode→QMSCAPAClassificationCodeJoin on
QMSCAPAClassificationCodeId = QMSCAPAClassificationCode.ClassificationCodeIdMany CaseDetailBase records → zero or one QMSCAPAClassificationCode record
QMSCAPAType→QMSCAPATypeJoin on
QMSCAPATypeId = QMSCAPAType.CAPATypeIdMany CaseDetailBase records → zero or one QMSCAPAType record
QMSCAPARootCause→QMSCAPARootCauseJoin on
QMSCAPARootCauseCode = QMSCAPARootCause.RootCauseCodeMany CaseDetailBase records → zero or one QMSCAPARootCause record
CustTable→CustTableJoin on
Party = CustTable.PartyCardinality not set in the metadata.
Get this data out
Tables are not exposed directly. These public entities read from CaseDetailBase; use one of them in Power BI, Power Platform or a data management project.
QMSCAPACaseEntity· 26 fields from this tableHcmFMLACaseAssociationEntity· 1 field from this tableHcmFMLACaseCertificationEntity· 1 field from this tableQMSCAPACaseAssociationDimensionEntity· 1 field from this tableQMSCAPACaseEmailNotificationEntity· 1 field from this table
Need help with CaseDetailBase in a report, an integration or a migration? Talk to Dr Dynamics.