mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-08-06 17:36:53 +01:00
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>
21 lines
599 B
AL
21 lines
599 B
AL
codeunit 50325 "Order Processor Good"
|
|
{
|
|
// Supported, stable entry point — intentionally public.
|
|
procedure ProcessOrder(OrderNo: Code[20])
|
|
begin
|
|
ValidateOrder(OrderNo);
|
|
PostOrder(OrderNo);
|
|
end;
|
|
|
|
// In-app reuse only — internal, so it is not part of the external contract.
|
|
internal procedure ValidateOrder(OrderNo: Code[20])
|
|
begin
|
|
if OrderNo = '' then
|
|
Error('Order number is required.');
|
|
end;
|
|
|
|
// Implementation detail confined to this object — local.
|
|
local procedure PostOrder(OrderNo: Code[20])
|
|
begin
|
|
end;
|
|
}
|