mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-07 07:36:54 +01:00
Clarify page field caption and tooltip inheritance (#160)
* Clarify page field caption and tooltip inheritance 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> * Address tooltip quality and knowledge scope review feedback Require useful, behavior-grounded tooltip text rather than caption repetition, improve the samples, and explain why compiler feedback does not prevent redundant page captions. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Jesper Schulz-Wedde <jesper.schulzwedde@microsoft.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
1a5afdc0eb
commit
8584217c75
7 changed files with 147 additions and 32 deletions
|
|
@ -1,7 +1,36 @@
|
|||
// 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 unique number used to distinguish this customer record from other records.';
|
||||
}
|
||||
field(2; Name; Text[100])
|
||||
{
|
||||
Caption = 'Name';
|
||||
ToolTip = 'Specifies the name used to identify the customer alongside the unique customer number.';
|
||||
}
|
||||
}
|
||||
|
||||
keys
|
||||
{
|
||||
key(PK; "No.")
|
||||
{
|
||||
Clustered = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
page 50252 "Sample Caption Good"
|
||||
{
|
||||
PageType = Card;
|
||||
SourceTable = Customer;
|
||||
SourceTable = "Sample Caption Source";
|
||||
|
||||
layout
|
||||
{
|
||||
|
|
@ -10,19 +39,25 @@ page 50252 "Sample Caption Good"
|
|||
group(General)
|
||||
{
|
||||
Caption = 'General';
|
||||
field("Customer No."; Rec."No.")
|
||||
field("No."; Rec."No.")
|
||||
{
|
||||
ApplicationArea = All;
|
||||
Caption = 'Customer No.';
|
||||
ToolTip = 'Specifies the customer number.';
|
||||
}
|
||||
field("Customer Name"; Rec.Name)
|
||||
{
|
||||
ApplicationArea = All;
|
||||
Caption = 'Customer Name';
|
||||
ToolTip = 'Specifies the customer name.';
|
||||
}
|
||||
field(DisplayValue; DisplayValue)
|
||||
{
|
||||
ApplicationArea = All;
|
||||
Caption = 'Display Value';
|
||||
ToolTip = 'Specifies temporary text for this page; the text is not saved in the customer record.';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var
|
||||
DisplayValue: Text[100];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue