ATL282: Blockchain in Modern ERP

Download MP3

Brian F. Tankersley, CPA.CITP, CGMA 00:00
Welcome to the Accounting Technology Lab, brought to you by CPA Practice Advisor, with your hosts Randy Johnston and Brian Tankersley.

Randy Johnston 00:09
Welcome to the Accounting Technology Lab. Well, I'm wondering, Brian, is blockchain dead? Did it go away? What happened? It was all the hot stuff, and now we've got AI, AI, AI everywhere, and you and I both have been around blockchain since inception when you know we first saw cryptocurrencies back in the 2009 10 timeframe. So I hate to tell you, it's been 16 doggone years, but we saw the magic of a ledger that was not able to be modified, and that whole audit trail was a big deal. And what I think both you and I have observed, more so you you have gone in it in greater detail, is all of these new AI-powered ledgers, of which there's a dozen or more operational at this point, and the legacy ledgers not quite so popular. So, talk to us and the the listeners today about these traditional products and why these database accounting products, typically that were based on SQL databases, fail.

Brian F. Tankersley, CPA.CITP, CGMA 01:23
Well, first off, first off, again, what I what I want you to see is that is that in a standard relational ERP, anybody that's a system administrator can modify the database tables directly. Okay, and there's there's not a control on that process. In most places, we try to minimize the number of admins, and we log all the administrative use and and other things like this. But honestly, the likelihood that you're going to catch 100 of it is, you know, is there. Now, if we think about what we need for the the level of control and and data integrity we need for companies subject to Sarbanes Oxley and other regulations like that, that's not going to you know that's not going to be secure enough. Okay, because we want you know the one of the concepts behind any kind of governance is we want everybody to be held to account by somebody or for something for what they do. So so that's that's a big deal. Also for also with standard relational ERP, you can't see the other side of the transaction. You don't know if it's a real transaction or not. And and again, the if you have discrepancies, it takes a long time to to reconcile. Now, if we have a DLT anchored audit trail, the hashes prevent people from modifying it at all. If anything changes, anything gets deleted, inserted, modified, anything like that. The whole there's a cascading set of failures of the hashes that that again show us that that there's you know what what happened here. We have multi-node consensus in here where the external partners validate ledger states, and we also have zero tampering, which again is a mathematical defense against internal fraud. In so many cases, including many that I've investigated, we've seen situations where somebody went in and doctored the records after the fact in order to in order to cover up theft or other other illicit activity that they'd done with this. You know, and again, and and this was kind of pioneered, by the way, by Dynamics SL, the product now now known as Dynamics 365 Business Central from Microsoft. They pioneered this. Their database engine that they had, and they didn't go as far as distributed ledger technology, but their database that they put in there, the basis database, the way they configured it is was that you couldn't delete an entry after you made it. So if you made an entry and you blew it, you know, you you you had to you had to reverse it and and go that way. So it's a it's kind of an interesting interesting place here. But again, the the idea is that is that you can calculate the hashes on the ledger, and then store those in a separate blockchain, and and go from there. Well, so Brian,

Randy Johnston 04:06
now I'm really sad because I used to love going in and changing accounting records by patching at the database level, and you know frustrating the accountants because I'd actually make things work. So those days are gone, is what I'm hearing. There's one other little important piece because notice the encryption is being done in the blockchain, and you know about the best type of encryptions that we have at the file level today are some of the new quantum encryption algorithms, but this has a whole bunch of well things in the chain linked together, so in effect, you've got a lot more protection in a blockchain AI ledger than you do in any traditional ledger.

Brian F. Tankersley, CPA.CITP, CGMA 04:58
Yeah, again, it may not be tampered. Proof, but it's going to be tamper evident. You know the way I kind of think about it is is you know when I used to work for a work for a big company, we had these tamper tamper resistant or tamper evident deposit bags that we would take cash and checks and other things to the bank in, and you know if you modify it, it it's very clearly obvious. So anyway, that's the anyway that's neither here nor there. But that's the

Randy Johnston 05:26
ready. I think I appreciate that. So I think you're ready to talk about Angela now, aren't you?

