Referencing Applications Business Objects and Commands

Visual LANSA Framework

Referencing Applications, Business Objects and Commands

In the preceding examples many names are used to identify applications, business objects and commands (eg: Tax_Calculator, GeneralLedger, New, '*EXIT'). These names are not the captions of the applications, business objects or commands, because captions change frequently and are multilingual.

The names are the User Object Name/Type values associated with the applications, business objects or commands. For example, if you look at the Identification tab of the definition of the Exit command:

Here the command's Caption is 'Exit' (at least in English) and it's User Object Name / Type is '*EXIT'. To reference the Exit command in a switch operation you should use the value '*EXIT' (the user object name/type), not 'Exit' (the caption).