Skip to content

No. 81Architecture8 min read2,067 words

Custom software for manufacturers: ERP, MES and dashboards

Custom software for manufacturers: connect ERP, MES and shop-floor data, build dashboards people trust, and replace aging systems without stopping the line.

Written by
Lazy Devs
Published
Updated
Sources
Cited inline

Key takeaways · 05

The short version

  1. 01Most manufacturers do not need a new ERP or MES. They need an integration layer that makes the systems they already own agree on one set of numbers.
  2. 02Map where every number lives before building anything: which system owns inventory, work orders and finished goods, and where they disagree today.
  3. 03Build one data pipeline with two presentations: a glanceable live view for the floor and a correct, historical, exportable view for the office.
  4. 04Replace aging on-prem systems with a strangler approach: read from the old system first, move one workflow at a time, and retire it only after weeks of matching numbers.
  5. 05Shop-floor software must queue and catch up when the network drops, and must show stale data as stale. Silent wrong numbers destroy trust faster than downtime.
On this page · 10

Custom software for manufacturers works best as the layer that connects the systems you already own, not as a replacement for them. Your ERP, your MES, your machines and your load-bearing spreadsheets each hold part of the truth. Good custom software pulls those parts into one set of numbers, shows them to the floor and the office in the way each needs, and stops people retyping data a machine already knows.

Picture 6am: the line lead reads production numbers off a whiteboard, the office reconciles them against a spreadsheet emailed around at noon, and the ERP and MES each hold a slightly different version of yesterday. Nothing is wrong on paper, and nobody can quickly answer a simple question: what did we actually make, and where is it now? That gap is where our custom software work for manufacturers starts.

Why manufacturers end up with spreadsheet sprawl

Spreadsheets are where a plant stores the process its systems never quite covered. They fill the gaps between an ERP built for finance, an MES built for one line or one vendor's machines, and a floor that changed faster than either.

The usual pattern looks like this:

  • The ERP owns orders and money but sees the floor only through whatever gets keyed in.
  • The MES (if there is one) owns execution but covers some lines and not others, or was configured years ago for a product mix you no longer run.
  • Machines and PLCs know exactly what happened, but that data stays on the plant network or in a SCADA historian nobody in the office can query.
  • Spreadsheets bridge everything, maintained by one or two people whose holidays are quietly risky for the business.

None of this is a failure. It is what happens when a business grows faster than its software. The cost shows up as reconciliation time, numbers that never quite tie out, and decisions made on yesterday's guess.

Start with a map of where the truth lives

Before anyone writes new code, a good team goes looking for where each number is actually born and who changes it. The output is a plain map, and that map is the real specification.

Question to answerWhy it matters
Which system owns inventory, and where is it decremented?Two systems decrementing the same stock is the classic source of phantom inventory.
What counts as a finished good, and when?ERP, MES and the floor often define "done" at different steps.
Which reports are really one person's workbook?Those are single points of failure, and usually encode real business rules.
Where do part numbers and units drift between systems?Mismatched identifiers break every join you will ever write.
Which manual steps exist only to bridge a missing connection?These are your highest-value automation targets.

The industry already has a useful vocabulary for this. The ISA-95 standard describes the boundary between business systems (ERP, at level 4) and manufacturing operations (MES, at level 3), with control systems below. You do not need to adopt the whole model, but using its levels in conversation helps everyone agree which system should own which decision.

When we take over this kind of project, the database and the export files are almost always a more honest record of how the plant runs than any process document. Read them first. Skip this step and you build a beautiful dashboard on numbers nobody trusts.

Integrations are the whole game

For most manufacturers the value is not a new standalone system. It is the layer that gets the ERP, the MES and the shop floor speaking the same language, so a part scanned at a station updates inventory, the work order and the office dashboard at once.

