01Start with a copy, not the system
The migration works on a database backup. PHC remains in use until the last day, and nothing is written to it — the risk of stopping the company is zero.
Before importing anything, take inventory: which tables exist, which have data, which are used. Many databases have tables created over years that no one uses anymore.
02Order matters
First, what other records refer to: clients, suppliers, items, warehouses. Then documents, with their lines. Then what derives from them: current accounts, stock, banks.
Each imported record should store its origin reference. This allows repeating the import without duplication, and tracing any number back to its source.
03Custom fields
Custom fields and tables are the most overlooked part. Those in use are moved to custom fields in the new ERP; those not in use remain in PHC, for reference.
04Only switch when the numbers match
Before go-live, the two systems are compared: balances for each client and supplier, stock by item and warehouse, documents by type — in quantity and value — and banks. Each difference is explained and corrected in the import.
On the day of the switch, a final copy is made, and everything is run again. Since the import is repeatable, this step is routine, not a leap in the dark.