mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-06 15:16:56 +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>
63 lines
1.4 KiB
AL
63 lines
1.4 KiB
AL
// BC24 / runtime 13.0 or later for table-field tooltips.
|
|
table 50252 "Sample Caption Source"
|
|
{
|
|
Caption = 'Caption Source';
|
|
DataClassification = CustomerContent;
|
|
|
|
fields
|
|
{
|
|
field(1; "No."; Code[20])
|
|
{
|
|
Caption = 'No.';
|
|
ToolTip = 'Specifies the customer number.';
|
|
}
|
|
field(2; Name; Text[100])
|
|
{
|
|
Caption = 'Name';
|
|
ToolTip = 'Specifies the customer name.';
|
|
}
|
|
}
|
|
|
|
keys
|
|
{
|
|
key(PK; "No.")
|
|
{
|
|
Clustered = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
page 50252 "Sample Caption Good"
|
|
{
|
|
PageType = Card;
|
|
SourceTable = "Sample Caption Source";
|
|
|
|
layout
|
|
{
|
|
area(Content)
|
|
{
|
|
group(General)
|
|
{
|
|
Caption = 'General';
|
|
field("No."; Rec."No.")
|
|
{
|
|
ApplicationArea = All;
|
|
}
|
|
field("Customer Name"; Rec.Name)
|
|
{
|
|
ApplicationArea = All;
|
|
Caption = 'Customer Name';
|
|
}
|
|
field(DisplayValue; DisplayValue)
|
|
{
|
|
ApplicationArea = All;
|
|
Caption = 'Display Value';
|
|
ToolTip = 'Specifies the value to display.';
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
var
|
|
DisplayValue: Text[100];
|
|
}
|