Skip to content

Moving a trading company off a legacy ERP

This concept study explores how a trading and distribution company could move from an old desktop ERP to a modern one in stages, without stopping operations or leaving a month-end close stranded between two systems.

Dashed old boxes on the left move into connected solid boxes, with a yellow hub point.

The challenge

This concept study considers a trading and distribution company that has relied for many years on a desktop ERP built in-house. It runs on a single server in the office, the developer who built it has left, and parts of the code are undocumented. VAT was added later through quick patches, and reports are produced by exporting to spreadsheets and editing by hand.

The company cannot stop. Purchasing, sales and inventory run every day, and the month-end close cannot slip. A full switchover over one weekend is a risk management will not accept, especially with duplicated and inconsistent master data in stock items and customer accounts.

What is needed is a migration plan that keeps the business running, cleans the data before it moves and keeps historical records available for audit. It also needs to turn the knowledge buried in the old system, such as undocumented pricing and discount rules, into clear rules in the new one.

Our approach

We began by inventorying what the old system is actually used for, not what it contains: the screens opened daily, the reports people rely on and the changes added over time. We then profiled the old MySQL database for duplicated and inconsistent items, customers and suppliers, and wrote cleaning and matching tools in Python whose results the finance team reviews before approving.

We chose a gradual replacement approach. The new system starts by reading the old data to provide reports, then modules move across one at a time: purchasing first, then inventory and sales, and the general ledger last. That way the finance team sees value from the new system in its first weeks, before being asked to change anything in its daily work.

Each module has a clear exit condition. It must run through a full month-end close in parallel with the old system, and its figures must match, before the corresponding part of the old system is switched off.

The solution

The proposed solution adopts Nizam ERP modules in waves, with a temporary sync layer moving transactions between the two systems throughout the transition. When purchasing moves to the new system, for example, goods received notes still reach the old inventory module automatically until its turn comes.

  • Clean master data, approved by the finance team before the first move.
  • Reports rebuilt inside the system instead of exported and edited by hand.
  • Pricing and discount rules extracted from the old system and documented as clear settings.
  • Tax invoices with structured data prepared for e-invoicing requirements, with formal certification completed at go-live.
  • Cloud hosting in Docker containers on AWS, with backups and regular restore tests.

After the full move the old system stays available read-only, so historical records can be reviewed with no risk of changing them. The plan includes training each team before its module moves and close support through the first month-end close on the new system.

Intended outcomes

  • RiskNo overnight big-bang switchoverModules move in waves with clear conditions.
  • DataClean master data before migrationApproved by the finance team before it moves.
  • Month-endEach module proven through a parallel closeDesign goal: matching figures before the old part is switched off.
  • HistoryOld system kept read-onlyAvailable for review and audit with no risk of edits.

Key features

  • Inventory of actual legacy usage
  • Data cleaning and matching tools
  • Module migration in waves
  • Temporary sync layer between systems
  • Parallel month-end close per module
  • Read-only archive

Project gallery

Concept study: moving a trading company off a legacy ERP — diagram 1Concept study: moving a trading company off a legacy ERP — diagram 2