Open GreatScott000 opened 3 years ago
Also if there is an attribute on a procedure following the global variable declaration the error occurs:
var
Customer: Record Customer;
Customer2: Record Customer;
i: Integer;
DimensionManagment: Codeunit DimensionManagement;
[Scope('OnPrem')]
procedure SomeProcedure() begin
end;
If you have a comment in the var section (local or global) the Sort Variable command fails.
Either of these scenarios causes the above error.
or