ValidValuesInit Versus ValidValues

  • ValidValuesInit — This command qualifier is used when the user wants to fetch the default initial values for a new record being added.

    ValidValuesInit executes the new record initialization rulebase followed by the validations rulebase.

  • ValidValues — The user after obtaining the values from ValidValuesInit might change some attributes and might want to obtain the valid values for this changed set of attribute values. In this case the ValidValues command qualifier needs to be used.

    ValidValues executes the validations rulebase only.