Enumerates
LN defines fields of data type Enumerate through these fields:
- Constant: Number that determines the sequence in which the enum descriptions are displayed. Used for sorting in Birst.
- Constant Name: Used to refer to an enumerated constant in scripts or expressions on forms and reports in LN. Used for filtering in Birst.
- Description: Used for display purposes.
For example, Order Status (tisfc001.osta) is an enumerate with these possible values:
Constant | Constant Name | Description |
---|---|---|
20 | planned | Created |
30 | modify | Modify |
40 | scheduled | Scheduled |
50 | printed | Printed |
60 | in.prod | Released |
70 | active | Active |
80 | to.be.completed | Production Completed |
90 | completed | Completed |
100 | closed | Closed |
110 | archived | Archived |
Dimensions also contain three fields for each enumerate field, for example:
- Order Status Sort - mapped to Constant
- Order Status Filter - mapped to Constant Name
- Order Status - mapped to Description