Product Administration Guide > Product Attributes >
Defining an Attribute with a Range of Values Domain
You define a range of values domain attribute by entering an expression in the Validation field. This expression is used to validate the user's input. If the input is within the range (the expression returns a true), the input is accepted. If the input is outside the range (the expression returns a false), the input is rejected and the user receives an error message.
You cannot do attribute-based pricing with the range of values domain type. Attribute-based pricing requires the list of values domain type.
The LOV Type and Validation fields determine the attribute domain:
- LOV Type. Leave this field blank.
- Validation. Enter an expression that defines the range in Siebel query-by-example syntax. For example, to specify the real numbers between 1 and 100 inclusive, you would enter >=1 AND <= 100.
- Default Value. Enter a value from the range in this field if you want to display a default. This attribute value is assigned to every product that inherits the attribute.
To define an attribute with a range of values domain
- Navigate to Application Administration > Class Administration.
- Select the desired class.
- In the Dynamic Attributes list, create a new record.
The Dynamic Attributes form appears.
- Fill out the Dynamic Attributes form and save it.