Microsoft Dynamics 365 Business Central 2022 release wave 1 (BC20) SaaS preview environment is available.

Creating a Microsoft Dynamics 365 Business Central 2022 Wave 1 preview environment is now possible. You need to go to the Admin Center of the Business Central tenant and create a Sandbox and select the version. Make sure to select 20.x.xxxxx.x (Preview) and click Create. To remember, Microsoft will sometimes remove these preview environments without …

Continue reading

OAuth – Part 03 – Logic App, OAuth and Business Central

This is the 3rd blog post of the OAuth series, and I have already completed the numbers 2 and 4. Once I complete this blog post today (Hopefully), I only have one to write. I will try to complete that one also within next week when I find some time during the night. I have …

Continue reading

OAuth – Part 04 – Understanding Service Principal

In my previous blog post, we have gone ahead and registered an application in Azure Active Directory and then create an application account in Business Central. As the last step, we have granted permission from Business Central.

In this blog post, I’m trying to briefly explain what we did in little bit more detailed way.

OAuth – 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.

How 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 tenant is hosted. Codeunit 457 is part of the System Application.Source.

TableType Property = Temporary

Ram Cards

A temporary table is a temporary variable that holds a table. A temporary table is used as a buffer or intermediate storage for table data.

You can use a temporary table just like you use a database table. The differences between a temporary table and a database table are as follows:

A temporary table data isn’t stored in the database. It’s only held in memory until the table is closed.

The write transaction principle that applies to a database table doesn’t apply to a temporary table.

Lesson 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 …

Continue reading

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 …

Continue reading

NoImplicitWith: 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 …

Continue reading

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