Add P0 event and interface compatibility knowledge (#98)

* Add P0 extensibility compatibility knowledge

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

Copilot-Session: 645349fd-1892-48f3-8a84-db77d6abd1c3

* Correct event compatibility guidance

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

Copilot-Session: 645349fd-1892-48f3-8a84-db77d6abd1c3

---------

Co-authored-by: Jesper Schulz-Wedde <jesper.schulzwedde@microsoft.com>
This commit is contained in:
Jesper Schulz-Wedde 2026-07-14 12:51:59 +02:00 committed by GitHub
parent 078b869e33
commit 363f08f47e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 331 additions and 32 deletions

View file

@ -0,0 +1,16 @@
// Demonstration-only AL. Version 1 shipped with only CalculateAmount().
interface "I Shipping Quote Bad"
{
procedure CalculateAmount(): Decimal;
// Added in version 2: every existing implementer now fails to compile.
procedure CalculateDeliveryDate(): Date;
}
codeunit 50511 "Existing Shipping Quote" implements "I Shipping Quote Bad"
{
procedure CalculateAmount(): Decimal
begin
exit(10);
end;
}