Set the order of actions with numbers, values in a field or a group of fields.
To work with mathematical calculations in program Rukovoditel there are two types of fields: "MySql Formula" and "JS Formula". By analogy with the Excel table cell, this field displays the result of the specified arithmetic operations. When you create such a field, you specify the fields whose values you want to use and the calculations that you want to perform.
Mathematical calculations occur after entering data into the database. This formula is built into the MySql query, which gives you the ability to use any mathematical MySql functions for calculations, as well as other MySql functions and operators. Also, you can apply functions from the Extension to perform calculations from other database tables. Read more in the article "How to use formulas and functions?".
Mathematical calculations occur directly in the form of adding/editing a record when entering data. The calculations take place using JavaScript, which allows you to use any mathematical functions and operators of JavaScript language.