This post is part of the New Functionality In Microsoft Dynamics 365 Business Central 2024 Wave 2 series in which I am taking a look at the new functionality introduced in Microsoft Dynamics 365 Business Central 2024 Wave 2.
The 10th of the new functionality in the Development section is extend AL interfaces.
The support for extensible interfaces in programming languages offers significant business value by enabling creation of flexible and adaptable extensions that can evolve over time to meet changing business needs. They enable developers to add new functionalities without altering the core system, which can save time and resources while reducing the risk of introducing errors into the existing codebase. They are a key component in modern software engineering, providing the agility and flexibility needed to drive innovation and maintain a competitive edge in today’s fast-paced business environment.
Enabled for: Admins, makers, marketers, or analysts, automatically
Public Preview: Oct 2024
General Availability: Oct 2024
Feature Details
You can now extend one or more existing interfaces when you declare an interface. When implementing an interface that extends other interfaces, the implementor must also implement all methods from all extended interfaces.
The feature also works with the testing and casting operators is
and as
, which are also new additions to the AL language in this release.
The syntax is shown in example below. Here, TheImplementor
can be used as both IFoo
, IBar
, and IFooBar
.
Click to show/hide the New Functionality In Microsoft Dynamics 365 Business Central 2024 Wave 2 Series Index
What should we write about next?
If there is a topic which fits the typical ones of this site, which you would like to see me write about, please use the form, below, to submit your idea.