bcquality/microsoft/knowledge/events/treat-local-and-internal-events-as-subscriber-contracts.good.al
Jesper Schulz-Wedde 23af51e02d Add P0 extensibility compatibility knowledge
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 645349fd-1892-48f3-8a84-db77d6abd1c3
2026-07-14 11:43:55 +02:00

19 lines
601 B
AL

// Demonstration-only AL. Version 2 keeps the shipped local event unchanged.
codeunit 50520 "Customer Scoring Events"
{
procedure ScoreCustomer(CustomerNo: Code[20]; Score: Integer; Reason: Text)
begin
OnCustomerScored(CustomerNo, Score);
OnCustomerScoredV2(CustomerNo, Score, Reason);
end;
[IntegrationEvent(false, false)]
local procedure OnCustomerScored(CustomerNo: Code[20]; Score: Integer)
begin
end;
[IntegrationEvent(false, false)]
local procedure OnCustomerScoredV2(CustomerNo: Code[20]; Score: Integer; Reason: Text)
begin
end;
}