Category: Tips and Tricks

Navigate directly to a symbol of a file in VS Code

How would feel about if you can directly navigate to a symbol of a file? It is now possible in VS Code.  All you need to do is press “Ctrl” + P and type the object name you want to navigate to and then press @, it will list down all the fields, functions and …

Continue reading

AL: Action Property must have a value

This blog post was sitting on my draft folder for the past few months and finally got time to hit the publish button.  AL compiler getting smarter day by day. In previous versions even if we declare an action and never implement the OnAction trigger or assign the RunObject property it never gave a warning …

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

PowerShell: Run Script Error: Exception setting “CursorPosition”

Last week I was working on a PS script to upload files to an FTP and this script supposes to runs through a windows service. It runs perfectly well when it runs manually with the PowerShell ISE. However, when I scheduled it to run it through a service, service logs below error in the error …

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

How to check Microsoft Dynamics 365 Business Central tenant version

You can use the “System Information” page to check the current version of Microsoft Dynamics 365 Business Central tenant. Simply search for “System Information” using “Tell me what to do” and click on the “System Information” link in the result.  “System information” page will show the current version of the tenant. Version get change every time Microsoft …

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

The runtime version of the extension package is currently set to ‘2.1’

While deploying one of our base extensions to a customer tenant we got an error with “Unable to Install the Extension *******”. This was the same extension we deployed to the same tenant couple of days ago with a different version. We revert our changes and try to publish it again but the same error.  …

Continue reading