Unifying customer records becomes real when a sales person opens an old account link and creates an order against the right customer after the switch. A completed import job does not prove that journey works.
Our guide to centralising customer data covers ownership, matching and the shared customer view. This article takes the next step: a worked migration rehearsal and cutover. The example is hypothetical, not a reported Codex customer outcome. Adapt its acceptance criteria to your systems and data.
Start with a small, explicit mapping
Suppose a pilot contains four CRM records and three ERP accounts. Reviewers have confirmed that CRM records C101 and C103 represent the same customer as ERP account E501. They have also checked the other relationships. The approved mapping is:
- Customer K01: CRM C101, CRM C103 and ERP E501.
- Customer K02: CRM C102 and ERP E502.
- Customer K03: CRM C104, with no ERP account yet.
- Customer K04: ERP E503, with no CRM record yet.
Seven source records become four customer identities. Each source reference must appear exactly once in the mapping; the expected reduction follows from the approved relationships. A rule that demands equal source and target row counts would reject this correct result. A rule that checks only the final count of four could miss a wrongly merged customer.
Keep a cross-reference from every original system and ID to its customer identity, together with the evidence and decision for each merge. Do not treat a shared email address or similar business name as sufficient proof. Branches, contacts and delivery locations may need separate records even when they belong to one customer.
K03 and K04 are deliberate single-system customers, not errors to hide by inventing a match. Any relationship that has not been checked stays in an exception queue until its owner decides what to do.
Preserve the meaning of the data
The shared identity does not make every field writable everywhere. In this example, ERP remains authoritative for account balances and credit terms. Linking two CRM records to E501 must not duplicate or add together E501's balance. Historical orders retain their original account references, which resolve through the cross-reference.
Retain consent provenance and restrictions. A merge must not turn an unknown or restricted preference into permission because another record has a populated field. Hold conflicting preferences for the responsible owner instead of expanding access or messaging automatically.
Before copying data, record the in-scope fields, expected transformations, owners and permissions. Keep the original source IDs even if the new application displays a friendlier customer number.
Rehearse against a consistent boundary
Use an isolated test environment with representative data and no live customer notifications. Take an initial copy, then capture subsequent changes in a durable journal. Record source versions or checkpoints so the team can say which changes are included in a comparison.
Comparing a live source at one moment with a delayed target at another can produce misleading differences. AWS's migration validation documentation describes source-to-target checks and how ongoing replication latency affects validation. Your own mapping and business rules still need explicit tests; a migration tool cannot decide whether two accounts should be one customer.
Run the rehearsal far enough to include updates, failures and a recovery. Record pending or suspended checks as incomplete, not successful.
Test the cases that a green import can miss
For the worked pilot, use these acceptance cases before approving a switch:
- Approved duplicate: all seven source references resolve to the four intended customers, and the C101/C103 merge has its recorded approval. E501, E502 and E503 retain their own balances and terms.
- Shared contact details: two separate branches using one accounts email remain distinct. Their orders and delivery addresses do not cross over.
- Old references: a staff member follows an existing CRM link and opens a historical ERP order. Both resolve to the intended customer and preserve the original order details.
- Replay after interruption: applying the same update twice produces one intended result. A failed batch records which items succeeded; restarting does not silently skip failures or repeat external actions.
- Conflicting updates: an older address event cannot overwrite a newer authoritative value. An edit from a system that does not own the field is rejected or sent for review under the agreed rule.
- Access and preferences: a restricted staff role cannot read another account's protected information. Conflicting consent does not become a new permission.
- The real work: a user searches for K01, selects the correct delivery location and creates a test order against E501. Another user can find that order through the normal customer screen.
Check coverage and field values as well as counts. Compare financial fields against ERP without summing duplicates. Reconcile orders and relationships independently of customer rows. Keep the discrepancy list visible, with an owner and disposition for each item.
Make the pass or hold decision before switching
For this pilot, a pass requires every in-scope source ID to be accounted for, every merge to be approved, and all acceptance cases to pass. There must be no unresolved identity, balance, consent or access discrepancy. The change journal must be applied through the declared cutover checkpoint, and the operational owner must accept the result.
A hold means the old route stays authoritative. Examples include an ambiguous match, missing source record, stale change queue, failed permission test or unexplained balance difference. A deadline does not turn an untested assumption into a pass. Correct the issue and repeat the affected checks before reconsidering the switch.
Record the decision, checkpoint and responsible person. This gives support staff a concrete answer when asked which system currently owns an update.
Switch one controlled writing path
Begin with read-only comparison while the existing workflow continues. For the final switch, use the rehearsed short pause or queue for all in-scope writes, including background integrations. Drain changes to the agreed boundary and run the final reconciliation.
Change the routing and enforce one authorised writing path for each field. Prevent old clients or integrations from continuing to write as if the old ownership rules still applied. Resume queued work only after checking that it will use the new mapping. Do not leave two unrestricted writers competing during the transition.
Immediately repeat the staff lookup and order journey, inspect failed updates and reconcile new transactions. Keep the old-reference mapping available for the agreed retention period; deleting it at launch would break the very links the migration was meant to preserve.
Roll back without losing new work
Agree rollback triggers before release. An order linked to the wrong customer, unauthorised access or a material workflow failure after switching warrants stopping affected writes and external actions while the team investigates.
Preserve the post-cutover journal. Before routing work back, reconcile and replay valid new transactions into the old system using the recovery mapping tested in rehearsal. Confirm that orders, updates and notifications will neither disappear nor run twice. Restoring an old backup on its own would discard work created since that backup.
If replay cannot be performed safely, hold the affected workflow for controlled recovery instead of pretending an immediate switch back is safe. Record what remains queued and communicate its status to staff.
A customer-record project is ready when the team can demonstrate both the normal journey and its recovery. If you need to map those boundaries across CRM, ERP and ordering tools, explore Codex's integration and software services and bring one representative customer journey to the discussion.
