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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CaseIdUnique identifier of the case.String
CaseId
YesQMSCAPACaseEntityHcmFMLACaseAssociationEntityHcmFMLACaseCertificationEntityand 2 more
CategoryRecIdCategory of the case, pointing to a case category record.Int64
CaseCategoryRecId
YesCaseCategoryHierarchyDetail.RecIdNone
ClosedByUser who closed the case.String
SysUserId
NoQMSCAPACaseEntity
ClosedDateTimeDate and time when the case was closed.UtcDateTime
ClosedDateTime
NoQMSCAPACaseEntity
ContactPersonIdContact person linked to the case.String (20)
ContactPersonId
NoContactPerson.ContactPersonIdNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoQMSCAPACaseEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DepartmentOperating unit, shown as the department, linked to the case.Int64
OMDepartmentRecId
NoOMOperatingUnit.RecIdQMSCAPACaseEntity
DescriptionShort text describing the case.String (60)
Description
NoQMSCAPACaseEntity
EmailIdEmail record linked to the case.String
SysEmailId
NoSysEmailTable.EmailIdQMSCAPACaseEntity
InstanceRelationTypeNumber identifying the type of instance relation for the case. Meaning not clear from the metadata.low confidenceInt64
CaseInstanceRelationType
NoQMSCAPACaseEntity
MemoFree-text notes about the case.String (-1)
Notes
NoQMSCAPACaseEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field.Int64
ModifiedTransactionId
NoNone
OwnerWorkerWorker responsible for the case.Int64
HcmWorkerRecId
NoHcmWorker.RecIdQMSCAPACaseEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PartyParty (customer or other name) the case relates to.Int64
DirPartyRecId
NoCustTable.PartyDirPartyTable.RecIdQMSCAPACaseEntity
PriorityPriority level of the case, stored as text.String (20)
smmLeadPriority
NoQMSCAPACaseEntity
ProcessCase process, taken from the hierarchies setup.String (20)
CaseProcess
NoQMSCAPACaseEntity
QMSActivateSignatureYes/No setting for signature on the case. Exact meaning is not stated in the metadata.low confidenceEnum
QMSActivateSignature
NoYes (enum)
NoNone
QMSCAPACaseClassificationClassification of the case as corrective, preventive, or both.Enum
QMSCAPACaseClassification (enum)
NoQMSCAPACaseEntity
QMSCAPACategoryIdCAPA category assigned to the case.String (20)
QMSCAPACategoryId
NoQMSCAPACategory.CategoryIdQMSCAPACaseEntity
QMSCAPAClassificationCodeIdCode showing whether the CAPA case is major or minor.String
QMSCAPAClassificationCodeId
NoQMSCAPAClassificationCode.ClassificationCodeIdQMSCAPACaseEntity
QMSCAPADueDateDate by which the CAPA case is due.Date
DueDate
NoQMSCAPACaseEntity
QMSCAPAResolutionNoteLong text explaining how the CAPA case was resolved.String (-1)
QMSCAPAResolutionNote
NoQMSCAPACaseEntity
QMSCAPAResolutionSummaryShort summary of the CAPA resolution.String (100)
QMSCAPAResolutionSummary
NoQMSCAPACaseEntity
QMSCAPAResolutionTypeType of resolution for the CAPA case.String
QMSCAPAResolutionType
NoQMSCAPAResolution.ResolutionTypeQMSCAPACaseEntity
QMSCAPARootCauseCodeCode of the root cause found for the CAPA case.String (20)
QMSCAPARootCauseCode
NoQMSCAPARootCause.RootCauseCodeQMSCAPACaseEntity
QMSCAPASourceCodeIdSource of the CAPA case.String
QMSCAPASourceCodeId
NoQMSCAPASourceCode.SourceCodeIdQMSCAPACaseEntity
QMSCAPASubCategoryIdCAPA subcategory of the case, within its CAPA category.String (20)
QMSCAPASubCategoryId
NoQMSCAPASubCategoryUserDefined.SubCategoryIdQMSCAPACaseEntity
QMSCAPATypeIdType of the CAPA case.String (20)
QMSCAPATypeId
NoQMSCAPAType.CAPATypeIdQMSCAPACaseEntity
QMSDateDate on which the CAPA case was created.Date
QMSCreationDate
NoQMSCAPACaseEntity
QMSIsCAPAShows whether the case is handled as a CAPA case.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
StatusWhere the case stands: opened, in process, closed or cancelled.Enum
CaseStatus (enum)
YesQMSCAPACaseEntity
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 (5)

