Attribute Eligibility Architecture
Attribute eligibility checking uses the following architecture:
For attributes requiring an eligibility check, the user creates a custom PSP procedure and attaches it to this attribute when it is defined on the class.
When the configuration session is started, for each attribute that will be evaluated for attribute eligibility, a context row set, row set, and additional parameters are generated, and then the custom PSP procedure is called.
The context row set is based on the variable map Cfg Eligibility Variable Map - Context.
The row set is a list of all possible values for the attribute.
Note: When an attribute value is changed, the same events occur except that the only value evaluated is the new value selected.
The custom procedure evaluates each value in the row set to find values that are ineligible, and the custom procedure creates the following variables with the following values:
Eligibility Status = N
Eligibility Reason = user defined message
With the default Eligibility Display Mode of 1, the Siebel Product Configurator UI uses this status to determine which selections are displayed in red.
If Eligibility Display Mode was set to 2, then the ineligible values are not displayed.
The Siebel Product Configurator UI uses the Eligibility Reason in the message displayed when the end user selects an invalid attribute value.