A window factory employs several hundred people, and more than a thousand units come off the line every day. The quality director takes a call from the hardware supplier. The conversation lasts four minutes. A batch of hinges from September has a material defect. They may crack. The supplier apologises, will send a new batch and will cover the cost of replacement. It asks for just one thing: a list of the places where these hinges are.
The director hangs up and asks a question that sounds like a five-minute job:
Where are the windows with these hinges?
How many are still in the warehouse? Those cannot ship. How many are at dealers and on construction sites? Those must not be installed. How many have already been installed in customers' homes? Those customers need a call before someone calls us.
The answer will only come three days later.
Four departments, four pieces of the answer
It starts a quarter of an hour after the call. Each department searches its own system.
Purchasing opens the ERP and looks up when the batch arrived and how much of it there was. This is the easiest part: goods receipt with a batch number is usually in the system.
Production searches its system for the orders on which these hinges were used. The batch number is attached to the order, so the list of orders is ready quickly. Except the production system doesn't know what happened to the windows afterwards. The list goes by email to logistics.
Logistics checks which of these orders have already shipped, when and to whom. Some to dealers in Poland, some to construction sites, some to Germany.
Customer service goes through complaints. In the mailbox, in the ticketing system, in the installers' notes.
Every department is right. Each has a piece of the answer. Nobody has the whole picture. The pieces have to be stitched together in Excel, and that takes someone who knows all four systems and has a free weekend.
Meanwhile, more trailers leave the warehouse every morning.
Do you have to put your data in order first?
For several years now, we have been hearing two statements at once. The first: data is the new oil, the company should be data-driven. The second: to make use of that data, you first have to go through a digital transformation, i.e. optimise and organise your processes, which often means replacing systems. Many companies are stuck between the two. They wait for an order that never comes, or spend years building it, and the board still gets reports stitched together in Excel.
In this series, I go the other way. I start with the question and do only as much tidying up as it requires, without replacing any systems. The recordings are made on synthetic data.
I show the examples on the Databricks platform, because that is what we build solutions on for our clients at Craftware. We are a Databricks partner, but this series is about data, not about a single tool. Most of what I show can also be done by other modern platforms.
What it looks like when all the pieces are in one place
In the recording, I enter the batch number. The screen shows its entire path: receipt from the supplier, the orders on which the batch was used, the shipments, and finally the delivery addresses.
After a dozen or so seconds, three numbers appear. 212 windows are still in the warehouse, almost all of them an order from a developer who collects the windows in stages as construction progresses. The list for stopping shipment is ready immediately. 690 are at dealers and on construction sites: a list with names, addresses and order numbers. 938 have already been installed at customers' premises, in Poland and in Germany: a contact list, sorted by installation date.
There is no magic here. Data from the ERP, production, logistics and customer service is regularly copied to one place. The source systems stay as they were. Every table knows where it comes from. For every table and column, you can see which systems the data came from and which query created it. This matters, because the list we use to call a dealer cannot be wrong.
On the Databricks platform, three things take care of this. Lakeflow ingests data from the source systems. Unity Catalog controls who sees what and records where each table and column comes from. A plain SQL query does the rest. For the board, one thing matters: the answer comes in minutes, not after three days.
The second layer: a signal nobody read
The quality director asks a second question: have we already had complaints about these windows?
The answer from the ticketing system: a few dozen, almost all in the "adjustment" category. Nothing alarming, because there are always a lot of adjustments.
The problem is that a complaint is text, not a batch number. It looks like this:
"The customer says the sash is sagging and rubs against the frame when closing."
"Bottom hinge worn, adjustment doesn't help, needs replacing."
"Fenster im Schlafzimmer schließt nicht richtig."
Nobody writes "hardware from batch 09/2026". A customer service employee picks a category from a list, often "adjustment", because that is how it has always been done.
In the second recording, a language model reads several hundred such tickets, in Polish and in German, and adds three things to each one: which component it concerns, what the symptom is and whether it may pose a safety risk. This happens with an ordinary query, in the same place where the order data lives. We then link the tickets via the order number to the windows from the defective batch.
The chart says it all. For windows from this batch, "hinge, sash sagging" tickets have been rising for six weeks. For the other windows, the line is flat.
The order and shipment data showed where the windows are. The content of the complaints showed when the problem started. Had someone read them earlier, the company would have known about the defect six weeks before the call from the supplier.
The same query can run every day and alert the quality director when tickets about a single component start to rise. Then the next call from a supplier will not come as a surprise.
What had to be put in order
To answer the quality director's question, there was no need to replace the four systems or integrate them with each other. It took five things and a few days of work, not two years. The twelve minutes across both recordings are the response time once the data is already connected.
- Data in one place. Goods receipts from the ERP, orders with batch numbers from the production system, shipments and complaints brought together, copied from systems that stayed as they were.
- A common key. The order number links the production order, the shipment and the complaint. Each system recorded it slightly differently. One rule was enough to match them.
- Where a number comes from. Next to the results table, you can see which tables and systems it was built from.
- Text alongside numbers. The content of the complaint sits in the same table as the order number and the installation date.
- Access control. Customers' names and phone numbers in the complaint text are masked for the quality analyst.
Who is already doing this
HP Indigo, a manufacturer of digital printing presses, had data scattered across several ERPs, production systems and spreadsheets. Tracing where consumables from a given production run had ended up took two to three days. Sometimes production had to be stopped for that time. After the data was connected on the Databricks platform, it takes about an hour.
That is what Databricks reports in its description of this implementation. The direction is the same as in our window factory: an answer that used to take several days comes in an hour or less.
A myth on the side: "First we have to integrate our systems"
When a difficult question comes up in a company, like the one about the defective batch, you often hear: "our ERP doesn't talk to the production system, and the warehouse has its own software. Until we integrate them, it can't be done." System integration is a project that takes months, sometimes combined with replacing the ERP.
The word "integration", however, covers two different things. The first is operational integration: systems talk to each other while work is in progress, an order is automatically created in the ERP, and the warehouse immediately knows what to release. Such a project can be expensive, although sometimes it is necessary. The second is analytical integration: copies of data from each system land in one place and are only combined there. To find out where the windows with defective hinges are, the second is enough. The ERP, production and warehouse stay as they are.
Getting your data in order does not have to start with rebuilding your systems. It can start with one question that hurts, and with the few sources needed to answer it. The next question will benefit from what is already connected.
The supplier call test
The window factory is just an example here. I chose it because it is a Polish speciality: for years, we have been the world's largest exporter of plastic windows. But the same scene plays out at a manufacturer of boilers, furniture, car parts or control cabinets. The name of the component changes; the call from the supplier sounds the same.
So, to finish, one question. It is worth asking at your next board meeting, not of the IT department:
How many days would it take us to find out where the products are that a defective part from a supplier went into?
The point is not how quickly it could be done if everyone dropped everything else. The point is how long it took last time and how many people had to work on it. And if such a call hasn't come yet, you can check it now, calmly, on one batch from last month.
If the answer is "a few days", the answer is still sitting in four pieces, in four departments. And something else usually gets lost along the way: complaints that had been saying the same thing for weeks, only nobody linked them to the batch.
In this story, every department was right, and nobody saw the whole picture. The whole picture can be seen without replacing systems, provided the data is connected beforehand, not only after the call from the supplier.
In the next episode: the monthly board meeting, five reports in the green and the margin in the red. In other words, why you so often hear "we'll come back to this at the next board meeting".
Author's disclosure: I researched and edited this article with the help of AI. The window factory is fictional, and any resemblance to a specific company is coincidental. The data in the recordings is synthetic, but everything you see in them really works on a live Databricks platform.






