AifClassGeneratorBase.addClassVariable Method [AX 2012]
Adds a new class level variable.
Syntax
protected void addClassVariable(Name variableType, Name variableName)
Run On
Called
Parameters
- variableType
Type: Name Extended Data Type
The type of variable to be added.
- variableName
Type: Name Extended Data Type
The name of the variable to be added.
Remarks
The addClassVariable method is a utility method to add any variable to the class.
It is recommended that a user calls this method in a derived class in the addVariables method or the addCustomCode method.