Inverting Dependencies with Interfaces in Business Central Application Language

Although interfaces were introduced in Business Central 2020 release wave 1, it can still be a fairly new concept for Business Central (BC) developers who have not programmed in other language such as C#, TypeScript, or Java. Interfaces are not new in the software engineering world, and it’s never too late to catch up with the rest of the industry on the good practices of writing and maintaining source code, and in particular, programming against an interface, not an implementation.

Source : Alex Shirokikh’s Blog
Read more…

How to get field values from other extensions/apps in Business Central without adding dependencies property

Today I would like to talk about how to get field values from other extensions/apps in Business Central without adding dependencies property.

As you might know, when we develop for Business Central, we need to download the symbol file first. These contain the source code of the standard functions.

Source : Dynamics 365 Lab
Read more…

Automated deploy of apps to Business Central with dependencies

One of the things that can be really annoying in Dynamics NAV or Business Central is the dependent apps.

What are dependent apps?

Some partners have made a base app that will contain all the basic functionality, that they use with all customers. Then they create apps that can be added to the solution but basing the solution on some data or functionality from the base app.

Source : PEIK’S CORNER
Read more…

Dynamics 365 Business Central: creating a DGML dependency graph for your extensions

Have you ever had the need or the requirement to create a graphical diagram of the building blocks of your extension? Personally, a lot of time.

I think that explaining an overall solution architecture with a diagram is something that sometimes can help a lot. I personally use diagrams or UML notations a lot during the architectural phase of a software solution or a cloud solution (that involves different entities).

Source : Stefano Demiliani
Read more…

Visualize app.json dependencies in VSCode (using GraphViz)

If you’ve been following the latest and greatest from Microsoft Dynamics 365 Business Central, you must be aware about “what’s cooking in Microsoft’s Lab“. In short, Microsoft is working on a possibility to generate a DGML file for your extension that you’re compiling. A DGML file is basically a file that contains all code cross references.

Source : Waldo’s Blog
Read more…

How to avoid a dependency

With the release of Business Central, Microsoft introduced the concept of Extensions. An Extension is a secluded function to the standard functions of Business Central. It’s a great concept – but it comes with an annoying flaw. Read in this article how you can avoid to add a dependency to your Extension.

Source : Hannes Holst
Read more…