bcquality/microsoft/knowledge/breaking-changes/deprecate-public-members-with-the-obsolete-lifecycle.good.al
Jesper Schulz-Wedde 6140a52b03
Add breaking-changes knowledge domain and review leaf skill (#44)
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: Jesper Schulz-Wedde <jesper.schulzwedde@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-25 12:33:30 +02:00

15 lines
557 B
AL

codeunit 50305 "Net Amount Api Good"
{
// Old name kept and marked obsolete: callers still compile but get a warning
// pointing at the replacement, with a tag recording the removal target version.
[Obsolete('Use CalculateNetAmount instead.', '25.0')]
procedure CalcNet(GrossAmount: Decimal; TaxRate: Decimal): Decimal
begin
exit(CalculateNetAmount(GrossAmount, TaxRate));
end;
procedure CalculateNetAmount(GrossAmount: Decimal; TaxRate: Decimal): Decimal
begin
exit(GrossAmount / (1 + TaxRate));
end;
}