mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-05 14:46:55 +01:00
Contributed by CURABIS ApS, generalized from patterns observed across real AppSource/PTE development. Each article follows the knowledge file format (frontmatter, Description/Best Practice/Anti Pattern, sibling .good.al/.bad.al samples).
12 lines
315 B
AL
12 lines
315 B
AL
codeunit 50100 "Sales Task Notify"
|
|
{
|
|
procedure NotifyUpdate(Count: Integer; CustomerNo: Code[20])
|
|
begin
|
|
MESSAGE('%1 records updated.', Count);
|
|
|
|
IF NOT CONFIRM('Delete %1?', FALSE, CustomerNo) THEN
|
|
EXIT;
|
|
|
|
ERROR(STRSUBSTNO('%1 must not be blank.', CustomerNo));
|
|
end;
|
|
}
|