If a supplier, a sales program, or any system that matches records between two businesses does it by searching for a piece of text in a name, instead of a code that never repeats, it can end up mixing the numbers of two different customers without any alarm going off. And the worst part isn't the mistake itself: it's that, while it's happening, the total still looks perfectly reasonable, so no one has a reason to look twice.
What actually happened?
At a group of pharmacies, one of their suppliers identifies each customer by a fragment of their trading name, rather than by their own customer code. For months, it turned out that a completely unrelated business, with no connection to the group at all, happened to have a name that shared that exact fragment with one of the pharmacies.
The result was that orders from that unrelated business kept getting added, month after month, to the orders of the pharmacy that matched on name. No one decided it that way, and no one saw it coming: every order came in through its normal channel, got assigned automatically by the matching text fragment, and was counted as if it were the pharmacy's own. On review, the affected figure was close to 1,000 orders from that third party, mixed in with the pharmacy's own orders for the whole period.
It was fixed by requiring the full name that actually tells each customer apart, and by leaving anything still ambiguous unassigned instead of guessing.
Why did no one notice sooner?
Because the signal that should have raised a flag, the pharmacy's total order count, didn't look odd. A higher volume than expected doesn't trigger any alarm on its own: a pharmacy can grow, can have a good campaign, can simply vary from one month to the next. A figure that reads as "it added up to more than usual" looks too much like "business is doing better" for anyone to stop and check it.
That's the part that matters most for any owner, beyond this one case: when two systems match records by text instead of by a unique identifier, the failure doesn't show up in the final number. If it shows up at all, it's as a vague feeling that the number "doesn't quite match what I expected", and that feeling is exactly what most owners ignore, because they trust the number more than their own instinct.
Could this be happening to you?
This kind of name-based matching shows up in more places than it seems, and it was almost never chosen on purpose: it was built that way because it was the fastest thing to code at the time, and nobody has touched it since.
- A distributor or supplier that assigns your orders to your customer record by searching for part of your trading name.
- An accounting program that matches invoices to suppliers using the text on the document, rather than a tax ID.
- A data import between your POS, your CRM, or your ERP that matches customers "by similar name" whenever it can't find the same code on both sides.
- Any report that groups sales, orders, or visits "by text string" instead of by an identifier that already exists in your systems.
None of these cases give a warning when they fail. They all keep producing a number, and that number keeps looking like a perfectly normal business figure.
What to ask before trusting a data match
You don't need to understand any programming to ask these questions. You just need to ask them.
- How exactly does this system identify me? Ask for a concrete answer: "by customer code" is a valid answer; "by name" is already a warning sign.
- What happens the day another customer or supplier shows up with a name similar to mine? If no one can answer that, it means the case was never thought through.
- Can I pull, today, the list of orders or invoices a system has assigned to me, and check them one by one? If that list doesn't exist, there's no way to verify the match is correct even if you wanted to.
- Does this number reach me directly, or does it pass through a match between two different programs first? The further a figure travels from where it was generated, the easier it is for something to get mismatched along the way.
- How long has it been since anyone manually audited a sample of this match? An automated process that's never been checked can run wrong for years without looking like it.
The decision rule
If two businesses, two customers, or two suppliers can share a word in their name, and the system that tells them apart doesn't use a unique identifier to separate them, that match isn't reliable: it's a bet that a similarly named third party will never show up. And sooner or later, that bet loses.
What makes this kind of failure so hard to catch in time is that it lives exactly on the border between two programs that no one looks at together: yours and your supplier's, your POS and your accounting, your website and your ERP. That's precisely what changes once the data from your different business programs lives in one place, with a unique identifier per customer and per supplier instead of a match by name: you can see how that works in the real case of a data platform for a group of pharmacies, which reconstructed a sale that its ERP was miscalculating because of the same underlying problem. It's also part of what we check as part of our services, before trusting any figure that comes from matching two systems together.
If you want us to go over how your business identifies each customer and supplier, and whether that match would survive the day a similar name shows up, get in touch.


