Category: AL Extensions

How to change the version of the AL Language compiler

Microsoft released a new update to AL Language extension for VS Code. With this new update, the compiler does a few pre-checks before compiling the objects and packages them into a .app file.  Most probably you will have to do minor changes to your extension codebase to work with the new compiler. Otherwise, you will …

Continue reading

Platform property is still required in app.json

With the Wave 2 release, Microsoft did convert all the C/AL objects into AL. Since they want to lead by example they wanted their own code to be on extensions as well. Plus they wanted to split the objects based on its functionality. After converting to AL, Microsoft put the objects into below two extensions: System …

Continue reading

How to handle breaking changes?

Wagner and I are on our way to Vienna to present at Directions EMEA, and now we got into our second flight after flying over 15000Km from Auckland New Zealand, to Dubai. We got another 6 hours to complete on this flight before we step our foot in Vienna. Went through the in-flight entertainment system, …

Continue reading

How to inject data to Customer Address Line 2 using Microsoft Business Central API

Creating a customer record in Microsoft Dynamics 365 Business Central is a topic I blogged about in one of my previous blog posts. If you have not read them yet I suggest you read it before going through this for better understanding.  Part 01: Getting Started with Dynamics 365 Business Central APIs Part 02: Understanding Microsoft Business …

Continue reading

Dynamics 365 Business Central: Permissions required to download AL symbols

Your user needs to have the necessary permission to download AL symbols from Visual Studio Code (VSCode), else you will end up with “Could not download symbols” error in VS Code. In order to download symbols, User needs to have SUPER permission or should have “D365 EXTENSION MGT” permission assigned. Symbols are stored per tenant …

Continue reading

Add a logo to a Microsoft Dynamics 365 Business Central Extension

I saw a couple of forum questions about how to add a logo to an AL Extension and I thought to share a quick guide on how to.  If you publish your new extension to Microsoft Dynamics 365 Business Central and then navigate to Extension management page, you will see your new extension as below …

Continue reading

Runtime Packages for Business Central On-Premises

Before you go through this blob, I suggest you read my blog post “Your program license does not allow you to publish” to get an understanding about the Runtime Packages.  Runtime packages are designed to help the distribution of extensions. You can generate Runtime packages that do not contain AL code. Runtime packages allow protecting the …

Continue reading

Your program license does not allow you to publish

We recently ran into a new issue when we try to push one of our extensions to Microsoft Dynamics NAV 2018 On-premise installations.  We used PowerShell script to upload the extensions to production and we did this couple of days ago too without an issue. However this time we got the below error during the installation : …

Continue reading

Function Overloading in AL with Option and Integer

We never had the luxury of overloading a function in C/AL, but with the AL we have that ability. Which means you can use the same function name with different parameters.  This blog post is about a small glitch in the function overloading in AL and I will write a separate blog post about function overloading and its implementations (Excited about …

Continue reading

Git Bash on Visual Studio Code integrated terminal

Visual Studio Code (VSCode) uses PowerShell by default in the integrated terminal. How easy would it be if Bash can be integrated into VS Code terminal? This is how my VS Code terminal looks like now: This can be achieved with a few steps. 1. Download Git (https://git-scm.com/downloads) and during the installation click below steps. …

Continue reading