<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Transactions on Stefan Maron | Business Central &amp; AL Development</title><link>https://stefanmaron.com/tags/transactions/</link><description>Recent content in Transactions on Stefan Maron | Business Central &amp; AL Development</description><generator>Hugo -- gohugo.io</generator><language/><lastBuildDate>Sun, 15 Sep 2024 09:00:00 +0100</lastBuildDate><atom:link href="https://stefanmaron.com/tags/transactions/index.xml" rel="self" type="application/rss+xml"/><item><title>How Do Database Transactions Actually Work in Business Central?</title><link>https://stefanmaron.com/posts/bc-database-transactions-deep-dive/</link><pubDate>Sun, 15 Sep 2024 09:00:00 +0100</pubDate><guid>https://stefanmaron.com/posts/bc-database-transactions-deep-dive/</guid><description>I thought I knew how transactions worked in Business Central. Then I started actually testing them, and I was genuinely shocked by a few things. This stream is me working through it live, building a small test extension and watching what commits and errors actually do to the database.
The full stream is on YouTube — this post covers the key findings. All the code from the stream ended up at github.</description></item><item><title>Build a better way to catch errors 2 – without the test framework</title><link>https://stefanmaron.com/posts/build-better-error-catching-without-test-framework/</link><pubDate>Thu, 30 May 2024 09:00:00 +0100</pubDate><guid>https://stefanmaron.com/posts/build-better-error-catching-without-test-framework/</guid><description>In the first stream on this topic I built a way to reliably catch and log errors during Business Central imports using the test framework — running code inside a test codeunit so that any database changes roll back automatically when an error is thrown. The idea worked. But then I tried to run it in production Online, and it blew up immediately: the test framework is not available in production SaaS tenants.</description></item></channel></rss>