Brian F. Tankersley, CPA.CITP, CGMA 05:31
Yeah. So let's talk about here Merkel here and the and the payload level hashing. So so when we look at when we look at this now, what the what this is doing is this doing what's called ERP hashing, and so what what's happening in here is that it is when when a transaction event gets triggered, it's going to create a journal entry in the ledger, and then it's gonna it's gonna do a Merkle tree batch where it aggregates all of those kind of into a batch of transactions into one root hash, and then that's anchored on chain with an immutable timestamp. So the way of thinking about this is, this is very much like like what the IRS asks you to do with your with your vehicle mileage every year. That one of the thing one of their requirements is they need to know what the vehicle what the odometer reading was on that car at the beginning of the year, because you know if somebody claims too many miles, then it's not going to match up at the beginning of the next year, and so it so as we're again as we're thinking about this now, what I'd like you to see is that is that that's kind of what's happening here is that we're effectively taking the transactions, putting them into these batches or blocks, and then then then using and using hashes and encryption to to make these things basically indelible or or unmodifiable. Anyway, so so again, the idea here is that your your amounts that are in your ledger are going to get recorded to an offsite an offsite, you know, blockchain that's maintained by somebody else that potentially can do this. Now, the next one we have in here is going to be the enterprise sidecar architecture, where we have the core ERP operation in here that runs the runs the transactions in standard SQL. We then have a a middleware bridge that captures the write-ahead logs without taxing the ERP performance, and then a distributed ledger that stores this information and the proofs and other things like this accessible to auditors. I don't think it's beyond the you know it would probably compromise independence, but I well I don't know. I mean, you're that's something that's actually an interesting question for the for the audit ethics people, the independence people at AICPA. If your auditor keeps Merkel routes and verifiable timestamps and other information like that on your general ledger, then are they still independent of you? And I would assume that you know, especially if they're the authoritative version of it, now maybe maybe you're not going to use your auditor for that. Maybe you're going to use somebody like Depository Trust Company or something like that. But the idea here is again we're getting these check sums from the blockchain and and again storing them on the ledger. Another concept here is multi-party execution in here, and you're already starting to see some of the some of the starts of this with the extranets now provided by bill.com and and some of the payables providers. You know, I get notifications from bill.com and and other vendors whenever I have pending pending receivables or to them pending payables when that's going to be coming in, and they do that because they want to tell me that it's that I'm you know if I'm willing to give up 3% of it, they'll give it to me a few days early. Now I don't do that, but I but I but I think that the fact that there is direct communication of this gives us information in here. Now, what if though we had a ledger that where my AP and your AR had to be in sync on a blockchain? Okay, and and again, where I'm specifically thinking about this is in in financial institutions, especially with the the big investment banks where you know they have to settle transactions in a fairly short period of time, and so you know, if we set that up in these financial institutions, suddenly now both sides can see both both both parties can see both sides of the transaction, and once it's recorded, there's no changing it.

Brian F. Tankersley, CPA.CITP, CGMA 09:34
So it really does it really takes that those internal records that you had before, and the fact that there's another party that's party to this that's that's looking at their those those numbers makes it a you know makes it a much more reliable document in here. We can also do contract checks, so we can do we can go through and do reconciliations, and again we can. Release funds if there's no invoice dispute. So again, we could potentially set it up where we have purchase orders, and as invoices flow through, they get assigned to the purchase orders, and if nobody objects, then they get released after a certain number of days. Okay. Comments on any of those, Randy?

Randy Johnston 10:16
No, just you've got me thinking deeply. Unfortunately, I'll say Brian about this. So I'm not seeing as much as I usually do because I was just I was reflecting on this A R A P match. I was thinking about it from a bank perspective. I was thinking about it with foreign currency translation. I was thinking about how quick it could run. You know, all of these things are I guess we'll call them features of the new generation AI-powered ledgers, and I was reflecting on how many of the AI ledgers would talk to each other like they like you described, and I was reflecting old school on the old Sage 50 Canada, formerly known as Simply Accounting, that had this cross communication, which gave it such dominance in the Canadian market. So there's been a few times that smart designers have put in a feature that you just say, "Now that is very cool. If the whole world would work that way, it it would make auditing so much more straightforward, and it would make visibilities of the transactions so much better.

Brian F. Tankersley, CPA.CITP, CGMA 11:29
Well, you know, you think about you think about the big you know the big transaction processors for banks like you know Data Center Inc. and Jack Henry and and and Fiserv, and you know if they set up for all these small community banks these ledgers and you know their their transaction and and again the transactions could be tied in at those at those different at those transaction processing services into into those ledgers suddenly it gets pretty interesting pretty fast because now you you could almost run a sock two on those on those ledgers, so interest very interesting times. Now another thing we have with this is cryptographic privacy, so we can mathematically verify regulatory compliance, debt covenants ratios, or sanctions checks, without revealing unit cost or supplier identities. So again, we can reveal just enough here. I'm not exactly sure about this. This is something that that again the the AI engine I use with this came up with, and I'm not you know I get trying to not reveal commercial secrets to your external auditors, but I I think at some I think I think at some level you're going to have to reveal just about everything too. Now, what I did next is I said, okay, let's look at 10 implementations of this. Okay, so I'll I'll go through these relatively quickly. But before I do, Randy, any comments on the first five there?

