← Back to the blog

A master-data error after migration: without the conversion record, the origin of the data cannot be attributed

After migrating to a new system, the origin of a master-data error can only be attributed with the conversion record: mapping, validation checks, rejections and control totals. Without it, the expert report can only say "it may be".

A master-data error after migration: without the conversion record, the origin of the data cannot be attributed

Management-system rollout projects almost always involve a barely visible and highly sensitive stage: migrating data from the old system to the new one. Customers, products, taxes, sales representatives, balances. When, after go-live, invoices come out with wrong amounts or records turn up inconsistent, the dispute usually revolves around a question that is simple in form and hard to prove: where did the error come from?

A data migration is not a copy. It is a process with stages: extraction from the legacy database, transformation (format conversion, standardization, enrichment, application of business rules), validation (filters and checks that reject inconsistent records) and loading into the new system. Each stage can introduce errors or let them through. A CPF (Brazilian individual taxpayer number) with an invalid check digit may come from the old database and pass for lack of a validation check; a tax-rate field may be mapped to the wrong target; a customer code may be truncated during conversion. That is why well-run migrations produce artifacts: a field-by-field mapping specification, transformation scripts or rules, reports of rejected records and the reason for rejection, counts and control totals before and after the load (how many customers, how many items, what balance) and the customer's formal acceptance of the load. These artifacts make it possible to trace each data item back to its origin.

In the case that inspired this piece, a manufacturer contracted a standard, cloud-hosted ERP and, from a partner firm, migration and implementation services. After go-live, the client listed twelve problems: customer records, orders that disappeared, tax calculation, invoices inconsistent with the orders, bank payment slips, sales-representative records, commissions, XML files, labels, bank remittance files, tax postings, and access being locked even with no users logged in. The expert report concluded that the problems were isolated and typical of the stabilization phase of an implementation. On the master-data errors, it stated that they could result from typing mistakes or from inconsistent data in the legacy system — and, transparently, that it did not have detailed information on the conversion process to determine whether filters and checks had been applied. It also stated that, lacking access to the system at the time, it could not say whether the reported fixes had taken effect.

Separating the layers: the technical fact is that the errors occurred in production and that the reported fixes are consistent with the problems described. The hypothesis is that part of the master-data errors came from the legacy database. The conclusion that cannot stand, without the conversion record, is the attribution of the origin of each error to one of the parties. The same goes for the assertion that the number of problems is "within normal range" for similar projects: without stating the comparison baseline, it is not a verifiable measure.

The first consequence is strategic: the migration package is evidence, and it must be requested early, before staging environments are shut down and load reports are lost. The second is legal. Article 373, § 1, of the CPC (Brazilian Code of Civil Procedure) allows the judge, given the particular features of the case, to allocate the burden of proof differently, taking into account which party can more easily obtain proof of the contrary fact. In migrations, whoever performed the conversion usually holds the artifacts that document it. The third consequence concerns the expert examination: the expert report must state the method and the data on which it relies (art. 473, III, of the CPC). When the artifact does not exist, the honest course is the one the report followed: state the limit.

In practice, a few expert questions help turn the generic discussion into verifiable questions. Is there a mapping specification of the fields from the old database to the new one, approved by the parties? Which transformation rules and which filters or checks were planned, and which were actually applied? Is there a report of records rejected during the load, with the reason for rejection? Were counts and control totals checked before and after the load (number of customers, of items, balances)? Was there formal acceptance of the load and, if so, what was checked in it? For each of the reported errors, was the data incorrect in the source database, altered during conversion, entered after go-live, or the result of system behavior? Which fixes were applied, when, and how were they validated in the environment? And, if the expert report states that the number of problems is consistent with similar projects, what comparison baseline was used? Questions like these do not presuppose anyone's fault. They merely force the answer to rest on records, and make clear to the court what can and cannot be attributed with the available evidence. When the artifacts do not exist, their very absence becomes a relevant factor in allocating the burden of proof.

In implementation disputes, the question "where did the error come from?" is technical, but the answer depends on a document many treat as project paperwork. Mapping, rules, rejections, control totals and load acceptance are, in litigation, the difference between attribution and conjecture. Whoever keeps these artifacts keeps the evidence — and whoever requests them in time gives the expert examination the chance to answer with data.

5 min read Translated from the original in Portuguese. Read the original →
← Back to the blog Go to the home page