mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-08-06 17:36:53 +01:00
Add P0 extensibility compatibility knowledge
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 645349fd-1892-48f3-8a84-db77d6abd1c3
This commit is contained in:
parent
9214f73819
commit
23af51e02d
18 changed files with 307 additions and 15 deletions
|
|
@ -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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue