Skip to content
Mediocant

01Work · Client engagement

Enterprise
operations platform.

A production ERPNext / Frappe platform for a food production and retail business: purchasing, inventory, finance, point of sale, HR and asset custody in one system the business controls. Client details are private; the engineering decisions are the case study.

Client
Private
Platform
ERPNext / Frappe v16
Scope
Finance · stock · POS · HR
Status
Production

Introduction

The brief was not “install an ERP”.

The business was running a real operation across tools that did not share a model. Purchasing, stock, finance, store sales, people and assets each had their own records, and the gaps were closed by people who knew the sequence. The request was for one system — but the engineering question was which parts should be native, which should be integrated, and which should be deliberately left alone.

The platform is ERPNext / Frappe, chosen because its native documents, permissions, stock ledger and accounting model already fit a large part of the operation. The work was not to replace that model with a custom application. It was to configure, extend and surround it where the business needed more — without creating a second truth beside the ledger.

The sector is food production and retail. The method is not sector-specific: the same discipline applies to distribution, services, manufacturing and any operation with stock, money, people and assets to reconcile.

The opportunity

  • Replace reconciliation between disconnected systems with one operational record.
  • Give store, finance and operations the same underlying numbers.
  • Make asset custody and employee separation auditable processes.
  • Keep the platform and data under the business's control.
  • Leave a system that the internal team can operate and extend.

Requirements

What the system
had to carry.

The platform had to be operationally complete without becoming a custom application that only its author could maintain.

01

One system of record

Purchasing, inventory, finance, point of sale, people and assets had to agree on the same underlying records.

02

Native accounting and stock

The ledger, stock ledger and valuation behaviour had to remain authoritative — no side tables or parallel transactions.

03

Role-based access

Store, finance, operations and leadership needed different views and different permitted actions.

04

Store point of sale

A retail counter had to post real transactions into the same system, not a separate till that reconciled later.

05

Asset custody

Who holds which asset, where it moved and what happened at handover had to be traceable.

06

Controlled separation

Employee exit needed a clearance path for custody and access, not an informal checklist.

Engineering challenges

The difficult parts were not the screens.

An ERP implementation is mostly decisions about truth: which document owns a number, who may change it, and what happens when two processes disagree.

  1. 01

    Preserving the native model

    The fastest-looking implementation is usually a parallel set of custom tables. That creates a second truth beside the ledger. The work was to model the operation through native documents, permissions and stock movements, and to customise at the edges where the platform genuinely did not fit.

  2. 02

    Reconciling the history

    Opening balances, stock quantities and customer records arrive with inconsistencies. Migration is not finished when the import runs; it is finished when the differences are explained and accepted by the people who own them.

  3. 03

    Designing permissions as an operating model

    Roles are not a list of checkboxes. Store staff, finance, operations and leadership see different parts of the same process. The permission model had to reflect who acts, who approves and who can see the result.

  4. 04

    Making the desk usable

    A capable ERP can still be operationally slow if every task is buried. A React experience layer was mounted inside Frappe Desk for role-aware dashboards and a calmer daily surface, with the native documents and ledgers remaining the source of truth.

  5. 05

    Keeping realtime honest

    Dashboard signals use the platform's event path rather than a polling loop. The goal was targeted refresh on authorised business events, not a stream of decorative updates or a broadcast that ignored permissions.

Architecture

Native where it matters.Custom at the edges.

The ERP core keeps the documents, permissions, stock ledger and accounting entries. A role-aware experience layer sits inside Desk for the daily surface. Integrations are explicit contracts, not silent scripts.

Purchasing

Procurement records

Inventory

Stock ledger and valuation

Finance

General ledger and entries

Point of sale

Store transactions

HR

People and permissions

Assets

Register and custody

System of record

ERP Core

ERPNext / Frappe v16

  • Documents
  • Permissions
  • Stock ledger
  • General ledger
Implemented functional architecture. The client’s data, configuration and commercial details are private; the diagram shows the implemented scope, not a generic ERP feature catalogue.

Platform

ERPNext v16 on Frappe, Python, MariaDB and Redis. Containerised and deployed on infrastructure the business controls.

Experience layer

React and TypeScript dashboards mounted inside Frappe Desk, with server-persisted per-module layouts and role-aware navigation.

Realtime

Native Socket.IO/Redis signals for targeted widget refresh and actionable notifications, delivered to permission-filtered user rooms.

Operations

Backup, monitoring, access review and a documented handover path. The platform is not a black box owned by the implementer.

What changed

One record. One set of numbers.

No financial or operational metrics are published. The outcomes below are capabilities delivered and verified in the platform, not invented savings.

  • One operational system of record across purchasing, inventory, finance, point of sale, HR and assets
  • Native documents, permissions, stock ledger and accounting behaviour kept authoritative
  • A role model that reflects store, finance, operations and leadership responsibilities
  • Point-of-sale transactions posted into the same system as the rest of the business
  • Asset custody and employee separation handled as controlled processes rather than side checklists
  • A role-aware experience layer mounted inside Desk without replacing the ERP
  • Realtime dashboard refresh driven by authorised business events
  • Documentation and handover material so the platform can be operated and extended

What it demonstrates

The same method works beyond ERP.

The client engagement shows the discipline behind the ownership claim: choose a platform for its native model, extend it where it genuinely fits, integrate what must stay, and leave the business with a system it can operate. The sector changes; the decisions do not.

Privacy

The client is not named and no screenshots, records or commercial details are published. A reference and a deeper technical walkthrough can be shared privately, with permission, during a conversation.