LC0064 - StefanMaron/BusinessCentral.LinterCop GitHub Wiki

Missing ToolTip property on table field.

Informs the user that it is better to apply the ToolTip property on the table field instead of the page field.

Version 13.0 of the AL Language supports ToolTips on table fields.

Introduced the tooltip property on table fields, which like the caption will be applied on page controls that reference the table field.

Example

table 50100 MyTable
{
    fields
    {
        field(1; "My Field"; Integer) { }
    }
}

page 50100 MyPage
{
    SourceTable = MyTable;

    field(MyPageField; Rec."My Field")
    {
        // A value for the ToolTip property is missing for the table field "My Field" of page field MyPageField. Consider adding a ToolTip for table field "My Field" and/or removing the ToolTip from page field MyPageField.
        ToolTip = 'Specifies the value of the My Field field.'; 
    }
}

Code action

With runtime 13.0, there's a new code action to help move the tooltip from page controls to table fields or clean them up from the page in case of duplicates. For more information, see AL code actions.

ToolTip Property - Business Central | Microsoft Learn