Relations (17)

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

  • CaseCategoryHierarchyDetail → CaseCategoryHierarchyDetail

    Join on CategoryRecId = CaseCategoryHierarchyDetail.RecId

    Many CaseDetailBase records → exactly one CaseCategoryHierarchyDetail record

  • ContactPerson → ContactPerson

    Join on ContactPersonId = ContactPerson.ContactPersonId

    Many CaseDetailBase records → zero or one ContactPerson record

  • DirAddressBookParty → DirAddressBookPartyAllView

    Join on Party = DirAddressBookPartyAllView.Party

    Many CaseDetailBase records → exactly one DirAddressBookPartyAllView record

  • Hierarchy → Hierarchy

    Join on Process = Hierarchy.Name, Hierarchy.HierarchyType = HierarchyType::Case

    Many CaseDetailBase records → zero or one Hierarchy record

  • OMOperatingUnit → OMOperatingUnit

    Join on OMOperatingUnit.OMOperatingUnitType = OMOperatingUnitType::OMDepartment, Department = OMOperatingUnit.RecId

    Many CaseDetailBase records → zero or one OMOperatingUnit record

  • OnwerWorker → HcmWorker

    Join on OwnerWorker = HcmWorker.RecId

    Many CaseDetailBase records → zero or one HcmWorker record

  • Party_FK → DirPartyTable

    Join on Party = DirPartyTable.RecId

    Many CaseDetailBase records → zero or one DirPartyTable record

  • SysEmailTable → SysEmailTable

    Join on EmailId = SysEmailTable.EmailId

    Many CaseDetailBase records → zero or one SysEmailTable record

  • UserInfo → UserInfo

    Join on ClosedBy = UserInfo.id

    Many CaseDetailBase records → zero or one UserInfo record

  • QMSCAPASubCategory → QMSCAPASubCategoryUserDefined

    Join on QMSCAPASubCategoryId = QMSCAPASubCategoryUserDefined.SubCategoryId, QMSCAPACategoryId = QMSCAPASubCategoryUserDefined.CategoryId

    Many CaseDetailBase records → zero or one QMSCAPASubCategoryUserDefined record

  • QMSCAPACategory → QMSCAPACategory

    Join on QMSCAPACategoryId = QMSCAPACategory.CategoryId

    Many CaseDetailBase records → zero or one QMSCAPACategory record

  • QMSCAPAResolution → QMSCAPAResolution

    Join on QMSCAPAResolutionType = QMSCAPAResolution.ResolutionType

    Many CaseDetailBase records → zero or one QMSCAPAResolution record

  • QMSCAPASourceCode → QMSCAPASourceCode

    Join on QMSCAPASourceCodeId = QMSCAPASourceCode.SourceCodeId

    Many CaseDetailBase records → zero or one QMSCAPASourceCode record

  • QMSCAPAClassificationCode → QMSCAPAClassificationCode

    Join on QMSCAPAClassificationCodeId = QMSCAPAClassificationCode.ClassificationCodeId

    Many CaseDetailBase records → zero or one QMSCAPAClassificationCode record

  • QMSCAPAType → QMSCAPAType

    Join on QMSCAPATypeId = QMSCAPAType.CAPATypeId

    Many CaseDetailBase records → zero or one QMSCAPAType record

  • QMSCAPARootCause → QMSCAPARootCause

    Join on QMSCAPARootCauseCode = QMSCAPARootCause.RootCauseCode

    Many CaseDetailBase records → zero or one QMSCAPARootCause record

  • CustTable → CustTable

    Join on Party = CustTable.Party

    Cardinality 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.

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

Email sales@drdynamics.co.uk