LC0066 - StefanMaron/BusinessCentral.LinterCop GitHub Wiki

Duplicate ToolTip between page and table field.

Informs the user that it is better to only apply the ToolTip property on the table field when the page fields ToolTip is the same.

Example

table 50100 MyTable
{
    fields
    {
        field(1; "My Field"; Integer)
        {
            ToolTip = 'Specifies the value of the My Field field.'; 
        }
    }
}

page 50100 MyPage
{
    SourceTable = MyTable;

    field(MyPageField; Rec."My Field")
    {
        // The ToolTip property of page field MyPageField and it's table field "My Field" have the same value and therefore the page field's ToolTip can be removed.
        ToolTip = 'Specifies the value of the My Field field.'; 
    }
}