CodeCop Rule AA0074

TextConst and Label variable names should have an approved suffix.

Description

TextConst and Label variable names should have a suffix (an approved three-letter suffix: Msg, Tok, Err, Qst, Lbl, Txt) describing usage.

Remarks

Three-letter suffix Meaning
Msg Message
Tok Token
Err Error
Qst StrMenu or Confirm
Lbl Label, Caption
Txt Text

Example

// TextConst prefixed with Tok for Token
MethodGetTok : TextConst ENU = 'GET';

See Also

CodeCop Analyzer
Getting Started with AL
Developing Extensions