EP 175: Kaden Webb – Differential Refresh over OData for Generic Inquiries
- My favorite feature in Acumatica is the ability to connect directly to the data in a Generic Inquiry over OData
- It's my favorite feature because both Microsoft Excel and Power BI understand OData so you can design reports that are refreshable at the click of a button instead of having to Export to Excel every time you want new data
- But OData can time out on large datasets
- That time out problem could be solved with a differential refresh on OData, but I've never figured out how
- Kaden thinks he has a way to do it so let's find out
AI Summary (written by AI, edited by Tim)
Acumatica OData Is Easy Until the Data Gets Big
Differential Refresh, Staging Layers, AI, and a Six-Million-Row CSV Experiment
OData is one of those things that feels wonderfully simple right up until it doesn’t. Excel knows how to speak OData. Power BI knows how to speak OData. Acumatica can expose a Generic Inquiry through OData. The reporting tool doesn't need to know anything about Acumatica. It just asks for data and gets a nice rectangular table back.
Then the data gets big. Once an inquiry starts returning hundreds of thousands of records—or millions of job cost lines—the same easy connection can start taking forever, timing out, or putting a noticeable load on the production ERP system.
That was the technical center of ERP Seal Podcast episode 175. Tim Rodman was joined by Kaden and Lisa for a conversation about differential refresh over Acumatica OData: how to stop pulling the entire history every time a report refreshes and instead pull only the records that changed.
The interesting part is that the answer is not one magic checkbox. There are several pieces: the Generic Inquiry, LastModifiedDateTime, the OData filter, a staging layer or data warehouse, an ETL process, and then the reporting tool sitting on top. AI is making some of those pieces much easier to build, but it has not eliminated the need to think about the architecture.
Why a Full OData Refresh Becomes Everybody’s Problem
A full refresh sounds harmless when the data set is small. If a Generic Inquiry has 20,000 rows, pulling the whole thing again may be perfectly fine. Nobody notices.
A million rows is different. Kaden described the classic situation where someone runs a Generic Inquiry or report from the beginning of time without realizing what they just asked the ERP system to do. Suddenly everyone is wondering why Acumatica is slow.
Lisa has seen the operational side of this in JAMIS Prime. A reporting refresh can compete with business processing such as labor batches, and job cost data can contain millions of lines. The person refreshing Power BI may think they are only affecting their own report, but the production system is doing the work.
That distinction matters. Reporting traffic is not automatically isolated just because the report is running in Power BI or Excel. If the source is the live Acumatica environment, the source still has to respond to the query.
Stopping a runaway request may not be especially graceful either. Kaden pointed out that there is not necessarily a friendly “stop this report” button on the Acumatica side. In JAMIS Prime, Lisa said a long-running request may need to be killed for the customer. Tim was not current enough on Acumatica’s newer resource-monitoring capabilities to say whether every Acumatica environment behaves the same way, but the practical point remains: it is better not to create the monster query in the first place.
Differential Refresh is Simple in Concept
The idea behind differential refresh is almost boringly simple. Instead of asking Acumatica for every record every time, ask for only the records that changed since the previous successful refresh.
Velixo users may already recognize the concept. Tim compared it to Velixo’s Smart Refresh behavior. The goal is the same: keep the reporting data current without hauling the entire historical data set across the connection again.
That makes the refresh smaller and protects the production system. The reporting layer still ends up with the complete data set, but the ERP only has to provide the incremental changes.
The field that makes this possible in Acumatica is LastModifiedDateTime. Tim noted that it appears on the vast majority of the Data Access Classes used to build Generic Inquiries, and the Acumatica Framework reliably updates it when a record changes.
The LastModifiedDateTime field does not even have to be visible to the user. It can be added to the Results Grid of the Generic Inquiry and left hidden. Once it's part of the GI output, it can be exposed through OData and used as the basis for the differential pull.
LastModifiedDateTime Is the Foundation, Not the Whole Solution
Simply adding LastModifiedDateTime to the Generic Inquiry does not create a differential refresh. That only gives the downstream process something to filter on.
The next step is to actually apply the filter. The discussion covered using an OData $filter against the modified date or creating a parameter in the Generic Inquiry and then using that parameter in the Conditions tab.
A parameter by itself does nothing. Tim compared the Conditions tab to a SQL WHERE clause. The parameter has to participate in the condition that limits the returned rows. Otherwise the GI still happily returns everything.
There may also be work outside Acumatica. If the changed rows are landing in a staging database, the ETL process has to know how to compare, insert, and update records so the staging layer continues to represent the complete current data set.
Volatile expressions can make the whole thing worse. Lisa cautioned against putting volatile calculations into the Generic Inquiry when the goal is an efficient smart or differential refresh. Her preference was to move those calculations downstream into Velixo, Power BI, or Excel rather than forcing Acumatica to reevaluate them inside the GI.
Power BI Incremental Refresh Does Not Remove the Upstream Problem
For a few minutes, the conversation sounded like this might all be solved by a Power BI setting. Lisa pointed out that Power BI has refresh settings that many users do not know about, including scheduling and incremental-refresh behavior.
But that did not turn into the magic answer Tim was hoping for. The clarification was that Power BI’s own refresh settings do not suddenly make a direct Acumatica OData connection into the complete differential-refresh architecture.
There is still something in the middle. That could be a staging database, a caching database, a data warehouse, DataSelf, or another ETL mechanism. Power BI can then refresh against that layer rather than repeatedly pounding the production ERP.
Excel is even less convenient for this particular problem. Tim has tried to make a pure Power Query approach work and has run into query-folding limitations with Acumatica OData. Lisa also distinguished Excel from Power BI here: Excel does not give you the same easy incremental-refresh path.
So the architecture changes once the volume gets serious. Instead of thinking:
Acumatica OData → Power BI
The conversation moved toward a middle layer:
Acumatica OData → Differential ETL → Staging/Data Warehouse → Power BI
That middle box is the part that makes the design scalable.
The Easy Route: Let a Product Handle It
Tim’s existing answer for someone who does not want to build this plumbing is DataSelf. He specifically called out DataSelf ETL+ as a way to perform a differential refresh from an Acumatica Generic Inquiry without having to write the code yourself.
There is something attractive about that approach. Tim has tried multiple times to build the differential-refresh process himself and admitted that he had never quite gotten to the finish line. A product that turns the problem into configuration rather than a software project has obvious appeal.
But the episode went deeper because Kaden has built the more technical version. Once the conversation moved away from the packaged route, the next question became: what should the middle layer actually be?
Azure SQL, PostgreSQL, or Something Else in the Middle?
Kaden’s default answer in a Microsoft-oriented environment is Azure SQL. Acumatica already lives comfortably in the Microsoft ecosystem, Power BI is a Microsoft product, and Azure SQL fits naturally between them.
The reporting tool then stops hitting the production ERP for the big historical pull. Power BI talks to Azure SQL, while a controlled ETL process is responsible for bringing only the changed records from Acumatica into that database.
PostgreSQL represents a different flavor of the same idea. Kaden described it as a natural fit when the surrounding environment is more Linux and open source. A Linux VPS can be spun up, PostgreSQL can be installed, and Python can handle the ETL work.
Tim also pulled up an Acumatica Summit slide showing PostgreSQL support moving into Acumatica itself. The slide described a beta in Acumatica 2026 R1 and an official release targeted for 2026 R2. The point in the conversation was not that everyone should suddenly move to PostgreSQL. It was that the Acumatica world itself is becoming less tied to an all-Microsoft stack.
Environment matters more than ideology here. If a company is already heavily invested in Microsoft, Azure SQL is a very natural choice. If it already has Linux infrastructure and people comfortable with PostgreSQL, that may be the easier fit.
GovCon Changes the Definition of “Easy”
JAMIS Prime added another wrinkle because many of its customers operate in government contracting. JAMIS Prime uses the Acumatica platform underneath, including Generic Inquiries, OData, dashboards, and much of the same finance and distribution functionality, but it has its own project-accounting capabilities aimed at GovCon requirements.
That means architecture decisions can carry compliance constraints that do not exist in a garage experiment. Kaden pointed to environments such as Azure Government, FedRAMP-related requirements, and corporate IT policies that may dictate which services and tools are acceptable.
In that world, “can we make this work?” is not the only question. The company may need the workflow to stay inside approved Microsoft infrastructure. A clever Python script running on some random Linux server may be technically capable and still be the wrong answer.
The same caution applies to AI tools. Kaden’s advice was to follow the company’s IT policy, use the enterprise protections available in the approved AI platform, avoid allowing company data to be used for model training where that setting exists, and consider a local model when data is not allowed to leave the network.
This is one of the most useful contrasts in the episode. A proof of concept optimizes for “does it work?” A production architecture also has to care about governance, supportability, security, compliance, and whether somebody else can understand it six months later.
The ETL Is Where the Work Actually Happens
Once the staging layer exists, something has to keep it current. That is the ETL: Extract the data from Acumatica, Transform it if necessary, and Load it into the destination
There are a lot of ways to do that. Kaden mentioned Python and SQL Server Integration Services (SSIS), with the choice depending heavily on the surrounding technology stack.
Python fits naturally with the Linux/PostgreSQL side. It is especially useful for data work because so many libraries already exist for manipulating data, connecting systems, and building ETL processes.
SSIS fits naturally with the Microsoft side. Instead of writing one Python script, the ETL can be represented more like a flow: get the data, transform it, and load it into SQL Server or Azure SQL. Kaden said he would tend to stay inside the Microsoft family when the rest of the environment already lives there.
Tim’s relationship with Python is part of why this topic has become more interesting now. He had knocked on the Python door several times over the years, bought books, and never quite walked all the way into the room. He learned DAX and Power Query instead because Python felt like too much of a lift.
AI changed that barrier for him. Since getting more serious about LLMs in early 2026, he has been able to describe what he wants in plain language—often by dictating it—and let the model write much of the Python.
Kaden still sees value in knowing the code even when AI writes it. Someone who understands Python can look at the generated functions, variables, loops, and logic and understand what the model actually produced. The skill shifts from typing every line yourself toward being able to inspect, direct, and validate the work.
AI Still Needs Context Before It Can Build the ETL
The tempting prompt is something like: “Go look at my Acumatica OData and build the whole thing.” Tim kept pushing toward that level of simplicity because, philosophically, he would rather have a standard button than a custom project every time.
The problem is access. An LLM cannot magically inspect a customer’s OData endpoint or Generic Inquiry unless it has been given access through a connector, MCP, or some other mechanism.
But Acumatica gives you useful context that can be handed to the model. A Generic Inquiry can be exported to XML. The OData metadata can also describe the fields and data types exposed by the endpoint.
That led to a more interesting possibility. Tim wondered whether the process could become mostly standardized: provide the OData metadata or GI XML, ask the AI to generate the SQL CREATE TABLE statement, and have it also generate the Python needed to perform the differential refresh using LastModifiedDateTime.
Kaden initially emphasized that every client is different. Inventory, MRP, project accounting, Power BI, and other use cases can all require different logic. But as Tim narrowed the problem, Kaden agreed that parts of the process probably could be standardized.
Maybe the standardization does not even have to stop at a prompt. Kaden suggested that an agent could potentially inspect one piece of context, decide what it needs next, and execute a multi-step setup process. That remained an idea rather than a finished solution, but it moved the discussion from “AI helps write code” toward “AI might eventually package the architecture.”
Tim’s Six-Million-Row CSV Experiment
Then Tim threw out the idea that may have been the most Tim-like part of the whole conversation: what if the database in the middle is unnecessary? Not in every environment. Not as a universal best practice. Just as a question worth testing.
He had already run a simple performance experiment with six million rows of random data. One copy went into an Azure SQL database. Another copy went into a CSV file stored in OneDrive, where he already enjoys a large amount of storage through Microsoft 365.
Then he pointed Power BI at both and timed the refreshes. In his test, the CSV file refreshed about twice as fast as the Azure SQL source.
That got his attention. A CSV file is boring. It is not a fancy cloud database. But if Power BI can read it quickly and OneDrive already provides the storage, maybe boring is useful.
The CSV Problem: No Primary Key, No Upsert
The obvious problem is that a CSV file does not know what a primary key is. A database can find an existing row and update it, or insert a new row when the key does not exist. A flat CSV file has no built-in concept of an upsert.
Tim’s proposed workaround was to make the “database” temporary. Load the existing CSV into memory with Python—he believed pandas was the library involved—treat that in-memory object like a temporary staging table, establish the key there, merge in the changed OData records, and then write the entire result back over the CSV file.
The permanent storage would still be the CSV. The pandas object would exist only during the refresh and then disappear.
That removes one thing Tim does not enjoy about the database layer: schema management. In SQL, the ETL has to care whether a destination column is a date, a number, or text. With the CSV approach, Tim could defer that typing work until Power Query loads the data into Power BI.
The serverless part also appealed to him. His idea was to run the Python on a scheduled cloud function, give the job enough memory and compute for the few minutes it needs, update the CSV in OneDrive, and shut the compute down when it's finished.
He had experimented with Google’s serverless function tooling because he found the deployment experience simpler for this use case. His experience with Azure pushed him toward a Visual Studio-based publishing workflow that he did not particularly want to deal with, while the Google approach felt more like pasting in the Python and scheduling it.
A “Garage Build” Can Work and Still Be the Wrong Production Answer
Kaden liked the CSV idea and immediately gave it a useful name: a garage build. The pandas object is effectively acting as the staging table, just temporarily and in memory instead of as a permanent SQL database.
That does not mean the idea is bad. Kaden called it fun and functional. Tim had a real performance result that made it worth investigating, and the architecture could remove cost and complexity for the right situation.
But “it works” is not the same thing as “a formal business will be comfortable owning it.” Kaden’s concern was that larger organizations—and especially GovCon organizations—may prefer a more conventional architecture even when the unconventional version is technically sound.
That is probably the biggest unresolved question from the episode. Can Tim take the quirky parts out of the CSV approach until it stops feeling like a clever personal project and starts feeling like a boring, repeatable reporting architecture?
Boring would actually be a compliment here. The whole point is to make differential refresh something a consultant can deploy without turning every customer into a custom software-development project.
Community: The Human Architecture
The first 20 minutes of the conversation were about something that initially sounded unrelated: community. Lisa described being thrown into a reporting role at a JAMIS Prime customer when nobody around her knew how to build Generic Inquiries or use Report Designer.
AugForums.com became the place where Lisa could find people having the same problems. Members shared Generic Inquiries, posted errors and solutions, and gave her examples she could work from. She described feeling like she was on an island at her company, but finding “her people” online at AugForums.com.
Recently Tim moved AugForums.com into read-only mode. Tim’s view is that the official Acumatica Community is now a better place for active forum discussion, while the old AugForum.com content will remain searchable as an archive.
The archive also has a second life now because AI search tools can surface those old answers. Years of people documenting obscure ERP problems do not become useless just because new forum posts stop.
What people may miss is the independent atmosphere. The conversation landed on a “Hawaiian shirt” analogy: an independent community can feel more like hanging out at the bar, while an official publisher forum can feel a little more like going to the office. Both can be useful. They just feel different.
Tim is keeping that informal Acumatica community vibe alive in Discord. He likes the flatter, more immediate conversation there, and the read-only forum announcement actually helped reinvigorate the Discord community.
There's an AI angle there too, but Tim wants a boundary. A Discord bot could answer Acumatica questions, and technically that is pretty easy to imagine. His instinct, though, would be to put the bot in its own channel and keep the main community focused on human-to-human interaction.
That fits another deliberate boundary Tim has been trying to maintain. He prefers to say he had an “interaction” with ChatGPT rather than a “conversation” with it because he wants to keep reminding himself that the model is a machine, even when the interface makes it feel surprisingly human.
The Interesting Part is Where All of This Meets
Differential refresh sounds like a narrow reporting topic, but the episode wound up being about a broader shift in who can build technical infrastructure. A problem that once required someone comfortable with databases, ETL tooling, Python, Power BI, and Acumatica is getting closer to something an ERP consultant can assemble with AI assistance.
That does not make architecture irrelevant. If anything, it makes architectural judgment more important because writing the code is becoming the easier part.
The hard questions move up a level. Should the customer use Azure SQL or PostgreSQL? Does the data belong in a conventional warehouse or a CSV file? Does the environment require Azure Government? Can the AI see the necessary context? Who will support the result? What happens when the refresh fails? Is the clever solution actually simpler once another person has to own it?
And this is where the community discussion comes back into the technical one. AI can generate Python. It can probably generate a Generic Inquiry XML file if it has good examples. It may eventually standardize much more of the differential-refresh setup. But people still need other people to challenge the architecture, share the ugly edge cases, and say, “Yes, that works—but I would not put it into this customer’s environment.”
Bottom Line
The main lesson is not “use Python,” “use Azure SQL,” or “use a CSV.” It is that large Acumatica reporting workloads should not blindly pull the entire production data set over OData every time a user clicks Refresh.
The foundation is LastModifiedDateTime and a properly filtered Generic Inquiry. From there, the changed records need to land somewhere that can preserve the complete reporting data set without forcing Acumatica to rebuild it on every request.
The easy route is a product such as DataSelf ETL+. The more customizable route is a staging database or Data Warehouse with an ETL built in Python, SSIS, or another tool that fits the customer’s environment. And the Tim experimental route using a serverless Python job running in Google Cloud that temporarily uses pandas as the staging layer and persists the result back to a CSV file in OneDrive.
None of those is automatically the right answer. A small or experimental environment may value simplicity and low cost. A formal enterprise or GovCon environment may care much more about standard architecture, governance, and supportability.
The part worth watching is how much of this can become standardized. Tim went into the discussion hoping there might be a magical easy way to do differential refresh and did not quite find one. But he came out with a more interesting possibility: AI may be getting good enough to turn the code-heavy middle layer into something much closer to a repeatable pattern.
And if the six-million-row CSV garage build can eventually become boring then Tim will probably like it even more.
