QM Zones
π― Overviewβ
The QM (Quality Management) Module serves as the central quality control hub for monitoring and managing scan position accuracy and zone-level quality metrics. This comprehensive system provides real-time quality threshold monitoring, automated rule evaluation, and structured approval workflows. The module integrates seamlessly with the scanning system to ensure data quality and operational excellence through continuous monitoring and management oversight.
The QM Module operates with two integrated components accessible through a unified interface:
- π QM Scans: Individual scan position quality control and verification management
- π’ QM Zones: Zone-level quality oversight and compliance monitoring
π Access Requirementsβ
π₯ Required Roles & Permissionsβ
- Team Admin:
roles.system.teamAdmin - User Admin:
roles.system.userAdmin - System Admin:
roles.system.admin - Super Admin:
roles.system.superAdmin - Team Manager:
roles.project.teamManager - Area Manager:
roles.project.areaManager
π Permission Scopeβ
- Project-Based: Access limited to assigned projects
- Role-Hierarchical: Higher roles have broader access
- Active Project Requirement: Operations require project to be in "running" state
π» QM Module Interface Layoutβ
ποΈ Module Control Panelβ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β οΏ½ QM Module β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β οΏ½π Last updated: Nov 3, 2025 14:30 [π Refresh] β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β π¦ Info π‘ Notify π΄ Warning ββ Quality Status Legend β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β π QM Synchronization Status: β
β β οΈ There was a change to threshold limits β
β [π Sync Settings] ββ Synchronize quality rule changes β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β π Navigation: [π QM Scans] [π’ QM Zones] β
β π View Modes: [π Unapproved] [β
Approved] β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
οΏ½ Job Status Indicatorsβ
- βΈοΈ Paused: Quality rules changed, synchronization required
- β Ready: Job queued for processing
- π Running: Active synchronization with progress percentage
- β Failed: Error occurred, check logs for details
π QM Scans Componentβ
The QM Scans section provides detailed quality control for individual scan positions, allowing managers to review, verify, and approve scan accuracy at the most granular level.
οΏ½π QM Scans Table Interfaceβ
π QM Scans Table [π Show/Hide Filters]
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Zone | Status | Position | Barcode | Rules | Verify | Action β
ββββββββΌβββββββββΌβββββββββββΌββββββββββΌββββββββΌβββββββββΌβββββββββ€
β βΌ A1 β π’ Active β Group βABC123 β β οΈ 85% β β
β[Verify]β
β β β β 1-5 β β β β[Approve]β
β ββββΌβββββββββΌβββββββββββΌββββββββββΌββββββββΌβββββββββΌβββββββββ€
β β β π’ Active β 1 βABC123 β β οΈ 85% β β
β[History]β
β β β β βProduct1 β π‘ 92% β β[Approve]β
β β β β β β β β β
β ββββΌβββββββββΌβββββββββββΌββββββββββΌββββββββΌβββββββββΌβββββββββ€
β β β π’ Active β 2 βDEF456 β π΄ 78% β β β[History]β
β β β β βProduct2 β β οΈ 88% β β[Approve]β
βββββββ΄βββββββββ΄βββββββββββ΄ββββββββββ΄ββββββββ΄βββββββββ΄βββββββββ
π Page 1 of 5 | π 50 total scans
β QM Scans Featuresβ
- Position-Level Quality Control: Monitor individual scan positions with detailed metrics
- Grouped Scan Handling: Manage multiple scans per position with expandable group views
- Verification Tracking: Track manual verification status for each scan position
- Approval Workflow: Manager-level approval process with revision history
- Threshold Monitoring: Real-time quality rule evaluation with color-coded indicators
π’ QM Zones Componentβ
The QM Zones section provides zone-level quality oversight, offering aggregated quality metrics and management controls for entire operational zones.
π’ QM Zones Table Interfaceβ
π QM Zones Table [π Show/Hide Filters]
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Zone Code | Zone Status | Rule 1 | Rule 2 | Timestamp | Action β
βββββββββββββΌββββββββββββββΌβββββββββΌβββββββββΌββββββββββββΌβββββββββ€
β A1 β π’ Active β β οΈ 85% β π‘ 92% β 14:30 β[History]β
β β β β β Nov 3 β[Approve]β
βββββββββββββΌββββββββββββββΌβββββββββΌβββββββββΌββββββββββββΌβββββββββ€
β B2 β π΄ Critical β π΄ 65% β β οΈ 80% β 14:25 β[History]β
β β β β β Nov 3 β[Approve]β
βββββββββββββΌββββββββββββββΌβββββββββΌβββββββββΌββββββββββββΌβββββββββ€
β C3 β π’ Active β β
98% β β
95% β 14:20 β[History]β
β β (Approved) β β β Nov 3 β[Unapprove]β
βββββββββββββ΄ββββββββββββββ΄βββββββββ΄βββββββββ΄ββββββββββββ΄βββββββββ
π Page 1 of 3 | π 15 total zones
β QM Zones Featuresβ
- Zone-Level Quality Overview: Aggregate quality metrics per zone with comprehensive reporting
- Status Monitoring: Track zone operational status with real-time updates
- Threshold Compliance: Zone-wide quality rule compliance monitoring
- Approval Management: Zone approval/unapproval workflows with manager oversight
β Core QM Module Featuresβ
π Quality Rules Engineβ
- Configurable Thresholds: Customizable quality rules with flexible parameters
- Multi-Level Alerts: Info (π¦), Notify (π‘), Warning (π΄) level classifications
- Real-time Evaluation: Continuous quality monitoring with automated assessments
- Rule Change Tracking: Complete audit trail for rule modifications and updates
π Synchronization Systemβ
- Background Jobs: Automated quality data processing with job queue management
- Progress Tracking: Real-time job progress monitoring with percentage completion
- Error Handling: Comprehensive error reporting with detailed failure logs
- Manual Sync: On-demand data synchronization with refresh capabilities
π― Integrated Workflow Managementβ
- Unified Interface: Single entry point for both scan and zone quality management
- Cross-Component Navigation: Seamless switching between scans and zones views
- Consistent Approval Process: Standardized approval workflows across components
- Centralized Status Monitoring: Single dashboard for all quality operations
π QM Module Usage Guideβ
οΏ½ Getting Startedβ
- Navigate to QM Module via main navigation menu
- Check Sync Status in the control panel header
- Select Component: Choose between QM Scans or QM Zones
- Choose View Mode: Switch between "Unapproved" and "Approved" tabs
- Apply Filters: Use filter controls to narrow down results
- Monitor Indicators: Review quality thresholds and alert levels
οΏ½ Managing QM Synchronizationβ
-
Monitor Sync Status:
- βΈοΈ Paused: Quality rules have changed, synchronization required
- β Ready: Job is queued and waiting for processing
- π Running: Active synchronization with progress percentage
- β Failed: Error occurred, check error details in tooltip
-
Synchronize Quality Data:
οΏ½ Click "Sync Settings" when status shows paused
π Monitor progress percentage during synchronization
β Wait for completion before performing quality operations
π Use "Refresh" button to manually update displayed data
π Working with QM Scansβ
-
Review Scan Quality:
π Navigate to QM Scans component
π Apply filters by zone, status, verification state
π Review quality rule violations and threshold levels
β οΈ Identify scans requiring attention (warning/notify levels) -
Approve Scan Positions:
β Individual Approval: Click [Approve] for single scan positions
π Grouped Approval: Approve all scans within a position group
π Bulk Operations: Select multiple positions for batch approval
π Review approval confirmation dialogs before proceeding -
Verify Scan Sessions:
β Single Verification: Click [Verify] for individual zones
π Open Verify Session: Launch verification workflow for zone
β οΈ Confirm Verification: Review and confirm verification requirements
π Track verification status in verify status column -
View Scan History:
π Click [History] button for detailed scan revision history
π€ Review approval/unapproval actions and responsible users
π Check timestamps for quality changes and approvals
π Track quality trend over time
π’ Working with QM Zonesβ
-
Monitor Zone Quality:
π Navigate to QM Zones component
π― Review zone-level quality metrics and rule compliance
π Monitor quality trends and threshold violations
π’ Check zone operational status indicators -
Approve/Unapprove Zones:
β Zone Approval: Click [Approve] for zones meeting quality standards
β Zone Unapproval: Click [Unapprove] to flag quality concerns
π Bulk Operations: Process multiple zones simultaneously
β οΈ Confirm actions through approval confirmation dialogs -
Review Zone History:
οΏ½ Click [History] button for zone quality history
οΏ½ Review manager approvals and quality decisions
π Track zone quality performance over time
π Analyze quality improvement or degradation patterns
π Understanding QM Module Indicatorsβ
- π¦ Info: Informational threshold (95-100%) - Excellent quality
- π‘ Notify: Warning threshold (85-94%) - Attention recommended
- π΄ Warning: Critical threshold (below 85%) - Immediate action required
- β Verified: Scan has been manually verified by operator
- β Unverified: Scan requires manual verification
- π― Approved: Quality approved by manager/supervisor
- β οΈ Unapproved: Requires quality review and approval
- π Grouped: Multiple scans grouped by position (expandable)
- π History: Revision history available for review
β οΈ QM Module Troubleshootingβ
π« Common QM Module Issuesβ
β "Project not active" Error
- β Check Project State: Ensure project is in "running" status
- β Verify Project Status: Confirm project is not paused or closed
- β Contact Admin: Request project reactivation if needed
- β Project Permissions: Verify access to project settings
β "Permission denied" Error
- β Role Verification: Confirm adequate role assignment (Team/Area Manager minimum)
- β Project Membership: Verify membership in target project
- β Role Hierarchy: Check if role level meets QM module requirements
- β Admin Contact: Request role upgrade through system administrator
β "QM Synchronization job failed" Status
- β Check Error Details: Review error tooltip for specific failure reason
- β Data Validation: Ensure scan/zone data integrity in source systems
- β Retry Synchronization: Attempt synchronization restart
- β Resource Check: Verify server resources and database connectivity
- β System Admin: Contact administrator for persistent failures
β "Unapprove not available" Message
- β Approval Source: Only manually approved items can be unapproved
- β System Approvals: Automated system approvals cannot be manually reverted
- β Check History: Review approval history to understand approval source
- β Alternative Actions: Consider re-running quality evaluation if needed
β "No data available" Empty States
- β Synchronization Status: Ensure QM synchronization has completed successfully
- β Filter Settings: Clear all filters to show complete dataset
- β Time Range: Check if quality data exists for current time period
- β Source Data: Verify scans/zones exist in project and are properly configured
- β Refresh Data: Use refresh button to reload latest data
π± Mobile/Responsive QM Module Usageβ
- Expandable Groups: Touch to expand/collapse scan position groups
- Horizontal Scrolling: Swipe horizontally to view all table columns
- Filter Controls: Filter panel may collapse on smaller screens
- Touch Actions: All buttons and controls optimized for touch interaction
- Component Switching: Easy navigation between Scans and Zones on mobile
π QM Module Performance Optimizationβ
- Filtered Views: Use specific filters to limit large datasets for better performance
- Pagination: Navigate through data in manageable chunks rather than loading all
- Targeted Refresh: Refresh specific components rather than entire module
- Background Sync: Allow automatic synchronization to complete before manual operations
- Cache Management: Clear browser cache if data appears outdated
π οΈ QM Module Technical Detailsβ
ποΈ QM Module Architectureβ
The QM Module operates as an integrated system with shared infrastructure and specialized components:
// QM Module Structure
{
controlPanel: {
synchronizationStatus: "running|paused|ready|failed",
lastUpdated: Date,
progressPercentage: Number,
refreshCapability: Boolean
},
components: {
qmScans: { /* scan-specific functionality */ },
qmZones: { /* zone-specific functionality */ }
},
sharedServices: {
qualityRulesEngine: { /* threshold evaluation */ },
approvalWorkflow: { /* approval management */ },
synchronizationJob: { /* background processing */ }
}
}
π QM Scans Data Structureβ
// QM Scan Record
{
_id: "qmScan123",
scan: {
scanId: "scan456",
projectId: "project789",
zoneId: "zone123",
position: 1,
barcode: "ABC123",
description: "Product Name",
isVerified: true
},
rule: {
ruleId: "rule456",
value: 85.5,
level: "warning", // info, notify, warning
lastRun: new Date(),
approved: false,
ruleChange: "threshold_modified"
},
approved: false,
approvedBy: "user123",
correlationId: "correlation456",
history: [
{
timestamp: new Date(),
action: "approved",
userId: "user123",
previousValue: { approved: false }
}
],
deleted: false
}
π’ QM Zones Data Structureβ
// QM Zone Record
{
_id: "qmZone123",
zone: {
zoneId: "zone456",
projectId: "project789",
zoneCode: "A1",
zoneStatus: "active"
},
rule: {
ruleId: "zoneRule456",
value: 92.3,
level: "notify",
lastRun: new Date(),
approved: true
},
approved: true,
approvedBy: "user123",
correlationId: "correlation789",
history: [/* revision history */],
deleted: false
}
π Quality Rules Configurationβ
// Quality Rule Structure
{
ruleId: "rule123",
name: "Accuracy Threshold",
type: "percentage",
thresholds: {
info: { min: 95, max: 100 }, // π¦ Info level
notify: { min: 85, max: 94 }, // π‘ Notify level
warning: { min: 0, max: 84 } // π΄ Warning level
},
appliesTo: ["scans", "zones"],
isActive: true
}
π§ QM Module Job Processing Systemβ
// QM Module Job Structure
{
_id: "qmJob123",
type: "qmModule",
status: "running", // paused, ready, running, completed, failed
progress: {
percent: 75,
completed: 750,
total: 1000
},
data: {
scope: "projectId",
objectId: "project123",
synchronizationType: "full|incremental",
components: ["scans", "zones"],
ruleChanges: [
{ ruleId: "rule123", previousThreshold: 85, newThreshold: 90 }
]
},
failures: [
{
value: "Database connection timeout",
timestamp: new Date(),
component: "scans|zones"
}
],
created: new Date(),
started: new Date(),
completed: null
}
π QM Module Security Featuresβ
- Hierarchical Role Access: Multi-level permission system with role inheritance
- Component-Level Security: Separate access controls for scans and zones
- Project Isolation: Strict project-based data segregation
- Audit Trail Integration: Complete history tracking across all components
- Correlation Tracking: Links related operations across scans and zones
- Input Validation: Comprehensive parameter validation for all operations
π QM Module Performance Optimizationsβ
- Unified Data Pipeline: Shared aggregation pipelines for efficient processing
- Component Caching: Intelligent caching strategy across scans and zones
- Background Processing: Async quality rule evaluation with job queuing
- Optimized Queries: Database indexes and query optimization for large datasets
- Progressive Loading: Lazy loading of component data based on user navigation
π QM Module Integration Pointsβ
- Scan System Integration: Real-time integration with main scanning operations
- Zone Management Sync: Bidirectional synchronization with zone status
- User Management: Role-based permission integration across components
- Project Lifecycle: Respects project state requirements for all operations
- Notification System: Unified quality alerts and status updates
- Reporting Integration: Data feeds for quality reporting and analytics
π Quality Metrics Calculation Engineβ
// Unified Quality Score Calculation
const calculateModuleQualityScore = (scans, zones, rules) => {
// Scan-level calculations
const scanQuality = scans.reduce((total, scan) => {
return total + evaluateQualityRules(scan, rules.scanRules);
}, 0) / scans.length;
// Zone-level calculations
const zoneQuality = zones.reduce((total, zone) => {
return total + evaluateQualityRules(zone, rules.zoneRules);
}, 0) / zones.length;
// Combined module score
return {
overallScore: (scanQuality + zoneQuality) / 2,
scanScore: scanQuality,
zoneScore: zoneQuality,
trendAnalysis: calculateTrends(historicalData),
recommendations: generateQualityRecommendations()
};
};
This documentation covers the comprehensive QM Module with integrated scan and zone quality management. The unified interface provides seamless access to both scan-level and zone-level quality control operations. For advanced quality rule configuration, custom threshold setup, or troubleshooting complex quality issues, consult with your system administrator.