Sync knowledge articles with review agent instructions

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Jesper Schulz-Wedde 2026-05-05 14:08:32 +02:00
parent f562fba837
commit 5bcdc55df9
62 changed files with 768 additions and 58 deletions

View file

@ -0,0 +1,13 @@
codeunit 50933 "Perf Sample Dictionary Good"
{
procedure MarkSeenCustomers(var SalesLine: Record "Sales Line")
var
SeenCustomerNos: Dictionary of [Code[20], Boolean];
begin
if SalesLine.FindSet() then
repeat
if not SeenCustomerNos.ContainsKey(SalesLine."Sell-to Customer No.") then
SeenCustomerNos.Add(SalesLine."Sell-to Customer No.", true);
until SalesLine.Next() = 0;
end;
}