.NET Exception Handling in C/AL

When there is a need to use .NET classes within C/AL, one of the main challenges is to handle the exceptions the methods of these .NET classes may throw. Eventually, if not handled, they will basically bubble up as runtime errors, halting the current operation a…

Active directory queries from C/AL

I wanted to get a list of all NAV users with displayname and roles per user in a report. The data base is table “Windows Access Control”. One field should show the displayname of each user. The displayname can be read from hidden table “Windows Object”,…

C/AL Coding Guidelines

The new C/AL Coding Guidelines are updated and published by Microsoft. Link : C/AL Coding Guidelines As far as I know there is no official PDF document with the guidelines yet, so you can download the unofficial one here: [download id="131"] [download id="132"]