CANIMAPSD I G I T A L
EN 4 languages ▾

How to validate a data migration before going live

Rehearse the import, reconcile records and balances, test staff workflows and prove you can roll back before switching to new business software.

Published:

The warehouse team has switched to a new order system. A colleague opens a customer account and finds the complete order history. Everything looks fine until the customer brings back an item and the colleague discovers that the order line no longer links to the original payment. The import finished and the customer counts matched, but a routine return now needs an investigation. A good migration test catches this before go-live by validating both the records and the work people need to do with them.

Start with a trial import in a test environment. Reconcile both systems against a source snapshot taken at a known point. Investigate differences by record identifier, check totals separately for each currency, open attachments and have staff perform the most important workflows. Agree who can stop the cutover and how the business will preserve transactions entered in the new system if it subsequently needs to roll back.

Data packets moving into an isolated test system

Define what needs to move before exporting it

Begin with what somebody will actually do on their first morning in the new system. A wholesaler needs to find an open order, see which stock has been reserved and dispatch the right goods to the address the customer supplied. That puts the customer identifier, delivery address, order lines, stock reservation and shipment status inside the scope. If completed orders remain in a read-only archive, decide how a colleague investigating a complaint will find them and what information the new system needs to retain to make that search possible.

For each dataset, record its source, selection rule, expected volume and the person who will accept it. Decide which system is authoritative for every critical field when you have multiple sources. The CRM might hold a shipping address while the accounting system holds the registered business address. If both are mapped to the same target field, whichever import runs last may silently decide where the next parcel goes. Give each address an explicit destination and show the rule in the field mapping so a tester can verify it before any live records are written.

Separate planned exclusions from import failures

Suppose the source holds 12,480 orders. An agreed retention rule leaves 60 old records in the archive, so 12,420 orders are in scope. The target contains 12,417 distinct orders after the first rehearsal and the import log reports three rejections. The arithmetic adds up, but check whether the three missing order identifiers are exactly the ones in the rejection log. A missing record can be concealed by a duplicate elsewhere. Overall counts tell the team where to start investigating. The keyed list of differences tells the data owner which records need a decision.

Produce three figures from the same snapshot: the number recorded at source, the number eligible for migration and the number of distinct source keys present in the target. Then compare orders by month and status, count the lines in each order and reconcile control totals by currency. When duplicate customer records are deliberately merged, keep a cross-reference from each old identifier to the new one. A historical order should still lead to the correct account, even if the identifier displayed in the new software is completely different from the one people remember.

Give data owners authority to resolve differences

Assign each dataset to someone who can explain what the information means and approve how it will be used. The sales lead can determine which accounts remain active and how merged customers should appear. The warehouse lead can confirm the split between available and reserved stock. Finance owns the acceptance of open invoices, credit notes and previously received payments. The technical team produces the comparisons and explains the import behaviour. The person responsible for the business process records whether the reported difference is acceptable and what evidence supports that decision.

Keep one discrepancy register. Each entry should show the dataset, source key, snapshot, expected value, actual value, impact, owner and decision. The warehouse lead might allow an empty bin location for a seasonal product with zero stock because receiving staff will assign a bin when goods arrive. The same empty field can block dispatch when a picking task is already open. Capture the condition under which the exception was approved and the records it covers. After another import, run the check again to confirm that nothing outside those conditions was silently included.

Record a consistent snapshot and comparison rules

Write down when the sample export began and ended, its time zone, selection filters, filenames and the version of the export configuration or software. Related tables need to reflect the same state. If the order headers are exported at nine and the lines ten minutes later, a newly created order can appear in the line file without a matching header. If the source has no consistent snapshot facility, rehearse a short, agreed pause in writes or use a supported export method that captures a reliable boundary for changes.

Record what transformations the comparison allows. Can you trim surrounding spaces? Which status renames are intentional? What does an empty value mean? How will you identify corresponding keys across systems? File checksums can help prove that two operators used the same exports. Give access to the export only to people who need it for the check. A discrepancy entry usually needs a record reference and a description of the problem. It rarely needs a complete customer list copied into an issue tracker or a team conversation.

Rehearse the import from start to finish

Configure a test system with the mandatory fields, states, roles and import rules planned for go-live. Use test inboxes and integration endpoints. Establish that starting an import cannot send a real customer email, generate a live shipping label or pass test transactions to the live accounting system. Build a dataset that actually challenges the mapping. Include partially shipped orders, zero-priced lines, orders with attachments, cancellations and customers with more than one address. A test built entirely from current, fully populated records will overlook the situations that create the most support work.

