Correct performance knowledge guidance (#94)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 667c64a8-eb36-4440-bc41-6a97d8fb5542

Co-authored-by: Jesper Schulz-Wedde <jesper.schulzwedde@microsoft.com>
This commit is contained in:
Jesper Schulz-Wedde 2026-07-14 11:26:29 +02:00 committed by GitHub
parent 5706959e4a
commit 0e06485027
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 279 additions and 261 deletions

View file

@ -10,8 +10,19 @@ report 50220 "Perf Sample AddLoadFields Good"
trigger OnPreDataItem()
begin
AddLoadFields("Customer No.", "Posting Date", Amount);
// Dataset columns are selected by the report compiler. Source Code is
// extra because only trigger code reads it.
CustLedgerEntry.AddLoadFields("Source Code");
end;
trigger OnAfterGetRecord()
begin
RegisterSourceCode("Source Code");
end;
}
}
local procedure RegisterSourceCode(SourceCode: Code[10])
begin
end;
}