Declares local variables and text constants in Microsoft Dynamics NAV. Local variables can only exist in the scope of triggers or functions. For more information about variables, see C/AL Variables.
To open this window, on the Tools menu, choose Object Designer, choose Codeunit, and then on the View menu, choose C/AL Locals.
You can also open the C/AL Globals window, choose the Functions tab, and then choose the Locals button. For more information about how to open the C/AL Globals windows, see C/AL Globals.
The parameter is either passed by value or by reference.
The name of the parameter.
The data type of the parameter.
Additional information about the parameter. For example, a Page data type may have a table as the subtype.
The length of the parameter. For example, if the parameter is a Text DataType, then the text might have a length of 50.
Return Value Tab
The name of the return value.
The data type of the return value.
The length of the return value. For example, if the return value is a Text DataType, the text might have a length of 50.
You can declare local user-defined variables.
The name of the variable.
The data type of the variable. For more information, see C/AL Data Types.
The type of data that is stored in a variable. SubType contains additional information about a data type. For example, a Report data type might have the Customer table as a subtype.
The length of the characters in the field. For example, a Text data type might have a length of 100. This applies to Code and Text data types.
Text Constants Tab
A text constant is a character string that is declared to enable translation of messages into other languages.
The name of the text constant.
The value of the character string that is declared as a constant. You can open the Multilanguage Editor window by choosing the AssistEdit button in the ConstValue field.