Data validation example use

Data validation can be used, for example, in the following way:

The Controller level validations are used for accumulating and returning as many error messages as possible at the pre-transaction stage in order to reduce the number of validations during their session, and improve the performance for users.

The Business component validations are performed during the transaction. For example, when categories are being added to a category hierarchy, the system does additional business component validations to ensure the categories belong to the same category hierarchy. Attributes such as the business key can also be used for survivorship validation to determine which data should be used when merging or collapsing parties.