ERP workflow engineering case study

Northstar ERPNext Pilot

Turning inquiry, quotation, accepted work, and invoice-review records into a safe, permission-aware operational command center.

PlatformERPNext 16, Frappe 16, Python, MariaDB, Docker
ScopeSynthetic 1–25-person professional-services business
RoleDiscovery, workflow design, Frappe engineering, validation
DispositionValidated locally; not deployed to production

The records existed. The daily operating picture did not.

Small service teams often track inquiries, quotes, accepted work, tasks, and invoice follow-up across disconnected screens and spreadsheets. The pilot explored whether those records could explain what needs attention, why it matters, and who owns the next action— without granting automation unsafe authority.

From inquiry to draft-invoice attention.

Five bounded stages, with human approval where pricing or accepted work changes state.

  1. 01Inquiry and duplicate review
  2. 02Owned opportunity and quotation
  3. 03Approval and accepted work
  4. 04Project and three starter tasks
  5. 05Blocked-work and draft-invoice attention

Automation designed to fail safely.

Approval

Risky actions stayed explicit.

Exceptional discounts and project kickoff required human approval. External delivery, accounting, payments, and destructive actions were prohibited.

Correctness

Duplicate prevention was structural.

Deterministic keys, per-run locks, quotation row locking, a unique source constraint, and duplicate-race recovery protected repeated execution.

Operations

Failure became an owned state.

Runs recorded attempts, bounded retries, one manual retry, failure ownership, pause controls, acknowledgement, resolution, and manual fallback.

Deployment

New controls installed safely.

Workflows installed inactive and automation rules installed paused, with no customers, invoices, credentials, endpoints, or external delivery configuration seeded.

Tested beyond the happy path.

Results below apply only to the documented synthetic, offline, or disposable-site boundaries.

Northstar validation evidence and recorded results
Evidence areaRecorded result
Pilot scopeT01, T02, T04–T10, and T13–T17 passed inside recorded synthetic or offline boundaries.
Source contracts42 discovered: 33 passed and nine installed-site-only skips by design.
Installed validationFour clean-install contracts and five lifecycle and permission tests passed on disposable ERPNext 16.27.0 and Frappe 16.26.3 sites.
ConcurrencyTwo simultaneous kickoff processes returned one deterministic Project with exactly three Tasks.
LifecycleRepeated migration, upgrade preservation, rollback, backup integrity, and uninstall readiness passed.
Prohibited effectsCommunication, email, accounting, payment, banking, dunning, and Sales Invoice records remained zero.

The decision to stop is part of the work.

Need an operational workflow translated into software?

JBC scopes practical ERP, automation, and internal-tool work around the decision, permissions, exceptions, and support path.