Using regions in AL code

Did you know that you can use CSharp-like regions in AL code? Somehow, a generic VSCode feature applies to AL files as well!

Compiler seems to accept //#region + //#endregion pairs since those are just comment lines. Publishing and debugging works fine.

Both //region and //#region styles work, so it depends on your preference which one to choose.

nav_al_regions3.png

nav_al_regions2.png

Another great feature to have better organized AL code. 😎

NAV 2018 – installation from DVD

The beginning of a beautiful friendship.

Just like many of us, I was eager to get my hands on a fresh copy of NAV 2018, the release that almost never happened. I woke up early on last Friday and there it was already on PartnerSource! A good old installation DVD available for download.

Continue reading “NAV 2018 – installation from DVD”