Enumerated Domain

Official Content
This documentation is valid for:

It's a Domain which has a finite number of values.

Each value has a Code, a Name and a Value.

Example

"Type" Domain
Code: Credit, Name: Credit, Value: 0
Code: Debit, Name: Debit, Value: 1

If an Attribute or Variable is based on an Enumerated Domain, it will be presented in the Form as a combo box.

It's a good practice to use an enumerator instead of using the value, as shown:

&Var = 1          //BAD
&Var = Type.Debit //GOOD




 


Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.