Updates on my LinterCop project

In the last days, I managed to get some new updates for you released. Since this would be too much for a tweet, I will summarize here what changed, what will change in the next days (hopefully 🙃 ), and what is planned for future updates. What changed lately? Pipelines and automated builds The biggestContinue reading “Updates on my LinterCop project”

Be careful with dynamic code

I believe there is a time in every AL developers live where he discovers the power of RecordRef and FieldRef. It is surely Incredible what you can achieve with these tools and how fast you can deliver a pretty good working piece of code. At least this is the way I remember my first solutionsContinue reading “Be careful with dynamic code”

MSDyn365BC.Code.History got a few updates!

Over the last few month a collected a few requests to improve or change the MSDyn365BC.Code.History repository. Last weekend I finally managed to address them and since Sunday I rebuild the whole Repository. Today its finally going live: https://github.com/StefanMaron/MSDyn365BC.Code.History Include Translation files Since today, (hopefully) all translation files are included. I never did this butContinue reading “MSDyn365BC.Code.History got a few updates!”

Validate a commit before it is committed

Recently there was this question about how to do version numbering when working with AL Apps and automatic builds: It started a discussion about when to update which part of the version number and how that is done. The discussion will be continued today (10th June 2021 9pm CEST) on Discord if you are interestedContinue reading “Validate a commit before it is committed”

Upgrade a BC CRONUS Database using Docker

A few days ago I streamed how I try to upgrade a Business Central CRONOS Database just using docker: Apart from a few throwbacks it went quite well, but better watch yourself 😉 However, I promised to publish the script I created so you don’t need to write it down from the video. This fileContinue reading “Upgrade a BC CRONUS Database using Docker”

Code review: Loop over an Enum

So I came across this post from ThatNavGuy: Looping Through Enum – That NAV guy (wordpress.com) He shows an example on how to loop over an enum. The goal is to have the enum pointing to the next value on each iteration. Since this community is about sharing knowledge and learning from each other, IContinue reading “Code review: Loop over an Enum”

Condition basics in AL

Recently I posted a “Did you know that …” post on Twitter showing an alternative way to write an if-condition. Today I thought: Hey, I might have some more examples for different ways to write conditions and here we are 😉 First start with the most simple if statement there is: It just checks ifContinue reading “Condition basics in AL”

Coding4Performance 5: FindSet vs FindFirst

Today in coding for performance, we talk a bit about FindSet and FindFirst. I actually had plans to make this one the first post in this series. But it turned out that the differences between this two commands are not as obvious as I first thought. Let me first place a huge disclaimer here: EverythingContinue reading “Coding4Performance 5: FindSet vs FindFirst”

Coding4Performance 4: Task Scheduler

In my last post about Start Session I explained how you can easily run a Codeunit in background and relieve the user session. The downside on this method is, that your background task still runs on the same server instance like the user session does. If you have only a few users and only oneContinue reading “Coding4Performance 4: Task Scheduler”