Display Enum Constants (ttaad4537s000)
Use this session to choose an Enum Constant that can be used in a condition.
Field Information
- Constant
-
Specifies the constant that represents the internal enumerated field value. It determines the sequence in which the enum descriptions will be displayed at runtime. If an index includes/consists of an enumerate field, the constant also determines the sequence of records according to the index.
You can also use greater than (>) and less than (<) expressions in scripts:
Example Domain: tryesno possible values: yes with constant number 1 no with constant number 2 The expression "tryesno.no > tryesno.yes" is true.
- Constant name
-
Specifies the constant name.
The constant name combined with the package code and domain code is used to refer to an enumerated constant in scripts or expressions on forms and reports.
Example package code : ti domain code : yesno constant name: yes
To define for example the constant name "yes" in a form field with the domain code "Contrabtiyesno", use the expression "tiyesno.yes".
- Description
-
Specifies the description of the Enum Constant.