Semicolon after method or trigger declaration (FC0001)
Method and trigger declarations should not end with a semicolon. The semicolon is only required after statements, not after procedure or trigger headers.
While the AL compiler accepts a trailing semicolon, it is not idiomatic and reduces code consistency.
Example
The following procedure declaration incorrectly ends with a semicolon:
codeunit 50100 MyCodeunit
{
procedure MyProcedure(); // Semicolon after method or trigger declaration [FC0001]
begin
end;
}
To fix this, remove the semicolon from the declaration:
codeunit 50100 MyCodeunit
{
procedure MyProcedure()
begin
end;
}