Quality

XBuddy Quality ensures your products and processes meet standards consistently. Create inspection checklists, record non-conformances, track corrective actions, and build an audit trail that proves compliance.

Quality is not just a module for ISO-certified manufacturers. Any business that needs to verify work before releasing it to a customer — from field service technicians completing a job checklist to a food producer testing a batch — can benefit from a structured quality process.

XBuddy Quality connects directly to Manufacturing (trigger inspections at production stages), Inventory (inspect goods on receipt), and Field Service (complete inspection before closing a job). Every result, every finding, and every corrective action is recorded with a timestamp and user attribution.

Key Features

  • Configurable inspection checklists per product or process type
  • Pass, fail, and conditional grading with numeric scoring support
  • Non-conformance reports (NCR) with root cause analysis fields
  • Corrective and preventive action (CAPA) tracking with due dates
  • Quality metrics dashboard: pass rate, NCR trends, and CAPA closure rate
  • Integration with Manufacturing for production stage checkpoints
  • Supplier quality evaluation and scorecards
  • Audit management with finding tracking and evidence attachment
  • Photo and document evidence attachment to inspections and NCRs
  • ISO 9001-aligned workflow support
📸

[Screenshot: Quality — Inspection Checklist Execution View]

Placeholder — will be replaced with actual screenshot

📸

[Screenshot: Quality — NCR Management & CAPA Tracking]

Placeholder — will be replaced with actual screenshot

[Video: Quality — Running Inspections & Managing NCRs]

Watch on YouTube → @XBuddy (placeholder)

Getting Started

  1. Create inspection templates for your key products or service types
  2. Link inspection templates to production order stages or job types
  3. Record your first inspection result using the checklist execution view
  4. Log a non-conformance and assign a CAPA with a due date
  5. Review the quality metrics dashboard to see your pass rate trend

Common Use Cases

  • ISO 9001 compliance: A certified manufacturer links every production batch to an inspection record, giving auditors a complete, timestamped quality trail without paper files.
  • Food safety traceability: A food producer records inspection results against lot numbers so that if a recall is needed, the affected batches can be identified within minutes.
  • Field service quality: A service company requires technicians to complete an inspection checklist before closing a job, attaching photos of the completed work and capturing a customer signature.

QC Templates Management

Create reusable inspection templates at /quality/templates and apply them to any inspection type.

Template Structure

Each template contains:

  • Name — a descriptive label (e.g., “Incoming Goods — Electronics”)
  • Reference type — one of: general, production, incoming, outgoing, process
  • Checklist items — ordered list of inspection points, each with:
    • type: pass_fail, numeric, or text
    • label: the question or measurement name
    • mandatory: boolean — if true, the item must be completed before the inspection can be submitted
    • minValue / maxValue: applicable only for numeric items; defines the acceptable range

Creating a Template

POST /quality/templates
{
  "name": "Incoming Goods — Electronics",
  "referenceType": "incoming",
  "items": [
    { "label": "Packaging intact", "type": "pass_fail", "mandatory": true },
    { "label": "Voltage (V)", "type": "numeric", "mandatory": true, "minValue": 220, "maxValue": 240 },
    { "label": "Batch notes", "type": "text", "mandatory": false }
  ]
}

Full CRUD is available: GET /quality/templates, GET /quality/templates/:id, PUT /quality/templates/:id, DELETE /quality/templates/:id.

Note: Deleting a template does not delete historical inspection records that used it. Those records retain a snapshot of the template at the time of execution.


Quality Reports

The Quality reports page provides three tabs for monitoring inspection outcomes and NCR trends.

Tab 1 — Overview

Four KPI cards summarize the current period at a glance:

CardDescription
Pass ratePercentage of inspections with a passing result
Inspections this monthTotal inspection records created in the current calendar month
Open NCRsCount of non-conformances not yet resolved
Critical NCRsCount of open NCRs with severity critical

A CSS-based bar chart shows pass rate by week or month over the selected date range. Hovering a bar reveals the raw passed/failed counts for that period.

Tab 3 — NCR Analysis

Breaks down open and closed NCRs by reference type, root cause category, and assignee. Useful for identifying systemic quality issues that require process changes rather than one-off fixes.

Date Range Presets

All tabs share presets: Last 7 days, Last 30 days, Last 90 days, and Custom range.


NCR Assignment & Escalation

Assigning an NCR

PUT /quality/ncrs/:id/assign

Request body:

{
  "assigneeId": "usr_abc123",
  "dueDate": "2026-04-15"
}

Setting a dueDate activates the overdue detection engine. Once the due date passes without the NCR being resolved, it appears in the overdue endpoint.

Fetching Overdue NCRs

GET /quality/ncrs/overdue

Each record in the response includes two computed fields:

FieldDescription
daysOverdueCalendar days elapsed since dueDate
severityWeightNumeric weight used for sorting (critical = 4, major = 3, minor = 2, observation = 1)

Results are sorted by severityWeight DESC, daysOverdue DESC, so the most critical and most delayed NCRs surface first.

Note: Only NCRs with an explicit dueDate appear in the overdue list. NCRs without a due date are not included, regardless of age.