Order the imports by dependency. Load the product catalogue and order headers before order lines if the lines reference both, or use an importer with a documented deferred linking step. At each stage record how many entries were submitted, created, updated, skipped and rejected. Check what the tool means by each counter. A customer record updated twice is still one customer, even if the log reports two updates. Record elapsed time and every manual intervention so the real cutover window accounts for the work of checking the import as well as running it.

Interrupt the rehearsal after some records have committed. Work out how to identify the last complete batch, then retry the same batch and compare distinct keys, stock movements and integration events. If the retry adds a second order line or books another payment, capture how the team will recognise the partial attempt and which recovery method it can safely use. Measure how much time the recovery consumes. A rehearsal only shows the realistic cutover duration when it includes the steps the team would need after an interruption.

Two rows of record tiles with one missing match

Compare individual fields and explain the differences

Build three lists after the first run. One contains eligible source keys missing from the target. One contains target entries without an expected source key. The final list contains records present on both sides with divergent fields or links. In the example above, the team expects to identify exactly three absent order keys. If an affected order already has a payment, finance should trace that payment before authorising another import. Even if all three orders reappear, their status and links still need to be checked.

Field or relationshipSourceExpected targetAcceptance check
Order key000714000714Compare it as text and preserve the leading zeros
Number of order lines33Verify each line identifier and quantity
Outstanding invoice amountEUR 128.40EUR 128.40Compare amount and currency together
Delivery deadline30 November 20262026-11-30Check the calendar date in the user's view
Customer referenceC-0412Target identifier from the cross-referenceOpen the customer record and confirm its source key

Reconcile the parts of a total as well. Two source invoices show EUR 128.40 and EUR 71.60. Their target equivalents show EUR 128.30 and EUR 71.70. Both totals are EUR 200.00 because the errors cancel out. Comparing the invoices by key exposes the discrepancy. For each affected invoice check the original amount, the portion paid and the balance due. Group credit notes and part payments separately because they may appear with a different sign or in another reporting section. Agree where rounding occurs, and specify a tolerance only where the business can explain and approve it.

Check dates, currencies and relationships separately

A calendar date and an event timestamp represent different things. An invoice due date should remain on the same calendar day. A payment timestamp should represent the same instant when displayed in any time zone. On 26 November 2026, 23:50 in Riga is 21:50 UTC that same day. If the importer interprets the original local value as UTC, the new application can display 27 November in Riga. Test an event close to midnight and one occurring during daylight saving time. Compare the stored value and the report in which the payment should be counted.

Agree how the import reads a value such as 1 240,50 in the original export. An English-language report might display it as 1,240.50, but the importer must parse the source according to its original decimal and thousands separators. Take currency codes from their authoritative field. If a USD invoice has a separate EUR equivalent, keep the transaction currency, converted amount and any rate or rate date needed for reporting. Reconcile EUR and USD on distinct lines so an apparent numerical match cannot hide money assigned to the wrong currency.

Check missing references and valid references pointing to the wrong object. An order can have a valid customer key and still belong to the wrong customer with a similar name. Follow the order to its customer, delivery address, lines, payment and documents, verifying each one against the cross-reference. Open attachments as the intended user and check the contents against the order. Include identical filenames on different orders and some of the largest documents. A limit can affect large files even when the system reports that each attachment record was created.

Warehouse employee scanning a carton at the dispatch bench

Let staff perform real tasks with migrated records

Give colleagues test tasks written in their everyday language. A warehouse employee finds an existing order, scans an item and ships the available portion. Sales updates the delivery address for the unshipped portion. Finance verifies a part payment and traces it to the correct invoice and remaining balance. In a separate scenario the customer returns an item already shipped. Record what entry the return creates, what happens to stock and whether an employee can identify the original transaction from the return record.

For each scenario list the starting records, user role, expected outcome and evidence the owner will accept. Test with normal branch and warehouse accounts. A warehouse user may reserve local stock but have no access to another branch's documents. A finance user may need a combined report covering both branches. Verify search results, reports and what happens if a user opens the record directly. Record the account used for each test. Running every check as an administrator can mask both missing permissions and overly broad access granted during migration.

Load the final changes and make a go-live decision

Rehearse the final transition separately from the initial import. If work continues in the old application after the first export, define how to capture inserts, updates and deletes without processing one event twice. Try a record created on the selection boundary itself. When updates can share a timestamp, use a supported sequence marker or an overlapping window with reliable deduplication. Reconcile the results of each batch and record exactly how far through the source changes the target has caught up.

Name the person who freezes writes in the old system, the person who loads the remaining data, the one who checks connections and the decision maker who can approve or halt launch. Set the latest safe decision time so a failed check still leaves time to reopen and verify the old system. At that point the owners review the latest comparison, accept or reject documented exceptions and sign off their key workflows. Check that every integration writes to its intended destination and that queued messages will not re-create transactions when connections are switched on.

