Module cch - Standard Checks in Widgets
The module cch (consistency check) provides the functions for standard checks in widgets. These are operations, like :
- prevent operations at the widget (copy, insert, etc.)
- check input
- check access privileges
- control the creation of new records in relation widgets
All functions of the module cch must be called at mask or field triggers.
Important functions
- dal_cch_get_rec
- userexit at the post-field trigger to control creation of new records in relation widgets. This trigger is especially useful for relation widgets, to allow creation of new relation entries directly in mask edit state. In almost all relation widgets of DataView this trigger is used.
- dal_cch_chk_rng
- userexit at the post-field trigger to check whether a field entry is within a passed range of values
- dal_cch_get_cns
- userexit at the post-field trigger of constraint masks. This function searches the entry for the current field contents in linked tables and transmits it into the field if DataView finds a linked record.