That is careful API and backend engineering, and every source needs a different approach:

  1. Modern systems with an API. The easy case. Read and write through the documented interface, respect rate limits, and store sync state so a failed run can resume.
  2. Older systems with a database but no API. Read through a read-only database connection or a replica. Write back only through a supported import path, never by poking tables the vendor's code also writes to.
  3. Systems that only export files. Scheduled CSV or XML drops are common and perfectly workable. Treat each file as an event: validate it, record that it was processed, and alert when one is late.
  4. Machines and controllers. Use an edge gateway on the plant network that reads from PLCs over an industrial protocol such as OPC UA, or publishes events over a lightweight broker such as MQTT. The web application consumes clean events from the gateway and never talks to control systems directly.

Reconciliation beats silent syncing

The connective tissue between these systems is automation and integration work: scheduled syncs, event handlers and, most importantly, reconciliation jobs. A reconciliation job compares what the ERP believes with what the MES and the floor recorded, and flags the differences instead of quietly picking a winner.

This is the same discipline that keeps logistics operations honest, where a wrong count becomes a truck in the wrong place. A flagged mismatch on Tuesday is a five-minute conversation. An unflagged one discovered at month-end is a lost day.

Normalise identifiers once

Part numbers with and without leading zeros, units of measure that switch between kilograms and pounds, work-centre codes that changed during a reorganisation: these break every report. Build one mapping layer that owns those translations, test it, and make every integration go through it. It is dull work and it saves you from a hundred subtle bugs later.

Dashboards for two very different audiences

The shop floor and the office want opposite things from the same data, and pretending otherwise is how dashboards end up ignored.

Shop-floor viewOffice view
Main questionWhat is happening right now?What happened, and why?
Design priorityGlanceable from across a bayCorrect, filterable, exportable
Typical contentRun rate against target, current job, next changeover, blockersThroughput by line and shift, scrap and rework, schedule attainment, OEE
InteractionAlmost none; no menus, no login every shiftDrill-downs, date ranges, exports to finance
Failure to avoidShowing stale data as if it were liveNumbers that do not tie out to the ERP

On the floor, big numbers and clear status beat clever charts. If an operator has to interpret the screen, it is too complicated. Kiosk-style displays should stay signed in on a locked-down device rather than asking for a password at every shift change. The same rule applies to crews working away from the plant; we cover offline-first mobile tools for them in software for construction and field service.

In the office, the same events feed planning and accountability. OEE (overall equipment effectiveness) is the classic example: it is only useful if everyone agrees how availability, performance and quality are calculated, so write the definition down and compute it in one place.

One pipeline, two presentations. Built on Next.js with a Postgres database underneath, the floor view can stream live updates while the office view reads from the same tables with full history. Our guide to building a customer-facing dashboard covers the data-modelling side in more depth, and most of it applies inside the plant as well.

Build, buy or connect: deciding what to replace

You do not have to choose custom for everything. Accounting, payroll and core ERP functions are solved problems, and rebuilding them is expensive pride. A packaged MES can be the right answer if your process is close to what it models.

Custom earns its place in three situations:

  • The workflow is your edge. A quoting, scheduling or quality process that reflects how you win work, which no vendor models.
  • The problem is the gaps. Your systems are fine individually but do not talk, and every vendor's answer is to buy more of their product.
  • The vendor is gone or going. The system was acquired, support is ending, or the only person who understands it is retiring.

We go through the full decision framework in internal tools: build vs buy. The honest answer is usually "a bit of both".

Replacing the aging on-prem system without stopping the line

Most manufacturers are not starting from nothing. They are running software from a vendor who got acquired, on a server in a closet, that one long-serving person fully understands. The instinct is either to nurse it forever or to rip it out in one terrifying weekend. Both are bad.

The calmer path is the migration and replatforming approach often called a strangler pattern: the new system grows around the old one until the old one has nothing left to do.

  1. Read first. Pull data out of the legacy system into the new platform and show it in the new dashboards. The old system remains the source of truth.
  2. Pick one workflow. Choose something valuable but contained, such as goods receipt or scrap reporting, and move it to the new system.
  3. Run in parallel and reconcile. For a period, both systems record the workflow and a daily job compares them.
  4. Switch the source of truth. Once the numbers have matched for weeks, the new system owns that workflow and the old one becomes read-only for it.
  5. Repeat, then retire. Move the next workflow. Decommission the legacy system only when nothing depends on it, and archive its data somewhere queryable.