Go-live checkExample acceptance criterion
Open ordersEvery in-scope key is present and the line counts agree
Accounts receivableNo unexplained differences by customer and currency
Workflows and accessWarehouse and finance staff finish priority tasks with their normal roles
Final changesBoundary events are present and integration checks pass
RollbackThe team restores old-system operations and reconciles transactions entered in the new system
A return track and a tray holding transactions to reconcile

Rehearse a rollback in both states

Before users can write to the new application, rolling back may simply mean reinstating the old system as the sole writer and reconnecting its integrations. Once staff have created orders, taken payments or moved stock in the new system, reversing the switch becomes a reconciliation task. Those transactions may exist only in the new system or may already have been sent to an external service. Decide how to capture them and who will reconcile balances before staff resume operations in the old application.

Test both moments. First, plant a discrepancy after the final import while the new system is closed to users. Stop activation, verify that the old system is writable and restore its integration connections. Then repeat the exercise after opening test accounts in the new system and entering two orders, one cancellation and one payment. Freeze further changes when the rollback is called. Export the transaction list and compare it with events received by external integrations. Mark which actions already took effect outside the application and which entries must still be brought back.

If the payment provider has already accepted a transaction, restore the payment reference and status in the old system under the business's agreed accounting procedure. A second payment request would be a separate financial action. Likewise, match an existing shipment number to the order if the carrier already accepted a label. Record the steps taken, minutes spent and entries reconciled manually. Reserve enough time in the actual cutover to repeat the procedure, including the checks before reopening.

Investigate figures that look right in one view

Suppose each warehouse report shows 90 units in stock. The old system shows 75 available for sale, 12 reserved for confirmed orders and 3 set aside for quality inspection. The new one lists all 90 as available. The shop can now sell items already promised to another customer. Compare inventory by location, product and availability class, then verify the number the shop actually uses. Consolidate old stock states only after the owner approves how the new categories will affect orders and reports.

Customer data can fail in a similar way. The old system stores billing address, delivery addresses and contact person separately. If the importer brings all three across but selects the first address as the default, the next invoice can go to the wrong place even though the customer account looks complete. Create a test document for a customer with multiple addresses and compare the automatically selected address with the mapping. This tells the team whether the incorrect result comes from a bad field value or the rule choosing one of several correct values.

Retest everything a correction could affect

If order 000714 loses its leading zeros, check every source identifier beginning with zero and investigate the conversion rule. After adjusting it, try keys with letters, hyphens and different lengths. Recheck order lines, payments and attachments that depend on those identifiers. Restoring the appearance of one field in the user interface does not tell you whether the corresponding links have been repaired across the import.

Keep the results and import rule version for each attempt. If the second run finds all 12,420 expected orders, attach the keyed comparison that establishes the result. Confirm that the source snapshot and scope are comparable. Document any agreed scope change so the owner can understand why the figures differ between runs. End with a clean attempt against an approved snapshot. Entries patched by hand can explain a problem. A clean run establishes whether the procedure the team will actually use produces the accepted outcome.

Decide how staff will use archived records

Test the archive from an employee's workstation. Choose a document that can be found by the new customer number and another for which only the old order number is known. Repeat the check after ordinary staff lose write access to the old software. Record where the identifier cross-reference lives, who can grant archive access and what date ranges it covers. Download a historical document used in customer support and confirm that it retains the references staff need.

An archived order may still carry a service obligation. The new system needs an agreed reference to the original record when staff must support that customer. Have the service team trace a real workflow to the archived document with its expected permissions. If only an administrator can retrieve it, record the turnaround and how staff request access. An archive is usable when the people expected to rely on it can identify and retrieve the right evidence in time to complete their work.

Verify the first working day

Compare the first real orders, address edits, cancellations and payments against the records received by external systems. Look at delayed processes, including stock availability updates and scheduled reports. Record when the two systems were compared. If a difference clears after the normal synchronisation interval, include that interval in the test notes. If it persists, name the owner and determine whether the affected work can continue.

Hand over the reconciliation summaries and acceptance decision to the people maintaining the system. Give export copies containing customer or employee data a retention period and an owner responsible for disposal. Close temporary accounts and test integration access. The next person investigating an exception needs to know where the import log is, which identifier to look for and whom to contact if a restricted source document must be opened.

Keep the field map, import evidence, approved exceptions, sign-off and rehearsed rollback procedure together. That record helps distinguish an import problem from a change made after launch. Tie every critical field to a test people can repeat. The migration is ready when its owners can show that records have retained their business meaning, staff can do their jobs using them and the recovery procedure has been practised.

Sources

Request a consultation

LET US START WITH YOUR NEEDS

Your next step
starts with a conversation.

Services of interest