Access property explicitly set (PC0006)

Objects that can be accessed from other apps should explicitly set the Access property to declare their visibility. This makes the API surface of your extension clear and intentional.

Example

The following codeunit does not explicitly set Access:

codeunit 50100 MyCodeunit // Access property explicitly set [PC0006]
{
}

To fix this, explicitly set the Access property:

codeunit 50100 MyCodeunit
{
    Access = Public;
}