mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-08-06 09:26:52 +01:00
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 645349fd-1892-48f3-8a84-db77d6abd1c3
15 lines
539 B
AL
15 lines
539 B
AL
// Demonstration-only AL. Version 1 exposed var Score as an Integer.
|
|
codeunit 50521 "Customer Scoring Events Bad"
|
|
{
|
|
procedure ScoreCustomer(CustomerNo: Code[20]; ScoreText: Text)
|
|
begin
|
|
OnCustomerScored(CustomerNo, ScoreText);
|
|
end;
|
|
|
|
// 'local' limits raising, not subscription. Renaming Score to ScoreText,
|
|
// changing its type, and removing var all break existing subscribers.
|
|
[IntegrationEvent(false, false)]
|
|
local procedure OnCustomerScored(CustomerNo: Code[20]; ScoreText: Text)
|
|
begin
|
|
end;
|
|
}
|