-
AL Extensions, Development, Microsoft Dynamics 365, Microsoft Dynamics Business Central, Tips and Tricks
Do you know you can navigate directly to a symbol of a file in VS Code?
All you need to do is press “Ctrl” + P and type the object name you want to navigate to. Then press @. It will list all the object’s fields, functions, and triggers. You can select the place you want to jump into. Regards,Tharanga Chandrasekara
-
How to Enable Outbound HTTP Requests in the Sandbox
Did you know that outgoing HTTP requests are automatically disabled when a Business Central sandbox is created to prevent unintended calls? To enable outgoing HTTP requests in a sandbox environment, follow these steps:1. Go to the Extension Management page.2. Select the extension making the HTTP request.3. Enable the “Allow HttpClient Requests” option in the extension’s…
-
AL Extensions, Development, Microsoft Dynamics 365, Microsoft Dynamics Business Central, Tips and TricksDecluttering Your Enums: How to Show Only What Matters
It is common practice to use existing objects when developing new modules. Microsoft Dynamics 365 Business Central offers a wide array of pre-defined enums; however, specific options within these enums may not be relevant to the new module’s requirements. Additionally, there may be instances where it is advisable to restrict users from selecting specific values…
-
Turn off data analysis mode on pages and queries.
When first introduced, the data analysis mode was available on all list pages, and it did not make sense to have that feature available for all users. From version 23.1, tenant admins and AL developers can turn off the analysis mode on list pages and query objects unsuitable for analytical usage. Below are the two…
-

Automatically update AppSource apps with minor updates.
Before the 2023 release wave 2, Admin users could manually update specific apps through the App Management page in the Business Central admin centre or await a major update for the environment, which will automatically update AppSource applications. What if you don’t want to do it manually or wait for a Major update? Let’s say…
-

The VAT Date is not within the range of allowed VAT dates.
Did it suddenly start to throw the “VAT Date is not within your range of allowed posting dates” error? Nothing to worry about; it is due to a new VAT-related functionality added by Microsoft.
-

Docker: You cannot sign in due to a technical issue. Contact your system administrator.
Docker: You cannot sign in due to a technical issue. Contact your system administrator. Incorrect URL: http:///BC/SignIn Correct URL: http:///BC/SignIn?tenant=default
-
AL Extensions, Azure Integration Services, Azure Security, Development, Integration, Microsoft Dynamics 365, Microsoft Dynamics Business Central, Tips and TricksOAuth – Part 05 – Service-to-Service Integration and Task Scheduler
In Basic authentication, we used an actual user to connect to BC, but with the new S2S authentication we are not using an actual user and Scheduled tasks must be created and executed in the context of a licensed user. Therefore API requests cannot schedule a background task. It is simple as that.
-
API, Azure Integration Services, Development, Microsoft Dynamics 365, Microsoft Dynamics Business Central, Tips and Tricks, Web ServiceOAuth – Part 02 – Configure Service to Service Authentication
In this blog post, I’m going to take you through the steps required to complete the OAuth client credentials flow for Business Central. Check this link if you want to refer to the official post from Microsoft.
-
AL Extensions, Development, Microsoft Dynamics 365, Microsoft Dynamics Business Central, Tips and Tricks, VSCodeHow to get Business Central Environment Related Attributes?
If you want to get the details about the environment you don’t have to reinvent the wheel, you can simply use the standard codeunit Microsoft has introduced. If you look into the codeunit 457 “Environment Information”, you will see there are many procedures that fetch attributes concerning the environment of the service on which the…
-
Dataverse, Integration, Microsoft Dynamics 365, Microsoft Dynamics Business Central, Tips and Tricks, UncategorizedLesson learned during Dataverse integration: Namemapping = ‘Logical’ was not found in the MetadataCache.
Yesterday I was working on integrating a custom entity using the box connector for Dataverse in Microsoft Dynamics 365 Business Central. After completing all the changes and deploying the app to a sandbox environment, I tried to open the custom entity table through its list page. Unexpectedly I ran into below dialogue box. The entity…
-
AL Extensions, Development, Microsoft Dynamics 365, Microsoft Dynamics Business Central, Tips and Tricks, VSCode
Quick fix for warning AL0604: Use of implicit ‘with’ will be removed in the future.
If you have not read my previous blog posts about the Implicit WITH, I suggest you read them to get a better understanding of the Implicit WITH. Also, you can read the Microsoft Docs to get more information as well. NoImplicitWith – The name #FieldName does not exist in the current context NoImplicitWith: The type…
-
AL Extensions, Development, Microsoft Dynamics 365, Microsoft Dynamics Business Central, Tips and TricksNoImplicitWith: The type or method ‘Copy’ cannot be used for ‘Extension’ development.
If you have not read my previous blog, I suggest you read it to get a better understanding of NoImplicitWith. Microsoft recently announced about obsoleting the WITH statement and if your app.json file contains NoImplicitWith as a feature then you will probably be getting below error. The type or method ‘Copy’ cannot be used for…
-
AL Extensions, Development, Microsoft Dynamics 365, Microsoft Dynamics Business Central, Tips and TricksNoImplicitWith – The name #FieldName does not exist in the current context
If you have used WITH statement in your AL code to make the code readable, then this blog will be helpful for you. There are people who completely support the use of WITH statement and I also was on that category a few years ago. Fortunately, I moved on from the use of WITH statements.…
-

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…
-
AL Extensions, Development, Microsoft Dynamics 365, Microsoft Dynamics Business Central, Tips and TricksAL: 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…
-
AL Extensions, Development, Microsoft Dynamics 365, Microsoft Dynamics Business Central, Tips and Tricks, VSCodePlatform 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…
-
AL Extensions, Development, Microsoft Dynamics 365, Microsoft Dynamics Business Central, Tips and TricksHow 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,…
-

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…
-
AL Extensions, API, Development, Microsoft Dynamics 365, Microsoft Dynamics Business Central, Tips and TricksHow 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…
-
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…
-
AL Extensions, Development, Microsoft Dynamics 365, Microsoft Dynamics Business Central, PowerShell, Tips and Tricks
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…
-
AL Extensions, Development, Microsoft Dynamics 365, Microsoft Dynamics Business Central, Microsoft Dynamics NAV, PowerShell, Tips and Tricks
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 :…
-
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. …
-
Check Dynamics NAV license from RTC
In order to check the current uploaded Microsoft Dynamics NAV License from RTC environment please follow below steps. 01. Open RTC Environment. 02. Click on the white arrow in the top left corner of the client. (Refer below image) 03. Go to Help – > click on “About Microsoft Dynamics NAV” 04. “About Microsoft Dynamics NAV”…
-
Quick Fix : Visual Studio displaying NAV Report Layout as XML
I got this issue with Visual Studio 2015 Enterprise Edition. Every time I open a Dynamics NAV report layout in Visual Studio, RDLC is rendered as XML file instead of visual layout with all the fields and tool boxes. How the report layout looks: FIX : In order to fix the issue you need to…
-
Date Shortcuts in Microsoft Dynamics NAV
I have seen many users are using T when they want to get the Today in the Dynamics NAV, however they do not know thre are few more shortcut keys they can use to ease their life when working with Microsoft Dynamics NAV. Following are some of other options available in Microsoft Dynamics NAV related to…
-
Report color code to identify blank rows
Hi, If you have been developing RDLC reports for Dynamics NAV, most probably you might have come across the situations where some blank lines are printing in the body of the report and just a glance you cannot identify from where these lines are coming from. Very recently one of my colleague asked me to…