NoImplicitWith – 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. …

Continue reading

AppSource is embedded in Business Central

With the Business Central version 16.5, AppSource is now embedded within the Business Central. No more required to navigate to a different browser window to select the extensions to install. The view is already been filtered to Business Central apps and experience is seamless. Please provide your feedback with a comment. Thank you and Regards,Tharanga Chandrasekara

HTTP GET Request in Azure Logic Apps

It is by default when Logic Apps exposes an HTTP Trigger Request, it uses an HTTP POST method. Recently one of my colleague asked is it possible to change the trigger Method to GET. Yes, this is very much possible. When the Logic Apps was initially released it was only able to support the POST …

Continue reading

How to use a custom SystemId when inserting a record through an API

Have you tried to insert a record to Microsoft Dynamics 365 Business Central through a Custom API and pass a custom SystemId with the record?  Basically what I trying to achieve is when an Account is created in the D365 Sales system, I want to pass that record to D365 Business Central. I can easily …

Continue reading

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

Object types is case sensitive in TenantWebServiceCollection

Last week while I was working on an integration project, I wanted to call a Business Central function from Azure Logic Apps. I had few options with APIs but I went ahead with creating a CodeUnit with a function and expose it as a web service. ¬† Rather than exposing the CodeUnit by manually inserting …

Continue reading

Obsoleting Microsoft Dynamics 365 Business Central Events

If you are working on the extension development, then I’m sure that you already have published and subscribed to many events. There are some rules that you should strictly follow around events if your extension is eventually be used by another partner to build their solution on top of yours.  Business Central has two types of events …

Continue reading

Microsoft Dynamics 365 Business Central Wave 1 2020: Release note explained.

A few weeks ago Microsoft published the 2020 release wave 1 plan for Dynamics 365 and Microsoft Power Platform document. This document contains details about many new interesting functionalities and features. Below are some of the features that got my attention. Look up events and insert event subscribers in code One challenge most developers face …

Continue reading

Notes from Directions EMEA 2019

Below are some notes I took during Directions EMEA 2019. A bit late to publish but didn’t want to just delete them.  Treat extensions as products. Which means releasing them to customers periodically. Allow proper testing with proper test cases (Preferably automated testing). Try to run all the customers on the same version. Proper code …

Continue reading

AL: Dependencies to System and Base Application

Another draft post that I forgot to publish.  From version 15 onwards, Microsoft decided to split the entire application into 2 apps.  System Application Base Application From going forward if you are developing an app on top of the Business Central, it must have a dependency on System Application and Base Application.  This does not …

Continue reading