What’s new about interfaces in 2021 Wave 1

Microsoft Dynamics 365 Business Central 2021 Release Wave 1 is out (whoa, that was a mouthful) with some new perks for developers. Today, I had another live session at http://vjeko.live, and I made it both the first one in the series of What’s New for the latest release, as well as the episode four of Fun with Interfaces.

Source : Vjeko.com
Read more…

An examples of how to use D365 Business Central interfaces

Interfaces are somehow like codeunits, excepting that an interface can only contain method signatures(name, parameters), not also the implementation of these methods. Interfaces are a way to achieve polymorphism. Polymorphism means “to have many forms”, so an interface can be used to call functions from different Codeunits, bearing the same name, but each having different behaviors. Before an interface can be used, one or more Codeunits must implement that interface.

Source : Andrei Lungu
Read more…

How to write code with Enum and Interface in Business Central?

With the Microsoft Dynamics 365 Business Central 2019 wave 2 release, Microsoft made available a new data type – Enumeration (Enum).

Enum is a list that consists of a set of named constants. It can be used as table fields, local and global variables, and parameters.

Source : 1Clickfactory
Read more…

Tip #69 | Default Implementation for AL Interfaces

I just love it when I get an error and nothing I search for answers what to do next.

Like this one

Value ‘ ‘ does not implement interface ‘ForNAV Layout’ and there is no default implentation for the mentioned interface.AL(AL0596)

There is no mentioning of default implementations in the Microsoft documentation.

Source : Mark Brummel
Read more…

Business Central AL Interfaces

A new object type is available in Business Central 2020 Wave1: “interface” object

Since I have never talked about it, I speak of it now, I don’t report particular examples as there are already several published.

Below are some links to very well made examples, useful for understanding how to best use them. Enjoy the reading.

Source : Roberto Stefanetti Blog
Read more…