Skip to content

Drafts & autosave

Qualio autosaves every NCR and CAPA you start. You can close the tab, lose your Wi-Fi, or come back tomorrow — your work is on the server, not in browser storage.

Autosave runs 1.5 seconds after your last keystroke in any tracked field. The first save creates a row with status = 'draft'; subsequent saves update the same row.

While typing you will see one of three states next to the form header:

  • Saving… — request in flight.
  • Draft saved · HH:MM:SS — successful round-trip.
  • Save failed — retrying — network or validation error; the next keystroke retries.

Need to force a save (for example before leaving the tab to grab a screenshot from another window)? Click Save draft now. It bypasses the debounce and writes immediately.

  1. Open the NCR or CAPA list. Drafts appear with a grey Draft badge and no number (the temporary identifier starts with DRAFT-).

  2. Click the row. You land back on the new-NCR or new-CAPA form, pre-filled with every field you had typed.

  3. Continue editing. The same autosave loop resumes against the existing draft row — no duplicates are created.

You can have many drafts open per user. There is no per-org limit on draft count.

When the form is complete, click Publish NCR or Publish CAPA. The publish RPC:

  1. Validates required fields server-side (title ≥3 chars, description ≥10 chars for NCRs, supplier and issue type for NCRs, parent NCR for CAPAs).
  2. Assigns the real, human-readable number for NCRs — NCR-YYYY-NNNN, sequenced per organisation per year.
  3. Flips status from draft to open.
  4. Sends the assignee email (CAPA) and starts the audit trail.

If validation fails, the record stays a draft and the form shows which field needs work. You will not get a half-published NCR with a missing supplier.

Drafts are deliberately invisible to the rest of the platform until you publish them:

SurfaceDrafts counted?
Monthly NCR quotaNo
Dashboard KPIsNo
Analytics chartsNo
Supplier scorecardNo
Risk-score triggersNo
AI credit usageNo (AI calls are blocked on draft rows)
Email notificationsNo

This is enforced in the count_org_usage RPC and the supplier-risk recompute triggers — draft rows are filtered before any aggregation.

  • NCR — the publish step assigns the NCR-YYYY-NNNN number.
  • CAPA — publishing notifies the assignee.
  • Plans & quotas — only published NCRs hit your monthly limit.