CodeCop Warning 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 suffixed with Tok for Token
MethodGetTok : TextConst ENU = 'GET';

See Also

CodeCop Analyzer
Get Started with AL
Developing Extensions