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 · root
  • ContactPerson · OuterJoin to CaseDetailBase · read-only
  • HcmWorker · OuterJoin to CaseDetailBase · read-only
  • DirPerson · OuterJoin to HcmWorker · read-only
  • OMOperatingUnit · OuterJoin to CaseDetailBase · read-only
  • DirPartyBaseEntity · OuterJoin to CaseDetailBase · read-only
  • CustCollectionsCaseDetail · Derived to CaseDetailBase
  • CaseDetail · Derived to CaseDetailBase
  • HcmFMLACaseDetail · Derived to CaseDetail

Fields (42)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AnswerIdIdentifier of the questionnaire answer linked to the case.String
KMVirtualNetworkAnswerTableId
NoYesKMVirtualNetworkAnswerTable.kmVirtualNetworkAnswerTableIdCaseDetail.AnswerId
BillingProjectIdProject used for billing the case.String (20)
ProjId
NoYesCaseDetail.ProjId
CaseIdUnique identifier of the case.String
CaseId
YesYesCaseDetailBase.CaseId
CaseStatusWhere the case stands: opened, in process, closed or cancelled.Enum
CaseStatus
  • None 0
  • Planned 1
  • InProcess 2
  • Closed 3
  • Cancelled 4
YesYesCaseDetailBase.Status
ClosedByUser who closed the case.String
SysUserId
NoYesCaseDetailBase.ClosedBy
ClosedDateAndTimeDate and time when the case was closed.UtcDateTime
ClosedDateTime
NoYesCaseDetailBase.ClosedDateTime
ComplianceNumber showing how well the case meets its service level agreement.Real
SMAServiceLevelAgreementCompliance
NoYesCaseDetail.Compliance
CaseCreatedDateAndTimeThe date and time when the record was created.UtcDateTime
CreatedDateTime
NoYesCaseDetailBase.CreatedDateTime
ContactIdCode that identifies the contact.String (20)
ContactPersonId
NoYesContactPerson.ContactPersonId
DepartmentRecIdOperating unit, shown as the department, linked to the case.Int64
OMDepartmentRecId
NoNo (private)OMOperatingUnit.RecIdCaseDetailBase.Department
DescriptionShort text describing the case.String (60)
Description
NoYesCaseDetailBase.Description
DirPartyRecIdParty (customer or other name) the case relates to.Int64
DirPartyRecId
NoNo (private)CustTable.PartyDirPartyTable.RecIdCaseDetailBase.Party
EmployeeResponsibleNameFull name of the party.String (160)
DirPartyName
NoYesDirPartyTable.Name
EmployeeResponsiblePersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
HCMWorkerRecIdWorker responsible for the case.Int64
HcmWorkerRecId
NoNo (private)HcmWorker.RecIdCaseDetailBase.OwnerWorker
InstanceRelationTypeNumber identifying the type of instance relation for the case. Meaning not clear from the metadata.low confidenceInt64
CaseInstanceRelationType
NoNo (private)CaseDetailBase.InstanceRelationType
NotesFree-text notes about the case.String (-1)
Notes
NoYesCaseDetailBase.Memo
DepartmentNumberThe number that identifies the operating unit.String (30)
OMOperatingUnitNumber
NoYesOMOperatingUnit.OMOperatingUnitNumber
PartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
NoYesDirPartyTable.PartyNumber
PlannedEffectiveDateDate on which the change in the case is planned to take effect.Date
EngChgCasePlannedEffectiveDate
NoYesCaseDetail.PlannedEffectiveDate
PriorityPriority level of the case, stored as text.String (20)
smmLeadPriority
NoYesCaseDetailBase.Priority
ProcessIdCase process, taken from the hierarchies setup.String (20)
CaseProcess
NoYesCaseDetailBase.Process
QuestionnaireIdIdentifier of the questionnaire linked to the case.String
KMCollectionId
NoYesKMCollection.kmCollectionIdCaseDetail.QuestionnaireId
ResolutionOutcome of the case: none, accept or reject.Enum
CaseResolutionType
  • None 0
  • Accept 1
  • Reject 2
NoYesCaseDetail.Resolution
ServiceStageIdIdentifier of the service stage the case is in.String
SMAStageId
NoYesCaseDetail.StageId
ServiceLevelAgreementIdIdentifier of the service level agreement that applies to the case.String
SMAServiceLevelAgreementId
NoYesCaseDetail.ServiceLevelAgreementId
ServiceLevelAgreementStatusCurrent state of the service level agreement tracking: none, started, stopped or cancelled.Enum
SMALogStatus
  • None 0
  • Open 1
  • Closed 2
  • Cancel 3
NoYesCaseDetail.ServiceLevelAgreementStatus
ServiceLevelCompletionDateLatest date and time by which the service level agreement should be completed.UtcDateTime
SMALatestCompletionDateTime
NoYesCaseDetail.SLALatestCompletionDateTime
NameFull name of the party.String (160)
DirPartyName
NoYesDirPartyTable.Name
EmailIdEmail record linked to the case.String
SysEmailId
NoYesSysEmailTable.EmailIdCaseDetailBase.EmailId
CAPACaseClassificationClassification of the case as corrective, preventive, or both.Enum
QMSCAPACaseClassification
  • None 0
  • Corrective 1
  • Preventive 2
  • CorrectiveAndPreventive 3
NoYesCaseDetailBase.QMSCAPACaseClassification
CAPACategoryIdCAPA category assigned to the case.String (20)
QMSCAPACategoryId
NoYesQMSCAPACategory.CategoryIdCaseDetailBase.QMSCAPACategoryId
CAPASubCategoryIdCAPA subcategory of the case, within its CAPA category.String (20)
QMSCAPASubCategoryId
NoYesQMSCAPASubCategoryUserDefined.SubCategoryIdCaseDetailBase.QMSCAPASubCategoryId
CAPAClassificationCodeIdCode showing whether the CAPA case is major or minor.String
QMSCAPAClassificationCodeId
NoYesQMSCAPAClassificationCode.ClassificationCodeIdCaseDetailBase.QMSCAPAClassificationCodeId
CAPAResolutionNoteLong text explaining how the CAPA case was resolved.String (-1)
QMSCAPAResolutionNote
NoYesCaseDetailBase.QMSCAPAResolutionNote
CAPAResolutionSummaryShort summary of the CAPA resolution.String (100)
QMSCAPAResolutionSummary
NoYesCaseDetailBase.QMSCAPAResolutionSummary
CAPAResolutionTypeIdType of resolution for the CAPA case.String
QMSCAPAResolutionType
NoYesQMSCAPAResolution.ResolutionTypeCaseDetailBase.QMSCAPAResolutionType
CAPARootCauseCodeIdCode of the root cause found for the CAPA case.String (20)
QMSCAPARootCauseCode
NoYesQMSCAPARootCause.RootCauseCodeCaseDetailBase.QMSCAPARootCauseCode
CAPASourceCodeIdSource of the CAPA case.String
QMSCAPASourceCodeId
NoYesQMSCAPASourceCode.SourceCodeIdCaseDetailBase.QMSCAPASourceCodeId
CAPATypeIdType of the CAPA case.String (20)
QMSCAPATypeId
NoYesQMSCAPAType.CAPATypeIdCaseDetailBase.QMSCAPATypeId
CAPACreatedDateDate on which the CAPA case was created.Date
QMSCreationDate
NoYesCaseDetailBase.QMSDate
CAPADueDateDate by which the CAPA case is due.Date
DueDate
NoYesCaseDetailBase.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.CategoryId

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

Email sales@drdynamics.co.uk