Access modifiers

Important

Some of the functionality described in these release notes has not been released. Delivery timelines may change and projected functionality may not be released (see Microsoft policy). Learn more: What's new and planned

Enabled for Public preview General availability
Admins, makers, or analysts, automatically October 2019

Business value

By using access modifiers, you have control over where it can be called from, be it your own code or third-party code building on top of your code.

Feature details

You can control access and encapsulation of your code by adding local/private, protected, internal, or public access modifiers to AL language elements. This is similar to the way C# uses access modifiers.