No big-bang cutover during a production week. No month where nobody knows which number is real. The patience matters more here than almost anywhere, because the cost of a wrong number is not an awkward report. It is a missed shipment, a stockout or an idle line.

Reliability and security on the shop floor

A consumer app can have a rough night. A plant cannot. If the production tracker goes down mid-shift and people fall back to clipboards, you lose more than a tool: you lose the trust that made them put the clipboards away.

Design these in from day one:

  • Queue and catch up. Scans and events captured on the floor are stored locally and sent when the connection returns, with idempotent processing so nothing is counted twice. Our post on background jobs and queues explains the pattern.
  • Show staleness honestly. Every live number carries a "last updated" time, and the screen changes visibly when data is old. Showing yesterday's count as if it were current is worse than showing nothing.
  • Fail loud. A failed sync raises an alert to a person, not just a log line.
  • Segment the networks. The plant's control network and the business network should be separated, with data leaving through a controlled gateway. NIST SP 800-82 Rev. 3, the guide to operational technology security, is the reference we point clients to.
  • Keep audit trails. Who adjusted the count, when and why. Quality and finance will both ask.

None of this is glamorous. It is the plumbing that lets people stop double-checking the software and get back to running the plant.

Common mistakes we see

  • Starting with the dashboard. A dashboard on unreconciled data just makes the disagreement prettier.
  • Writing directly into the ERP's tables. It works until the next vendor update, and then it corrupts the system of record.
  • Big-bang cutovers. One weekend, every workflow, no fallback. It almost never goes to plan.
  • Ignoring the people on the floor. If the operators were not involved in designing the screens, they will not use them.
  • No owner. Integrations drift as systems change. Someone has to own them, whether that is an internal engineer or an ongoing support arrangement.

Where to start

Pick the one question your plant cannot answer quickly today, such as "what did we make yesterday, and where is it now?", and build the smallest pipeline that answers it reliably. That usually means one or two integrations, one reconciliation job and two simple views. Once that works, every later feature builds on the same foundation.

Our manufacturing page sets out how we approach these projects. This is the work we like: the unglamorous plumbing that turns three versions of the truth into one. If you are staring at an aging system, a wall of spreadsheets or numbers that never tie out, tell us what your plant runs on and we will give you a straight read on what it would take to make it boring and reliable.

FAQ · 05 questions

Frequently asked questions

Should a manufacturer build custom software or buy an MES?

Buy when a packaged MES fits your process and you can adopt its way of working. Build when your competitive edge lives in a workflow no vendor models, or when the real problem is that your existing ERP, MES and spreadsheets do not talk to each other. Many plants end up with both: a packaged system of record plus a custom integration and reporting layer.

Can custom software integrate with an old ERP that has no API?

Usually, yes. Older systems often expose data through a database connection, scheduled flat-file exports or a vendor-specific interface. A good integration reads from whatever is available, normalises it, and writes back only through supported paths so the system of record is never corrupted.

How do you get data off machines and PLCs into a web app?

Typically through an edge gateway that reads from the controllers using an industrial protocol such as OPC UA or a lightweight messaging protocol such as MQTT, then forwards clean events to the application. The web app should never talk directly to control systems on the plant network.

How long does it take to replace a legacy manufacturing system?

It depends on how many workflows the old system handles and how clean its data is. The safest approach runs old and new side by side, moves one workflow at a time, and only retires the legacy system once the numbers have matched for several weeks, so the timeline is driven by confidence rather than a fixed cutover date.

Is a cloud-hosted production dashboard safe for a plant?

It can be, if the plant network is segmented from the business network and data flows outbound through a controlled gateway. NIST SP 800-82 is the standard reference for securing operational technology and is a sensible baseline for any project that touches the shop floor.

Related service

Web App Development

Production React and Next.js apps, built to last.

Learn more

Next step

Want this built right?

This is the work we do every day. Tell us what you are building and we will show you exactly how we would ship it.

First reply
Within 1 business day
Typical start
1–2 weeks
Pricing
Fixed price per phase
You own
All code and accounts