mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-05 14:46:55 +01:00
Prevent redundant page-level properties by documenting inherited captions and BC24/runtime 13.0 table-field tooltips. Correct companion examples and version-scoped tooltip guidance. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
62 lines
1.4 KiB
AL
62 lines
1.4 KiB
AL
// BC24 / runtime 13.0 or later.
|
|
table 50250 "Sample Tooltip Source"
|
|
{
|
|
Caption = 'Tooltip Source';
|
|
DataClassification = CustomerContent;
|
|
|
|
fields
|
|
{
|
|
field(1; "No."; Code[20])
|
|
{
|
|
Caption = 'No.';
|
|
ToolTip = 'Specifies the number that identifies the entry.';
|
|
}
|
|
field(2; Amount; Decimal)
|
|
{
|
|
Caption = 'Amount';
|
|
ToolTip = 'Specifies the entry amount.';
|
|
}
|
|
}
|
|
|
|
keys
|
|
{
|
|
key(PK; "No.")
|
|
{
|
|
Clustered = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
page 50250 "Sample Tooltip Good"
|
|
{
|
|
PageType = Card;
|
|
SourceTable = "Sample Tooltip Source";
|
|
layout
|
|
{
|
|
area(Content)
|
|
{
|
|
group(General)
|
|
{
|
|
Caption = 'General';
|
|
field("No."; Rec."No.")
|
|
{
|
|
ApplicationArea = All;
|
|
}
|
|
field(Amount; Rec.Amount)
|
|
{
|
|
ApplicationArea = All;
|
|
ToolTip = 'Specifies the entry amount to use in the preview.';
|
|
}
|
|
field(PreviewAmount; PreviewAmount)
|
|
{
|
|
ApplicationArea = All;
|
|
Caption = 'Preview Amount';
|
|
ToolTip = 'Specifies the amount to preview before saving.';
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
var
|
|
PreviewAmount: Decimal;
|
|
}
|