Captions must be defined on user-facing objects and controls (AC0011)
All user-facing application objects and controls must explicitly define a Caption to ensure a consistent, accessible, and localizable user interface. Captions provide users with meaningful labels for pages, fields, actions, and other UI elements.
Without explicit captions, the Business Central client may fall back to object names or technical identifiers, resulting in a poor user experience and making localization impossible.
Example
The following page action is missing a Caption:
page 50100 MyPage
{
actions
{
area(Processing)
{
action(MyAction) // A user-facing object or control is missing a Caption. [AC0011]
{
trigger OnAction()
begin
end;
}
}
}
}
To fix this, add a Caption property:
page 50100 MyPage
{
actions
{
area(Processing)
{
action(MyAction)
{
Caption = 'My Action';
trigger OnAction()
begin
end;
}
}
}
}