Data entity
QMSCAPACaseEntity
Corrective and preventive action (CAPA) cases, based on the general case table and keyed by case ID. It holds status, priority, description, dates, who closed the case, contact and party details, process, resolution, service stage and CAPA classification, category and subcategory.
- Entity name
QMSCAPACaseEntity- Public entity name
CAPACase- OData collection
CAPACases- Category
Document- Module
Inventory and warehouse management- Read-only
No- Data management enabled
Yes- Configuration key
InventQualityManagement- Keys
CaseId- Staging table
QMSCAPACaseStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/CAPACases- Dataverse virtual table
mserp_qmscapacaseentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
CaseDetailBase· rootContactPerson· OuterJoin toCaseDetailBase· read-onlyHcmWorker· OuterJoin toCaseDetailBase· read-onlyDirPerson· OuterJoin toHcmWorker· read-onlyOMOperatingUnit· OuterJoin toCaseDetailBase· read-onlyDirPartyBaseEntity· OuterJoin toCaseDetailBase· read-onlyCustCollectionsCaseDetail· Derived toCaseDetailBaseCaseDetail· Derived toCaseDetailBaseHcmFMLACaseDetail· Derived toCaseDetail
Fields (42)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AnswerIdIdentifier of the questionnaire answer linked to the case. | StringKMVirtualNetworkAnswerTableId | No | Yes | KMVirtualNetworkAnswerTable.kmVirtualNetworkAnswerTableId | CaseDetail.AnswerId |
BillingProjectIdProject used for billing the case. | String (20)ProjId | No | Yes | CaseDetail.ProjId | |
CaseIdUnique identifier of the case. | StringCaseId | Yes | Yes | CaseDetailBase.CaseId | |
CaseStatusWhere the case stands: opened, in process, closed or cancelled. | Enum
| Yes | Yes | CaseDetailBase.Status | |
ClosedByUser who closed the case. | StringSysUserId | No | Yes | CaseDetailBase.ClosedBy | |
ClosedDateAndTimeDate and time when the case was closed. | UtcDateTimeClosedDateTime | No | Yes | CaseDetailBase.ClosedDateTime | |
ComplianceNumber showing how well the case meets its service level agreement. | RealSMAServiceLevelAgreementCompliance | No | Yes | CaseDetail.Compliance | |
CaseCreatedDateAndTimeThe date and time when the record was created. | UtcDateTimeCreatedDateTime | No | Yes | CaseDetailBase.CreatedDateTime | |
ContactIdCode that identifies the contact. | String (20)ContactPersonId | No | Yes | ContactPerson.ContactPersonId | |
DepartmentRecIdOperating unit, shown as the department, linked to the case. | Int64OMDepartmentRecId | No | No (private) | OMOperatingUnit.RecId | CaseDetailBase.Department |
DescriptionShort text describing the case. | String (60)Description | No | Yes | CaseDetailBase.Description | |
DirPartyRecIdParty (customer or other name) the case relates to. | Int64DirPartyRecId | No | No (private) | CustTable.PartyDirPartyTable.RecId | CaseDetailBase.Party |
EmployeeResponsibleNameFull name of the party. | String (160)DirPartyName | No | Yes | DirPartyTable.Name | |
EmployeeResponsiblePersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
HCMWorkerRecIdWorker responsible for the case. | Int64HcmWorkerRecId | No | No (private) | HcmWorker.RecId | CaseDetailBase.OwnerWorker |
InstanceRelationTypeNumber identifying the type of instance relation for the case. Meaning not clear from the metadata.low confidence | Int64CaseInstanceRelationType | No | No (private) | CaseDetailBase.InstanceRelationType | |
NotesFree-text notes about the case. | String (-1)Notes | No | Yes | CaseDetailBase.Memo | |
DepartmentNumberThe number that identifies the operating unit. | String (30)OMOperatingUnitNumber | No | Yes | OMOperatingUnit.OMOperatingUnitNumber | |
PartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | No | Yes | DirPartyTable.PartyNumber | |
PlannedEffectiveDateDate on which the change in the case is planned to take effect. | DateEngChgCasePlannedEffectiveDate | No | Yes | CaseDetail.PlannedEffectiveDate | |
PriorityPriority level of the case, stored as text. | String (20)smmLeadPriority | No | Yes | CaseDetailBase.Priority | |
ProcessIdCase process, taken from the hierarchies setup. | String (20)CaseProcess | No | Yes | CaseDetailBase.Process | |
QuestionnaireIdIdentifier of the questionnaire linked to the case. | StringKMCollectionId | No | Yes | KMCollection.kmCollectionId | CaseDetail.QuestionnaireId |
ResolutionOutcome of the case: none, accept or reject. | Enum
| No | Yes | CaseDetail.Resolution | |
ServiceStageIdIdentifier of the service stage the case is in. | StringSMAStageId | No | Yes | CaseDetail.StageId | |
ServiceLevelAgreementIdIdentifier of the service level agreement that applies to the case. | StringSMAServiceLevelAgreementId | No | Yes | CaseDetail.ServiceLevelAgreementId | |
ServiceLevelAgreementStatusCurrent state of the service level agreement tracking: none, started, stopped or cancelled. | Enum
| No | Yes | CaseDetail.ServiceLevelAgreementStatus | |
ServiceLevelCompletionDateLatest date and time by which the service level agreement should be completed. | UtcDateTimeSMALatestCompletionDateTime | No | Yes | CaseDetail.SLALatestCompletionDateTime | |
NameFull name of the party. | String (160)DirPartyName | No | Yes | DirPartyTable.Name | |
EmailIdEmail record linked to the case. | StringSysEmailId | No | Yes | SysEmailTable.EmailId | CaseDetailBase.EmailId |
CAPACaseClassificationClassification of the case as corrective, preventive, or both. | Enum
| No | Yes | CaseDetailBase.QMSCAPACaseClassification | |
CAPACategoryIdCAPA category assigned to the case. | String (20)QMSCAPACategoryId | No | Yes | QMSCAPACategory.CategoryId | CaseDetailBase.QMSCAPACategoryId |
CAPASubCategoryIdCAPA subcategory of the case, within its CAPA category. | String (20)QMSCAPASubCategoryId | No | Yes | QMSCAPASubCategoryUserDefined.SubCategoryId | CaseDetailBase.QMSCAPASubCategoryId |
CAPAClassificationCodeIdCode showing whether the CAPA case is major or minor. | StringQMSCAPAClassificationCodeId | No | Yes | QMSCAPAClassificationCode.ClassificationCodeId | CaseDetailBase.QMSCAPAClassificationCodeId |
CAPAResolutionNoteLong text explaining how the CAPA case was resolved. | String (-1)QMSCAPAResolutionNote | No | Yes | CaseDetailBase.QMSCAPAResolutionNote | |
CAPAResolutionSummaryShort summary of the CAPA resolution. | String (100)QMSCAPAResolutionSummary | No | Yes | CaseDetailBase.QMSCAPAResolutionSummary | |
CAPAResolutionTypeIdType of resolution for the CAPA case. | StringQMSCAPAResolutionType | No | Yes | QMSCAPAResolution.ResolutionType | CaseDetailBase.QMSCAPAResolutionType |
CAPARootCauseCodeIdCode of the root cause found for the CAPA case. | String (20)QMSCAPARootCauseCode | No | Yes | QMSCAPARootCause.RootCauseCode | CaseDetailBase.QMSCAPARootCauseCode |
CAPASourceCodeIdSource of the CAPA case. | StringQMSCAPASourceCodeId | No | Yes | QMSCAPASourceCode.SourceCodeId | CaseDetailBase.QMSCAPASourceCodeId |
CAPATypeIdType of the CAPA case. | String (20)QMSCAPATypeId | No | Yes | QMSCAPAType.CAPATypeId | CaseDetailBase.QMSCAPATypeId |
CAPACreatedDateDate on which the CAPA case was created. | DateQMSCreationDate | No | Yes | CaseDetailBase.QMSDate | |
CAPADueDateDate by which the CAPA case is due. | DateDueDate | No | Yes | CaseDetailBase.QMSCAPADueDate |
Foreign keys (14)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
AnswerId→KMVirtualNetworkAnswerTable.kmVirtualNetworkAnswerTableId(key of KMVirtualNetworkAnswerTable)Many CaseDetail records → zero or one KMVirtualNetworkAnswerTable record
KMVirtualNetworkAnswerTable details: see EngChgReleasedProductReadinessCheckEntity, PurchRequestForQuotationReplyQuestionnaireEntity, VRMRFQQuestionnaireEntity
DepartmentRecId→OMOperatingUnit.RecId(key of OMOperatingUnit)Relation also requires OMOperatingUnit.OMOperatingUnitType = OMOperatingUnitType::OMDepartment.
Many CaseDetailBase records → zero or one OMOperatingUnit record
OMOperatingUnit details: see ACOCostCenterTypeEntity, OMOperatingUnitEntity, AssetPackingSlipEntity
DirPartyRecId→CustTable.Party(key of CustTable)Cardinality not set in the metadata.
CustTable details: see BusinessDocumentSalesInvoiceBaseEntity, CustCustomerV3Entity, CustFoundationExtendedEntity
DirPartyRecId→DirPartyTable.RecId(key of DirPartyTable)Many CaseDetailBase records → zero or one DirPartyTable record
DirPartyTable details: see CustFoundationEntity, smmContactPersonV2Entity, CustCustomerV3Entity
HCMWorkerRecId→HcmWorker.RecId(key of HcmWorker)Many CaseDetailBase records → zero or one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
QuestionnaireId→KMCollection.kmCollectionId(key of KMCollection)Many CaseDetail records → zero or one KMCollection record
KMCollection details: see VRMQuestionnaireEntity, VRMRFQQuestionnaireEntity
EmailId→SysEmailTable.EmailId(key of SysEmailTable)Many CaseDetailBase records → zero or one SysEmailTable record
Not exposed by a public entity.
CAPACategoryId→QMSCAPACategory.CategoryId(key of QMSCAPACategory)Many CaseDetailBase records → zero or one QMSCAPACategory record
QMSCAPACategory details: see QMSCAPACategoryEntity
CAPASubCategoryId→QMSCAPASubCategoryUserDefined.SubCategoryId(key of QMSCAPASubCategoryUserDefined)Join on all of:
CAPASubCategoryId=QMSCAPASubCategoryUserDefined.SubCategoryId,CAPACategoryId=QMSCAPASubCategoryUserDefined.CategoryIdMany CaseDetailBase records → zero or one QMSCAPASubCategoryUserDefined record
QMSCAPASubCategoryUserDefined details: see QMSCAPAUserDefinedSubCategoryEntity
CAPAClassificationCodeId→QMSCAPAClassificationCode.ClassificationCodeId(key of QMSCAPAClassificationCode)Many CaseDetailBase records → zero or one QMSCAPAClassificationCode record
QMSCAPAClassificationCode details: see QMSCAPAClassificationEntity
CAPAResolutionTypeId→QMSCAPAResolution.ResolutionType(key of QMSCAPAResolution)Many CaseDetailBase records → zero or one QMSCAPAResolution record
QMSCAPAResolution details: see QMSCAPAResolutionTypeEntity
CAPARootCauseCodeId→QMSCAPARootCause.RootCauseCode(key of QMSCAPARootCause)Many CaseDetailBase records → zero or one QMSCAPARootCause record
QMSCAPARootCause details: see QMSCAPARootCauseEntity
CAPASourceCodeId→QMSCAPASourceCode.SourceCodeId(key of QMSCAPASourceCode)Many CaseDetailBase records → zero or one QMSCAPASourceCode record
QMSCAPASourceCode details: see QMSCAPASourceEntity
CAPATypeId→QMSCAPAType.CAPATypeId(key of QMSCAPAType)Many CaseDetailBase records → zero or one QMSCAPAType record
QMSCAPAType details: see QMSCAPATypeEntity
Need help with QMSCAPACaseEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.