CodeCop Warning AA0008

Function calls should have parenthesis even if they do not have any parameters.

Description

Use parenthesis in a function call even if the function does not have any parameters.

Remarks

Note

This rule doesn't give a warning on system methods referenced using property syntax. For example, when accessing the system method RecordId from a Record variable using RecId := MyRecord.RecordId instead of RecId := MyRecord.RecordId().

CodeCop Analyzer
Get Started with AL
Developing Extensions