CodeCop Warning AA0237

The name of non-temporary variables must not be prefixed with Temp.

Description

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. Therefore you should avoid using temp for other purposes.

Bad code example

TempJobWIPBuffer : Record "Job WIP Buffer";

Good code example

CopyOfJobWIPBuffer : Record "Job WIP Buffer";

See Also

CodeCop Analyzer
Get Started with AL
Developing Extensions