Correct security and privacy knowledge guidance (#92)

* Correct security and privacy guidance

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

Copilot-Session: 9c2eebc4-dcd5-4b85-8113-90772d818900

* Address security privacy review findings

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

Copilot-Session: 9c2eebc4-dcd5-4b85-8113-90772d818900

---------

Co-authored-by: Jesper Schulz-Wedde <jesper.schulzwedde@microsoft.com>
This commit is contained in:
Jesper Schulz-Wedde 2026-07-14 11:25:03 +02:00 committed by GitHub
parent bfda67a95a
commit aca3986fd0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 192 additions and 153 deletions

View file

@ -2,10 +2,16 @@ codeunit 50207 "Privacy Sample StrSubstNo Bad"
{
procedure ReportFailure(var Customer: Record Customer)
var
ErrorMsg: Text;
CustomerInvalidErr: Label 'Customer %1 has invalid data.', Comment = '%1 = Customer No.';
begin
ErrorMsg := StrSubstNo('Customer %1 (%2) at %3 has invalid data',
Customer.Name, Customer."E-Mail", Customer.Address);
Error(ErrorMsg);
Error(StrSubstNo(CustomerInvalidErr, Customer."No."));
end;
procedure ReportCombinedFailure()
var
HeaderErr: Label 'Customer validation failed. ';
DetailErr: Label 'Correct the customer card and try again.';
begin
Error(HeaderErr + DetailErr);
end;
}