A Navision/NAV/Business Central developer. I enjoy coding, testing, exploring the depths of code, and writing about my findings.

Joined July 2022
57 Photos and videos
I almost never use the return value of the Insert function in AL, but recently I found it useful in avoiding a specific deadlock situation. And the deadlock itself was a very curious one. keytogoodcode.com/post/buffe…
1
6
135
I went as far as doing another post on the "if not IsEmpty then FindSet" pattern. Don't beat me too hard for reviving the topic again, but I think this query can shed some light on the old urban legend of the "second roundtrip" of the FindSet function. keytogoodcode.com/post/if-no…
3
2
11
755
In a couple of my previous blog posts I was reviewing the benefits and dangers of SIFT views in Business Central. Now I want to take a look at a possible alternative - how indexes with included fields perform compared to SIFT. #dyn365bc keytogoodcode.com/post/cover…

1
3
9
653
Recently, I've been practicing my TypeScript skills, and now ʧarm is the result of my exercises. This is a tool allowing intuitive graphical presentation and editing of timelines. github.com/adrogin/tscharm
2
321
An example of a negative configuration option at its finest. So I need to set "modules" to false and "node" as the target to use ESM modules instead of Node's CJS. Makes perfect sense.
137
Operation is successful. Just stay cool and keep trying.
1
8
347
I did it! I did it! 10 sessions in a deadlock chain. ☠️☠️
1
5
601
SIFT, or SumIndexField Technology, dr. Jekyll and mr. Hyde of Business Central. Let's have a look at its benevolent personality before exploring the dark side of our hero (with I will save for the next post). wix.to/M3OU2SI
3
5
477
AL language allows external diagnostic analysers. Thanks to this, we have the community-driven LinterCop. But the code action service does not load external libs, so no quick fixes for custom rules. No ReSharper for AL either. Is it a worthy BC idea to make it extendable?🤔
2
3
436
Worst kind of randomisation in test fixture is one that defines the whole test flow rather that the outcome of a specific calculation. Something like: Contact."Business Relation" := Random(5) - 1; What the heck?! What do we even want to test here?

ALT I Dont Know Whats Going On Herbert Garrison GIF

1
175
One impractical blog post. Rather a reminder that some AL functions still exist for backward compatibility with code decades old. wix.to/URtmt7n #dyn365bc #businesscentral #sqlserver

2
172
In this blog post, I am exploring one curious method of presumed performance enhancement of SELECT queries, just to demonstrate why it is not going to work. wix.to/Hxpq3Ia #dyn365bc #businesscentral #sqlserver

3
6
363
Unfortunately, I am not attending BC Tech Days this year, but this is definitely a session not to be missed.
10 Jun 2024
I would argue the perfect last session for your #BCTechDays conference is to join Torben Meyhoff and I, for our session: Tri-State Locking: Reducing locking in the runtime We will explain AL's locking scheme in-depth and explore recent improvements in the area.
1
4
326
Resuming my "SQL Server for Business Central" blog series. Let's talk about deadlocks: what it is and some examples of potentially deadlocking code. #businesscentral #dyn365bc #sqlserver
1
4
537
Not quite my usual BC blog post, but an interesting spin-off in my dev experience. My findings from configuring a very helpful #Azure service. wix.to/z8dHeFL

1
129
The weirdest thing I've seen in Azure. Two users open a function app config. One can set TLS version to 1.3, the other does not have this option. Same subscription, same app, users in the same AAD. Does it have any reasonable explanation except different screen resolution?
1
343