Module: Quality Management System v1.0.0
What is Quality Management System?
ISO-aligned document control, NCR/CAPA, audits, training, and quality KPIs for Perfex CRM
This module installs into modules/qms/ and adds its own admin menus, permissions, and database tables — without editing Perfex CRM core files.
Who should use this module?
- Admins — activate the module, configure Settings, assign roles, and manage integrations.
- Operators / day-to-day staff — create and update records (orders, attendance, shipments, messages, etc.).
- Managers / approvers — review queues, approve workflows, and monitor dashboards/KPIs.
- Finance / compliance / ops leads — run reports, exports, and audit trails when the module supports them.
What you can achieve
- Keep all related work in one place inside Perfex CRM instead of spreadsheets.
- Control who can view, create, edit, approve, or export with role permissions.
- Use dashboards and reports to see status, bottlenecks, and history.
- Connect to other CRM data (customers, invoices, items, staff) where the module integrates.
Recommended learning path
- Read How to Install and activate the module.
- Skim Features so you know what screens exist.
- Complete the Quick Start checklist on this page (Settings → masters → first sample record).
- Open each screen guide under Screen-by-screen guides when you need step-by-step help.
- Check Version & Changelog after upgrades for new options.
Tip: Train one admin first, then create a limited role for operators so they only see the screens they need.
5-minute Quick Start
Follow this short path the first time you use Quality Management System:
- Activate — Setup → Modules → activate Quality Management System (run Upgrade if prompted).
- Permissions — Setup → Staff → Roles → enable view/create/edit (and approve/settings if needed) for this module.
- Settings — Open Quality Management System → Settings and save company defaults, prefixes, and integrations.
- Master data — Create the first required masters (products, warehouses, templates, channels, accounts, routes, etc.).
- First transaction — Create one sample record end-to-end (save → submit/approve → complete) and confirm it appears in lists/reports.
- Cron — If the module uses alerts, sync, queues, or AI, confirm Perfex CRM cron is scheduled on the server.
Full how-to guide (from module package)
The steps below come from the module author's printable guide — follow them in order for best results.
HOW TO USE — Quality Management System for Perfex CRM (v1.0.0)
Author: Nasbix Technologies
1) INSTALLATION
- Extract the purchased ZIP.
2. Upload the "qms" folder to:
/modules/qms
- Login to Perfex CRM Admin.
4. Go to: Setup → Modules
- Find "Quality Management System" and click Activate.
- Database tables and options are created automatically.
7. Assign permissions:
Setup → Staff → Roles / Permissions → QMS capabilities
2) FIRST-TIME SETUP
1. Open: QMS → Settings
2. Set:
- Document code prefix (e.g. DOC-)
- NCR code prefix (e.g. NCR-)
- Audit code prefix (e.g. AUD-)
- Default review period (days)
- Require document approval
- Email notification toggles
- Training expiry alert days
- API / webhooks / integration options
- Save settings.
3) DAILY WORKFLOW
A. Document Control
- QMS → Document Categories (create SOP, Policy, Form categories)
- QMS → Documents → New Document
- Upload revision file, submit for review, Approve when ready
- Track review dates and obsolete documents
B. Non-Conformance & CAPA
- QMS → Non-Conformances → New NCR
- Set source, severity, assignee, and description
- Add CAPA actions (corrective / preventive)
- Complete root-cause analysis and close when verified
C. Audits
- QMS → Audit Checklists → create reusable checklists
- QMS → Audits → schedule internal / external / supplier audits
- Record findings and optionally link to NCRs
- Export Audit PDF report
- Audits appear on the admin calendar
D. Training & Competency
- QMS → Competency Matrix → map roles to required training/SOPs
- QMS → Training Records → log completions and expiry dates
- Staff acknowledge controlled documents
- Cron sends training expiry email alerts (when enabled)
E. Supplier Quality & KPIs
- QMS → Supplier Quality → monthly ratings
- QMS → Quality KPIs → PPM, CAPA closure, audit scores
F. Integrations (optional)
- QMS → Integrations
- Create API keys
- Configure webhooks (document.approved, ncr.created, audit.completed)
- Enable LIMS / Manufacturing / Multi-Plant hooks if those modules are active
4) UNINSTALL (CLEAN REMOVAL)
1. Setup → Modules → Deactivate Quality Management System
2. Click Uninstall
3. Module removes:
- All qms_* database tables
- All qms_* options/settings
- QMS email templates (qms-ncr-assigned, qms-capa-assigned, qms-training-expiry)
- Uploaded files under uploads/qms/
- No Perfex CRM core files are modified.
5) SUPPORT
- Open documentation/index.html from the package
- Include Perfex version, PHP version, and qms_db_version when contacting support
- Author: Nasbix Technologies — https://nasbix.com
Module documentation index
Start here — full guides for Quality Management System:
- Overview & How to Use — what it is, who uses it, daily workflow
- Quick Start Guide — first 5 minutes + printable how-to
- How to Install — upload, activate, permissions, verify
- Features (Full Detail) — every capability explained
- FAQ & Tips — common questions and best practices
- Version & Changelog — version history
Screen-by-screen guides (each tab explained)
Click a menu item below for step-by-step instructions on that Quality Management System screen:
- QMS Dashboard
- Documents
- Non-Conformances (NCR)
- Audits
- Audit Checklists
- Training Records
- Competency Matrix
- Supplier Quality
- Quality KPIs
- Integrations
- Document Categories
- Settings
How to use in Perfex CRM (daily operations)
- Sign in to the admin area with a role that includes Quality Management System permissions.
- Open Qms (sidebar) or search for Quality Management System in the admin menu.
- Start on the Dashboard (if available) to see open tasks, pending approvals, and KPIs.
- Review Settings after upgrades — new options may need defaults for your company.
- Create or import master data first; most modules block transactions until masters exist.
- Run the main business flow (create → submit → approve → post/complete) using the screens listed in Admin menu below.
- Use Reports / Analytics screens to reconcile stock, finance, compliance, or SLA metrics.
- For integrations (API, EDI, gateways, tax), confirm credentials in Settings and monitor logs or webhook delivery screens.
- Train staff with role-based access — give approvers approve permissions only, operators create/edit on their area.
- If something fails overnight, check Perfex CRM cron ran and open the module log / failed queue screen if present.
Admin menu — where to work
Open the Quality Management System section in the admin sidebar. Screens your staff may use (depending on role):
- API Keys
- Audit Checklists
- Audit Findings
- Audits
- CAPA Actions
- Competency Matrix
- Document Categories
- Documents
- Integrations
- Non-Conformances (NCR)
- QMS
- QMS Dashboard
- Quality KPIs
- Settings
- Supplier Quality
- Training Records
- Webhooks
Screens map — what each menu is for
These are the admin screens registered by Quality Management System. Click a name in the Knowledge Base for a full how-to, or open the path in admin.
| # | Screen | Admin path | Guide |
|---|---|---|---|
| 1 | QMS Dashboard | admin/qms | How to use |
| 2 | Documents | admin/qms/qms_documents | How to use |
| 3 | Non-Conformances (NCR) | admin/qms/qms_non_conformances | How to use |
| 4 | Audits | admin/qms/qms_audits | How to use |
| 5 | Audit Checklists | admin/qms/qms_audit_checklists | How to use |
| 6 | Training Records | admin/qms/qms_training_records | How to use |
| 7 | Competency Matrix | admin/qms/qms_competency_matrix | How to use |
| 8 | Supplier Quality | admin/qms/qms_supplier_quality | How to use |
| 9 | Quality KPIs | admin/qms/qms_quality_kpi | How to use |
| 10 | Integrations | admin/qms/qms_integrations | How to use |
| 11 | Document Categories | admin/qms/qms_document_categories | How to use |
| 12 | Settings | admin/qms/qms_settings | How to use |
Detailed guide — features, workflows, API & FAQ
Features
- QMS Dashboard with document, NCR, audit, and training metrics
- Document Categories and controlled Documents with revision history
- Document approval workflow and file attachments per revision
- Non-Conformance Reports (NCR) with CAPA and root-cause analysis
- Quality Audits, reusable checklists, findings, calendar, and PDF export
- Training Records, Competency Matrix, and Document Acknowledgments
- Supplier Quality Ratings and Quality KPI dashboard
- REST API, API keys, webhooks, and optional LIMS / Manufacturing / Multi-Plant hooks
- Activity audit log and dashboard widget
Permissions
| Feature | Capabilities |
|---|---|
| --------- | ------------- |
| QMS Dashboard | view |
| Document Categories | view, create, edit, delete |
| Documents | view, create, edit, delete, approve |
| Non-Conformances | view, create, edit, delete |
| CAPA Actions | view, create, edit, delete, verify |
| Audits | view, create, edit, delete |
| Audit Checklists | view, create, edit, delete |
| Audit Findings | view, create, edit, delete |
| Training Records | view, create, edit, delete |
| Competency Matrix | view, create, edit, delete |
| Supplier Quality | view, create, edit, delete |
| Integrations | view |
| API Keys | view, create, edit, delete |
| Webhooks | view, create, edit, delete |
| Settings | view, edit |
API
Base URL: {site_url}/qms/qms_api
Authenticate with header: Authorization: Bearer {api_token}
Endpoints: documents, ncrs (GET/POST), audits, kpis
How To Use This Module
1. Settings
Open QMS → Settings and set document / NCR / audit code prefixes, review period, approval requirement, email alerts, training expiry days, and optional API / webhook / integration toggles.
2. Document Control
- Create Document Categories (SOP, Policy, Form, etc.).
- Add a Document, set owner, type, and description.
- Upload a revision file, submit for review, then Approve.
- Track review dates and mark obsolete when superseded.
3. NCR & CAPA
- Create a Non-Conformance with source, severity, and assignee.
- Add CAPA actions (corrective / preventive) with due dates.
- Record root-cause analysis and close after verification.
4. Audits
- Build reusable Audit Checklists.
- Schedule an Audit (internal / external / supplier / process).
- Record findings, optionally link to NCRs, export PDF.
- Audits also appear on the admin calendar.
5. Training & Competency
- Define Competency Matrix requirements per role.
- Log Training Records with completion and expiry dates.
- Staff can acknowledge controlled documents.
- Cron sends training expiry emails when enabled.
6. Supplier Quality & KPIs
Use Supplier Quality for ratings and Quality KPIs for PPM, CAPA closure rate, and audit scores.
7. Integrations (optional)
Under QMS → Integrations, create API keys, configure webhooks, and enable LIMS / Manufacturing / Multi-Plant hooks when those modules are active.
Plain-text guide: HOW_TO_USE.txt
Features
- QMS Dashboard with document, NCR, audit, and training metrics
- Controlled documents with categories, revisions, and approval workflow
- Non-Conformance Reports (NCR) and CAPA actions
- Audits, checklists, findings, calendar events, and PDF reports
- Training records, competency matrix, and document acknowledgments
- Supplier quality ratings and quality KPI dashboard
- REST API keys, webhooks, and optional module integrations
- Granular staff permissions and dashboard widget
- Clean uninstall removes all module data
Permissions
Assign under Setup → Staff → Roles.
| Feature | Capabilities |
|---|---|
| QMS Dashboard | view |
| Document Categories | view, create, edit, delete |
| Documents | view, create, edit, delete, approve |
| Non-Conformances | view, create, edit, delete |
| CAPA Actions | view, create, edit, delete, verify |
| Audits / Checklists / Findings | view, create, edit, delete |
| Training / Competency | view, create, edit, delete |
| Supplier Quality | view, create, edit, delete |
| Integrations / API / Webhooks | view (+ create/edit/delete for keys & webhooks) |
| Settings | view, edit |
Uninstall
- Deactivate Quality Management System in Setup → Modules.
- Click Uninstall.
This removes all qms_* tables, options, email templates, and files under uploads/qms/. Core Perfex CRM files are not modified.
Cron Jobs
Training expiry alerts and optional LIMS auto-NCR run through Perfex CRM's main cron:
* * * * * php /path/to/perfex/index.php cron/index > /dev/null 2>&1
After activation — configuration checklist
- Extract the purchased ZIP.
- Go to Setup → Modules and activate Quality Management System.
- Assign permissions under Setup → Staff → Roles / Permissions.
- Open QMS → Settings and configure prefixes, notifications, and integrations.
- Perfex CRM 2.3+ (3.x recommended)
- PHP 7.4+ (8.1+ recommended)
- MySQL 5.7+ / MariaDB 10.3+ (InnoDB)
- PHP extensions: mysqli, json, mbstring, curl, fileinfo
One-time setup (first time only)
- Setup → Modules → activate Quality Management System.
- Setup → Staff → Roles → assign Quality Management System permissions (view, create, edit, delete, approve, export, settings as needed).
- Open Quality Management System → Settings and complete company defaults, prefixes, integrations, and notification options.
- Create master data (warehouses, products, templates, accounts, routes, etc.) before processing live transactions.
- Enable Perfex CRM cron (
php /path/to/perfex/index.php cron/index) for sync, retries, alerts, and scheduled jobs. - Optionally enable REST API / webhooks in module settings if you integrate external systems.
Tips for success
- Always configure Settings before creating live transactions.
- Create master data (items, warehouses, templates, channels, accounts) first — most modules block incomplete records.
- Use a test/sample record before going live with real customers or production stock.
- Separate roles: operators create/edit; managers approve; finance/reporting get view/export only.
- After any module upgrade, reopen Settings and confirm new options have sensible defaults.
- If overnight jobs fail, verify Perfex CRM cron and check the module log / failed queue screen.
Common questions (FAQ)
Where do I find the module after activation?
In the admin sidebar look for Quality Management System. If missing, your role may lack view permission — fix under Setup → Staff → Roles.
Do I need to edit core Perfex CRM files?
No. Keep all custom code under modules/qms/. Activate/deactivate from Setup → Modules.
What happens if I uninstall?
Deactivate keeps data. Uninstall usually removes module tables/options (see the Install article). Core customers, invoices, and items are not deleted by well-built modules.
Why can't my staff see a screen?
Almost always a permissions issue. Give the role at least view on that feature, then ask the user to log out and back in.
Reports/export buttons do nothing
Confirm the role has export (or view reports) permission, and that filters return at least one row. Try PDF/CSV from a wider date range.
Perfex CRM Knowledge Base — detailed usage guide generated from module README, HOW_TO_USE, and documentation.