bcquality/microsoft/knowledge/breaking-changes/deprecate-public-members-with-the-obsolete-lifecycle.bad.al
Jesper Schulz-Wedde 4ca6452ccf Add breaking-changes knowledge domain and review leaf skill
Seed a new breaking-changes (AL API stability) knowledge domain with six
articles plus good/bad AL samples, a new al-breaking-changes-review leaf
skill, and minimal wiring into al-code-review and the README.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-25 12:29:44 +02:00

10 lines
402 B
AL

codeunit 50306 "Net Amount Api Bad"
{
// Breaking: the published CalcNet procedure was renamed outright with no
// deprecation window and no [Obsolete] marker. Every extension that called
// CalcNet breaks the instant it consumes this version.
procedure CalculateNetAmount(GrossAmount: Decimal; TaxRate: Decimal): Decimal
begin
exit(GrossAmount / (1 + TaxRate));
end;
}