How to Migrate From a Legacy In-House ERP to Apragya Without Losing the Rules Your Team Built
For owners, finance heads and IT leads running a home-grown system: move masters, open balances and working rules across at a period start, with a parallel run before you let go.
To migrate from a legacy in-house ERP, you first have to find out what it actually does. A system written ten or fifteen years ago by one developer, or a small local vendor, usually holds rules that nobody has written down: a discount that applies to one distributor, an approval that only fires above a limit, a stock report the owner reads every morning.
The data is the easy part. Tables can be queried and exported. The hard part is that the people who built the system may have moved on, the database has fields nobody uses, and every month end depends on a report that somebody wrote in a hurry.
This guide gives the order of work, an illustrative move at a Coimbatore pump maker, and how Apragya takes the data and the rules across.
How to migrate from a legacy in-house ERP, in order
Start with a rule inventory, not the data. Sit with the people who use the system daily and list every report, approval, numbering series, discount and stock rule it applies. Anything missed here turns up as a surprise during the parallel run.
Then choose a cut-over at the start of a month, and ideally a quarter or financial year, so GST returns and payroll are not split across two systems. Export in dependency order: accounts before parties, parties before open invoices, items before stock.
Finally, prove it. Agree the opening trial balance, debtors, creditors and stock quantities between the two systems before anyone stops entering in the old one.
- List rules and reports the old system enforces.
- Fix the cut-over date at a period start.
- Export and clean masters: accounts, parties, items, employees.
- Import opening balances, stock and open invoices and bills.
- Run a parallel month and agree the totals.
- Freeze the old system as read-only history.
What staying on a home-grown system costs
One person holds the keys
Changes wait for the only developer who understands the code.
Compliance catches up late
Every GST or payroll change is a new piece of custom work.
Data nobody trusts
Duplicate parties and unused fields make every report a debate.
Month end by hand
Figures are copied out to spreadsheets to finish the close.
An illustrative move at a Coimbatore pump maker
Take an illustrative 140-person pump and motor manufacturer whose ERP was built in-house on a SQL database. It handled orders, stock and accounts, but payroll sat in a separate package and the e-way bill was prepared by hand on the portal.
From an old database to working books
Rules listed
Every report, approval and special price written down.
Data exported
Masters and open items queried out as files.
Cleaned
Duplicate parties merged, dead items dropped.
Imported
Accounts, parties, items and opening stock loaded.
Parallel month
Both systems run; totals compared weekly.
The rule list found eleven things the old system did quietly, including a credit hold for two dealers. Nine became settings in Apragya, two were retired. The parallel month closed with debtors, creditors and stock agreeing, and the old server was switched to read-only.
How the move works in Apragya
Step 1 of 5
Rule inventory
List reports, approvals, prices and numbering the old system enforces.
- Rule inventory: List reports, approvals, prices and numbering the old system enforces.
- Export: Query masters and open documents out to CSV or Excel files.
- Preview and map: Check each file's columns against Apragya fields before loading.
- Load in order: Accounts, parties, items, opening stock, then open invoices and bills.
- Agree and cut over: Match the trial balance and stock, then stop entries in the old system.
Replacing custom ERP software with configured software
A custom system fits the business it was built for, on the day it was built. A configured platform lets an admin change approvals, fields and numbering without code, and statutory updates arrive with the product rather than as a project.
Home-grown ERP, against Apragya
| Feature | In-house ERP | Apragya |
|---|---|---|
| Changing a rule | Code change and a release | A setting changed by an admin |
| GST and e-invoice | Built and maintained by you | GSTIN checks, IRN, e-way bill included |
| Payroll | Often a separate package | Payroll with PF, ESI, PT and TDS on the same employee |
| Access control | Screen by screen, if at all | Role-based down to sub-features |
| Audit trail | Depends on what was built | Who did what, on which record, and when |
Checked against public information on 16 September 2026.
What sets Apragya apart for a legacy ERP migration
One record across apps
Sales, stores, accounts and HR read the same party and item.
Rules as configuration
Approvals, fields and numbering are set, not coded.
Reach old systems
The Tenant Runner reaches on-premise databases over an outbound link.
AI agents on records
Agents run on events and save their output on the record, with review.
Audit log
User, role, action, record, time and IP, with a tamper check.
Multi-company
Each entity in the old system keeps its own books.
Start the structure with chart of accounts import and opening invoices, and weigh the effort in build vs buy for business software.
Getting started with a legacy ERP migration
- Write down every report, approval and special rule the old system runs.
- Pick a month or year start as the cut-over date.
- Export masters and clean duplicates before importing.
- Load structure, then opening stock and open items, and agree totals.
- Run one month in parallel, then make the old system read-only.
Keep the old database readable for at least one audit cycle. Nobody should have to rebuild history to answer a question.
What it costs to start
Migrating from an in-house ERP, answered
Can Apragya read our old database directly?
Should we move all the history?
What if our old system had custom rules?
How long should the parallel run be?
What does it cost to start?
Retire the old server on your terms
List the rules, pick a period start and run a month in parallel.