There is a customer in a system I once worked on whose name was DO NOT USE. Not a nickname. That was the name on the record, in capitals, and the record had open orders against it.
What had happened was reasonable at every step. Years earlier someone found a duplicate customer and wanted to stop people selling to the wrong copy. The system would not let her delete a record with history, so she renamed it. The warning worked on everyone who read customer names, which turned out not to include the web shop. Orders kept arriving. DO NOT USE was, by the time I met it, a fairly good customer.
I tell this story whenever someone says the data is basically fine, and someone always does. It is said in good faith. The people saying it use the system every day and it works. Invoices go out, stock gets picked. How bad can it be?
The answer is that an old system and its users have grown together, like a married couple, and each has learned to step around the other's faults. Everyone in accounts payable knows that the supplier with the address in the notes field is the real one. Everyone in the warehouse knows that location Z-99 does not exist and means "ask the night foreman". None of this is written anywhere. It lives in heads. A new system has no head to keep it in, and no night foreman.
So when the data is lifted out and held up to the light, it shocks people. I don't think it should. Dirty data is not a sign of a badly run company. It is a sign of a company that has been busy for twenty years.
The dirt comes in a small number of kinds, and it is worth knowing them, because they need different soap.
The first is the duplicate: the same supplier entered four times because four people could not find it. The second is the corpse. Customers who went out of business in 2009, items last sold under a previous government, all still marked active because nobody was ever told to mark them otherwise. The third is the field doing someone else's job, a fax number column that holds delivery instructions, a second address line that holds the name of the buyer's dog (I am not making that up, though I wish I knew why). And the fourth, the worst, is the value that is wrong but plausible. A unit of measure that says each where it should say box of twelve. Nothing looks broken. The stock is simply out by a factor of twelve, forever.
Now, here is the mistake nearly everybody makes. They plan to clean the data during the migration. The old data will be extracted, somebody will write rules to fix it on the way through, and it will land clean. It sounds efficient. It fails for a simple reason: the rules cannot know which of the four suppliers is the real one. Only a person in purchasing knows that, and she has a job already.
Cleaning is not a technical task. It is several hundred small business decisions, and each needs an owner who is entitled to make it. Is this customer dead? Ask sales. Which bank account is current? Ask the supplier, in writing. A programmer can find the questions quickly. Answering them is another matter.
What follows from this is mostly a matter of dates. Start early, months before anybody maps a field, and start in the old system, where people know their way around and the fixes do some good straight away. Hand each kind of record to the department that lives with it. Give them lists short enough to finish in a week. And decide, firmly, what is not coming at all, because the cheapest record to clean is the one you leave behind.
The machinery matters too, later. When the time comes to move what is left, each object has to be mapped, checked and counted on both sides, and it is dull enough work that we built a tool for it: the one that maps, validates and reconciles legacy data is TRANSIT, part of the set of tools we call ARTEMIS. For example, a tool can tell you that record 40,112 has no tax code. It cannot ring the customer.
There is a pleasant side to all this, which I mention because the subject is otherwise grim. Cleaning data is the one part of an ERP project where the people who do the work see the benefit themselves, and quickly. The buyer who merges her four suppliers stops paying the wrong one. She does not need a steering committee to tell her that was worth doing.
The orders against DO NOT USE were moved to the proper account and the record was left behind. I rather missed it.