ToolTip must end with a punctuation
Properties
AC0014
Info
Design
Code Fix
Ignore Obsolete
ToolTips in Business Central follow a consistent sentence structure — all examples in the user assistance guidelines end with a dot. A ToolTip without trailing punctuation breaks that consistency, making the extension’s UI feel unpolished against the standard application.
By default this rule enforces a trailing dot. The allowed punctuation characters can be configured via ToolTipAllowedPunctuations in alcops.json.
Example
table 50100 "Item Category"
{
fields
{
field(1; "Code"; Code[20])
{
ToolTip = 'Specifies the code of the item category'; // ToolTip must end with one of the following punctuations: 'dot' [AC0014]
}
}
}Add the required punctuation at the end of the ToolTip:
table 50100 "Item Category"
{
fields
{
field(1; "Code"; Code[20])
{
ToolTip = 'Specifies the code of the item category.';
}
}
}Configuration
The set of accepted ending punctuation characters can be changed in alcops.json. Each entry requires a Character (the literal punctuation) and a Name (used in the diagnostic message).
When ToolTipAllowedPunctuations is omitted, the rule falls back to requiring a dot (.).
{
"ToolTipAllowedPunctuations": [
{ "Character": ".", "Name": "dot" },
{ "Character": "!", "Name": "exclamation mark" }
]
}