Randy Johnston 12:57
No, I was just going to mention to our listeners, that the the examples that we're going to cover next each have merit by themselves, and each have a learning point. But we're not going to dwell on them a lot because again, we want you to be able to go back and look at it. But each is illustrating a key point. So I'm going to let you roll there, Brian.

Brian F. Tankersley, CPA.CITP, CGMA 13:22
So the first one in there is going to be drug tracking and the Drug Supply Chain Security Act. So unit level barcode verification across manufacturers of of drugs, so that you can reject fraudulent lots before inventory receipt, and again, full chain of custody proofs and everything else. You know, remember that when people take the wrong drug in hospitals, they die, and so getting the wrong ingredient, like you know, if you substituted, let's say, fentanyl for ibuprofen, that's a bad day for somebody. And so, as we're as we're thinking about this now, being able to have the the record keeping and the the inviolate records is a is a very big deal. And again, having that across the the whole drug industry makes it much harder for people to make to make counterfeits or unauthorized or untracked lots of of these these ingredients. The next one in here is going to be intercompany reconciliation, and so Oracle Fusion actually has this, and it's actually built directly into into Oracle Oracle SCM and financials without any external custom code. So, so that's that's one of the things that we're starting to see show up more and more in here. Automated food recall and provenance. So, so in this, we're looking at IBM and SAP, and and you know again, if you think about this, how many of you have, you know, many times you'll get you'll get food, and you think about you think about a restaurant or you think about a store. What if the food that they got? What if there was a. Failure in that refrigeration unit at some point, and it's already rotten before it gets there. So, so what we're doing here is we're actually doing timestamps and field coordinates. This is part of the the post 911 bioterrorism regs that were passed about 25 years ago. But the the idea here is that we have a blockchain where we can track, we can track all the food that goes into a food product back to where it came from. Because just like drugs, we have strict liability with respect to food. Now, if you stop, think about it here for a minute. Let's say you're getting, you know, let's say you're getting a Marie Calendar's pot pie. Well, you've got a lot of ingredients in there. You've got butter. You've got you've got the the flour for the crust. You have eggs. You have you have you know the peas, the carrots, the chicken, the the stuff that goes in the that goes to create the broth that's in there or the the gravy, I guess. And and again, as you're as you're going through all the spices, you know, and as you as you start exploding that out to everything that's literally in there, suddenly now this becomes a big problem. We can also have refrigeration telemetry coming in through with sensors going through, and and again, if if there's a problem, the software can actually go in and and lock the suspect batches instantly and block them from from anything happening to them.

Randy Johnston 16:29
So, Brian, just as a social comment on this one, again, we've been talking blockchain for 16 years, and we actually talked about in 2011 farm blockchains, and you might recall Walmart was doing blockchain tests at that point in time. And think how different this year would have been if we'd had blockchain recall on produce, right? Because there's been plenty of produce incidents, but this this idea to be able to do not only the tracking and what got me started on this, Brian, was thinking about our CES visits where we have the little drug shipping containers where they have the temperature sensors. I know I'm

Brian F. Tankersley, CPA.CITP, CGMA 17:12
yeah

Randy Johnston 17:12
I'm picturing it as I'm talking to you, you know, and and those became very popular and are still sold. You know, we saw them before they became real products, and now they are real products. But you know, you've got the smart contract, and it turns out you've got tokenization that begins occurring along this. So there's there's a lot of moving parts that I would call classical blockchain, and you know now we're able to see this happening at the higher end with the SAP and IBM effort here.

