Domains: Numeric and Numeric Domain

Created
Nov 22, 2021 06:52 AM
Tags
configuration
Status
Completed
Created Date
 
Numeric and Numeric Range Domains are static list of numeric values that can be used with the following types
  1. AMOUNT
  1. DECIMAL
  1. DURATION
  1. FLOAT
  1. INTEGER
  1. SMALLINT
⚠️
Lookups cannot be used with Numeric Range domains
Using these domains are similar to using ALN domains.
Procedure:
1. a) Numeric Domains:
In domains application, click Add New Domain and select Numeric Domain.
notion image
In this domain add the desired numeric values. e.g. If you want the user to enter only 1 or 3
notion image
ℹ️
Numeric Domains can conditionally show values. Please refer to Domains: Conditionally displaying domain values
1. a) Numeric Range Domains:
In domains application, click Add New Domain and select Numeric Range Domain.
notion image
In this dialog select the scale as interval separator.Range Segment is just an identifier.
Range Minimum is the minimum value allowed
Range Maximum is the maximum value allowed
Interval is the gap between values.
notion image
As per the values shown in above dialog. It will only accept values in the following sequence
Add it to the attribute
2. Configure DB:
Open the object and add this domain to the required attribute. e.g.
notion image
3. Application Designer
Open your desired application,
a) Numeric Domains: Against the text box you wish to allow lookup enter your “valuelist”. This will allow the user to select from a list of values.
notion image
b) Numeric Range Domains: Lookups are not supported for these domains. However, the domain will give error if a user entered a value which is not in range.
e.g 27 will be acceptable but 31 will throw error
notion image