Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ref:glossary:validation_rules [2026/08/13 00:43] – removed - external edit (Unknown date) 127.0.0.1ref:glossary:validation_rules [2026/08/13 00:43] (current) – ↷ Links adapted because of a move operation localdev
Line 1: Line 1:
 +{{tag>Index Glossary Validation_Rule Business_Rule Rule Business_Object Attribute}}
 +===== Validation rule =====
 +
 +**//[[ref:glossary:aware_im]]//** considers [[ref:glossary:rule|rules]] with a certain pattern to be validation rules. Here is an example of a validation rule:
 +
 +<code aim>IF Customer.Name IS UNDEFINED THEN REPORT ERROR 'Customer name is empty' </code>
 +
 +//**Aware IM**// applies such rules when a user edits a [[ref:glossary:business_object|business object]] on the [[ref:glossary:object_form|object form]] and does not accept changes if the entered data is invalid. Also, //**Aware IM**// [[ref:glossary:auto_generated_rule|automatically generates]] validation rules to handle conditions the [[ref:glossary:configurator|configurator]] may specify for object attributes such as [[ref:glossary:required_attribute|required attributes]] or [[ref:glossary:attribute_value_range|range of values]].
 +
 +