CodeCop Rule AA0073

The name of temporary variable must be prefixed with Temp.


Only temporary variable names must be prefixed with Temp.

Reason for the rule

Temporary variables must be named with identifiers that abbreviate the word temporary, such as temp. This improves readability of the code.

Bad code example

JobWIPBuffer : Record "Job WIP Buffer" temporary;

Good code example

TempJobWIPBuffer : Record "Job WIP Buffer" temporary;

See Also

CodeCop Analyzer
Getting Started with AL
Developing Extensions