I just released a new version for the BusinessCentral.LinterCop. This rule is similar to the PTE0004 from Microsoft which checks for your tables to have a TableData permission set. All the other permissions are not covered. After some discussion and some thoughts I ended up also including the check for TableData in LC0015. If youContinue reading “Bugfixes for LinterCop Rule LC0015”
Category Archives: Business Central
How to takle all the challenges with BC SaaS?
It’s been a while since my last blog post and this time its not about a technical topic. I have just watched the (right now) latest video from @SteveEndow and he asks a lot of questions and leaves open the answers. I just feel like I could share a few of my thoughts about someContinue reading “How to takle all the challenges with BC SaaS?”
BusinessCentral.LinterCop goes VS Code!
After quite some analyzing and reverse engineering, I got it working! The custom code analyzer BusinessCentral.LinterCop is running included in VS Code. And here is how to do it: First, go to my GitHub and download the latest binary here.Then just place it on your hard drive, for example “C:\ALCustomCops\” Then go to your settings file and insert it in theContinue reading “BusinessCentral.LinterCop goes VS Code!”
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”
Speed up BC container creation
This is probably going to be a short blog again and chances are high that you already know what I am going to share. But if your are like me and did not know this little trick, its going to save you, and maybe your team, quite some time! Since I do not run myContinue reading “Speed up BC container creation”
Performance & Variables exposed as field on a Page
Today was again one of those days… I just wanted to add a flow field to a table to look up some value, and display it on a list page. After some time I realized that this wont work. Im my case I needed to go three table relations deep to get out the valueContinue reading “Performance & Variables exposed as field on a Page”