Systems integration

How to plan a data migration, reconcile records and manage cutover

Plan which records move, document mapping rules, rehearse at full volume and reconcile the data before switching systems.

Decide which records move

A trial load can reveal that 600 customer records lack a required tax identifier, half the products use an obsolete unit of measure, and the opening balances differ from the trial balance. When that load runs a week before cutover, the data owners have little time to decide which differences they can accept. Rehearse early enough to make those decisions before the business depends on the target.

A data migration from scope to cutover

  1. ScopeDecide which records move and where the remaining history will be kept
  2. ProfileMeasure the source data before defining mapping rules
  3. MapSpecify how each field moves and name its business owner
  4. CleanseApprove corrections in the source or the transformation and record any accepted exceptions
  5. RehearseRun and time full-volume migrations
  6. Reconcile and cut overCheck counts, balances and records, then use the agreed acceptance criteria to decide whether to switch
Repeat steps 3 to 5 until the data reconciles and the final rehearsal fits the cutover window.

Separate master data, open items and closed history. Master data includes customers, suppliers, products, accounts, staff and price lists. A customer with no transactions in five years and no open balance may be a candidate for the archive. Have the data owner approve the selection rule and check the retention requirements that apply to those records.

Open items include unpaid invoices, open purchase orders, stock on hand, work in progress and unapplied payments. They must move in full and reconcile because staff will act on them when the target opens. For closed history, determine how much detail staff need in the new system. An organization might move opening balances and one or two years of detail, then keep older records in a searchable, read-only archive. Test that the archive preserves the original documents, identifiers and access controls. Follow applicable retention requirements and any legal hold.

Profile the source before you map it

Count the rows in each source table or sheet. For each field that affects a decision or control, measure the share of empty values, the number of distinct values, the range and the most frequent values. Then look for problems that require a decision from the data owner.

  • Duplicates. A customer may appear three times under slightly different names or registration references.
  • Orphaned records. An invoice line may refer to a retired product or a payment to a missing customer record.
  • Fields with several uses. Staff may store a second phone number, a delivery instruction or a credit limit in the same notes field.
  • Changes in code meaning. Units of measure, payment terms and tax codes may have meant different things at different times.
  • Text and dates. Check names in every script the business uses, dates stored in mixed formats and numbers saved with grouping separators.

Report counts that an owner can act on. For example, a profile might find 412 active customers missing a required identifier. Flag the 37 with open balances so finance can resolve them before cutover.

Write field rules and name an owner

For each target field, record the source, the transformation, the handling of missing or invalid values and the person who approves the rule. The approach is similar to the one in the website and ERP integration guide, applied to a defined migration run.

Target fieldSourceMapping ruleOwner
Customer codeCUST.IDAdd the prefix C- and keep the original code as a legacy referenceSales operations
Tax identifierCUST.TAX_ID or NOTESValidate against the issuing authority's format when applicable. Record why an identifier is absent and send unresolved required values for reviewFinance
Payment termsCUST.TERMSMap the source code 30D to NET30 through the approved lookup tableFinance
Item unitITEM.UOMMap BOX12 to BOX with a conversion factor of 12 and verify the resulting quantitiesWarehouse
Open invoice balanceAR.BALANCELoad as an opening item and reconcile the total against the accounts receivable ledgerFinance

Keep the legacy identifier in a dedicated field so staff can trace each migrated record. Give each area one named decision owner and document any default. An empty payment or tax field can change the outcome for thousands of records if it silently takes a default value.

Agree where to correct the data

Fix a problem in the source when the correction belongs in the business record. Set a deadline before the final extract so the correction carries into the next run. A repeatable transformation can handle a predictable format difference, although the reconciliation report should then explain why source and target values differ. Some irregularities in closed history can be carried forward with an approved exception marker.

For every rule, keep the approver, a record of what changed and the count affected in the latest run. Before merging customer records, decide which code survives, how the history and open balances will be linked, and how staff will find each original record.

Rehearse with a full-volume run

Run extraction, transformation, loading and reconciliation with representative data at production volume in an authorized test environment. Protect personal information while retaining the field patterns and relationships that the test needs. A sample of 500 records can miss rare combinations that appear at full volume.

Record the load results, rejected rows and reasons, reconciliation evidence, step timings and issue owners for each run. The last rehearsal should follow the cutover script with the people who will carry it out. If it takes 14 hours and the agreed window is eight hours, reduce and rehearse the work in that window or agree a longer window before committing to a date.

Microsoft's SQL Server Migration Assistant for Access can migrate database objects and data to SQL Server 2019 or later, Azure SQL Database and Azure SQL Managed Instance. Microsoft also documents linking an existing Access front end to migrated tables. Test the front end and its business rules separately from the data transfer. For a workbook migration, profile each sheet as described in the guide to replacing Excel with a custom internal system.

