In the Custom Validation Rules menu, you can create your own validation rules for reporting requirements. Custom Validation Rules are user-defined validation rules. Image Added
With a click on Create CVR a new Costum Validation Rule will be created. The whole process is very similar to creating a new key figure. First the desired reporting requirement must be selected and then the further data such as the name or the description can be specified. An already existing CVR can be copied if the same CVR is to be used for different reporting requirements, for example. To do this, the desired CVR must be selected in the upper drop-down menu and then click on "Copy". This will automatically fill in all set fields, such as name and reporting requirement. However, the name must still be changed, as there must not be any CVR with the same name. The Formula Wizard is used for convenient entry of the code formulas. Click the "Add cell" button to add a single cell. A new window will pop up where you can select Taxonomy, Table, Column, Row and Z-Axis. With the Validation checkmark, additional operators can be shown. Image Added For more information on the available formulas, see Formula Wizard in the Functions section. By clicking on Add cell you can select the cell for which you want to create a CVR. After clicking the Add button, the cell will be added to the formula. For example, the "Sum" and "Maximum" buttons calculate the sum and maximum, respectively, for the selected cell range. Using the "Amount" button you can add the absolute value for the selected cell. The operators buttons are used to enter corresponding operators. Click the "OK" button to transfer the formula to the main formula field. Image Added
Basic rules when creating custom validation rules: - Cell or range specifications are always encapsulated in curly braces.
Partial definitions of a cell or range are separated by commas (e.g. {r010, c010}).
If, for example, you want to ensure that a value exists in a particular cell, you can do this with your own custom validation rule. To do this, select the desired cell and add it to the formula: Image Added As described in the chapter Formula Wizard, the function exists() is recommended for this example. This function receives a single cell and checks whether it contains a value or not. Image Added The validation mode can be selected for each CVR. With Validation, a message is classified as not valid if the CVR is violated (e.g. if the cell is empty). In Blocking mode the message is rejected. After the new CVR is saved, it will be validated the next time a message is validated for selected message request. If a CVR is not fulfilled, the messages about it will be displayed under XBRL validity in the message view: Image Modified |