Brian F. Tankersley, CPA.CITP, CGMA 17:44
You know, you know, just kind of kind of looking at this, Randy. I'm gonna, I want to do a couple more of these, but I don't know that we need to go through all 10 of these. But you know, another one here is going to be payroll and credential verification. You know, this is a huge deal in hospitals and met with medical providers, and it's so with this you have verifiable in Workday. You have verifiable professional credentials, including cryptographic proofs with credential hashes on them, where they can violate they can verify those licenses instantly. We also have automated payroll compliance, where we can have pay rates that execute automatically upon the rule of somebody reaching a certain state. Like my son works for Home Depot, and I think around the time he'd been there a year, he got a raise. And so once he, once you know, so so just kind of looking at this, if there are rules like that in your systems, you can actually set up to do this. You can also make your employment history and the other information for labor audits tamper-proof. So, unions and the Department of Labor, and even in litigation, you will have things that are basically, basically entirely, entirely tamper-proof, which is a pretty interesting thing. Let's also talk a little bit about this other one in here, cross-border customs and tariff verification. Okay, it's very clear to all of us. I think that we're going to have tariff. You know, we've we've had tariffs forever, but the tariffs are going to be more material or more significant in between now and well now and at least 2028 with the you know with with our with this, so getting our cargo manifest anchored to a ledger at the container dispatch, and then computing the tariff based on the shared ledger, and then having immediate clearance when things come through, is is really really a big deal? You know, if if you think about it, we have we have cargos like I remember a few years back there was a there was a huge shipment of bees. Yes, bees get shipped through FedEx and and all kinds of other all kinds of other services, and there was a huge shipment. Of bees that was being shipped to Delta Dash up to up to Alaska because you know Alaska is not a great place to to breed and grow lots and lots of bees because you don't have a really long summer up there and so they so but but the unfortunately there was some kind of mechanical problem and so there were millions and millions of bees that died because because of a misstep with this very sensitive thing, and I remember they were they actually had a call out for beekeepers to come and take some of these bees off their hands and deal with some of them so that they could they could work with it. But you know, again, I just kind of mentioned this because you know if you think about having a product like live bees or like like roses or flowers or some other kind of kind of thing like that that has a very short shelf life, if it's not kept in perfect perfect order, it that's that's going to be a pretty big deal.

Randy Johnston 20:57
Yeah. So for what I'd like to do is just pick up the names quickly of these products because all of these are going to be high-end solutions: SAP, Oracle Fusion, IBM's, and SAP's. Microsoft Dynamics 365's one Brian didn't talk about Workday, Infor, Sage Intacct has an example on this. Epicor was in play, and QAD is where he's been working. So you know that was nine different scenarios. And here's the deal: I think whenever I see features in the tier one and tier two products, I know they're coming down market to tier three and tier four. So even though we're talking about them today in the context of these large systems, I think they're going to be coming to a small system near you soon. Why? Because of the whole AI ledger, blockchain encryption capabilities in all of these new generation products. So I have people that ask the question: You know, should I stay on QuickBooks or should I consider one of the new AI-powered ledgers like Digits or Kick or Dual Entry or Rillet or Campfire? And the answer is, it's early. But if you're going to build a new generation client accounting services environment, maybe it's worth learning now and growing with the company. So we're going to go from siloed databases and possibly API interfaces and MCP model context protocol interfaces with AI to locking the audit trail down with cryptographic certainty, so these DLT audit trails are transforming enterprise businesses right now, and I think we're going to see this come down market. Other closing points, Brian.

Brian F. Tankersley, CPA.CITP, CGMA 22:55
I will say that the analogy I would give give to you here is that it's it's somewhat analogous to the ubiquitous electronic signature that we have. You know, I just I just bought a part. I just bought a partnership in a business, and one of the things when we closed is all the signatures were electronic, and we all everybody signed on their phones wherever they were. Okay, my my partner in this business actually signed it. Don't tell anybody, but I think she was going 80 miles an hour down the road. I I mention all of this to you here because because I think just like electronic signature has changed it, where you know because when my parents sold their business in 1984, they had to get on an airplane and go to New York City and sign it at a law at a at a big law firm in New York, and then they went to lunch at Windows on the World at the World Trade Center afterwards. So it's a it's a different world because you had to physically go then. The same thing here is that is that we can now have much higher certainty surrounding the the data integrity of what we have than we've ever had before, and I think honestly, once the enterprise starts showing the the efficacy of this, I think it's going to make its way down market very quickly.

Randy Johnston 24:13
Well, friends, it's always good to have you listen in on our accounting technology labs, and we look forward to having you with us again in the near future, you have a good day.

Brian F. Tankersley, CPA.CITP, CGMA 24:28
Thank you for sharing your time with us. We'll be back next Saturday with a new episode of the Technology Lab from CPA Practice Advisor. Have a great week.

Creators and Guests

Brian F. Tankersley
Host
Brian F. Tankersley
Nationally recognized speaker (K2 Enterprises, 48 states in US + Canada) podcaster & author on accounting tech. I’m also a beekeeper, a husband, and a dad.
Randy Johnston
Host
Randy Johnston
Randy Johnston is a nationally recognized educator, consultant, and writer with over 40 years experience in Strategic Technology Planning, Systems and Network Integration, Accounting Software Selection, Business Development and Management, Disaster Recovery and Contingency Planning, and Process Engineering.
ATL282: Blockchain in Modern ERP
Broadcast by