Reconcile counts, balances and individual records

A matched row count can coexist with a wrong balance or a truncated name. Compare data at several levels so the business can explain which checks passed and what any discrepancy means.

Reconciliation checks for trial runs and cutover

  • Record countsAccount for rows extracted, loaded, merged, excluded and rejected for each entity
  • Control totalsCompare open receivables, payables, stock quantities and inventory value by the relevant currency or unit
  • Ledger agreementMatch the target opening trial balance to the source closing trial balance by ledger and currency
  • Field comparisonsCompare totals and distinct counts separately. Use checksums only where matching fields have an agreed byte representation
  • Record samplesCompare random records and known difficult cases field by field, with the data owner
  • RelationshipsCheck links such as each invoice to its customer and each product line to its item
Use the same checks in the rehearsals and at cutover so the results can be compared.

In the detailed sample, include a long name in a supported script, an item with several units, and an invoice with a partial payment and a credit note. Check whether errors such as truncation at 40 characters or an address in the wrong field would be visible. Row-by-row validation tools can add evidence where source and target rows can be matched. Record which fields the tools cover and what the team still needs to check.

Agree on tolerances before the first rehearsal. Require ledger agreement and explain every approved rounding adjustment. Each permitted exception needs an owner and a reason. Attach the report to the run so each sign-off identifies the data that was checked.

Define the cutover and the conditions for returning to the source

Schedule the change for an agreed window. Give each timed step an owner, an expected duration and a check. Identify the system authorized to accept writes at every stage.

Cutover sequence for the agreed window

  1. Finalize the cleansing rules and script and tell staff when writes will stop
  2. Put the source in read-only mode, take final backups and verify recovery
  3. Run the rehearsed steps and record timings, counts and rejected records
  4. Run the checks and obtain sign-off from the data owners
  5. Record the decision against the agreed thresholds, the unresolved exceptions and the time remaining
  6. Allow target writes after approval, monitor early transactions and keep the source read-only
Use the dress rehearsal to estimate the time needed. Returning to the source is simpler before the target accepts writes.

If the checks fail before the target accepts writes, keep it isolated, retain the reconciliation evidence and reopen the source using the rehearsed procedure. An approved open item cannot be left behind simply because the overall rejection rate is within tolerance.

Once the target accepts new transactions, returning to the source requires a tested way to preserve, replay and reconcile every change since the switch. Include queued transactions and confirm which system owns each write. If those changes cannot safely be reconciled back into the source, the team may need to repair the target and continue there. Assign the decision owner and rehearse both the recovery steps and the checks.

For a larger system, a phased migration can make this decision manageable. Agree which system owns each slice of data, synchronize as needed and reconcile the slice before switching it. The guide to legacy modernization with the strangler fig pattern describes that approach.

Verify the first reporting cycle before retiring the source

Reconcile the first full accounting or reporting cycle in the new system. Repeated manual corrections can reveal a mapping rule that the trials missed. Keep the source read-only while the business resolves those issues and confirms that the new records support reporting.

Before retiring the source, test that an authorized user can retrieve a complete archived record by its legacy identifier. Document the archive format, location, owner, access rules and retention schedule. If a supplier is delivering the work, request a redacted mapping specification and reconciliation report. Confirm the number of full-volume rehearsals, who resolves defects, and who owns the archive after go-live.

Our legacy modernization and data migration work covers profiling, mapping, rehearsal and cutover. You can describe the system you are replacing on the contact page.

Questions buyers ask

How many trial migrations should we run?

Plan for at least two and continue until you can reconcile a full-volume run within the cutover window. The final trial is a dress rehearsal with the people, steps and timings planned for the switch.

Should we migrate all historical data?

Move the open items, opening balances and detailed history that staff need in the new system. Older records can stay in a read-only archive if staff can retrieve them throughout the required retention period. Test retrieval before retiring the source.

Who should sign off the migration?

Each data owner approves the reconciliation report for a specific run. Finance checks balances and open items, operations checks stock and open orders, and sales checks customers and price lists.

What is a realistic rollback plan?

Before the target accepts writes, reopen the source if the migration fails its acceptance checks. Once the target accepts writes, returning to the source requires a tested way to capture, replay and reconcile every new transaction. Repairing the target may carry less risk if a return cannot be reconciled.

Sources

  1. Microsoft Learn, SQL Server Migration Assistant for Access
  2. Microsoft Learn, linking Access front ends to migrated tables
  3. Azure Architecture Center, Strangler Fig pattern
  4. AWS Database Migration Service, data validation

Your next chapter

Let’s build
something useful.

A product to launch. A system to improve.
An idea worth exploring. Start with a conversation.