Formulas

Formulas are a special type of field input. As the name suggests, they are used in calculations, based on different parameters. Formulas are used in pricing, discounts, payroll calculation, finance reports, etc.
Wherever the result is variable – calculable from data based on some mathematical formula. The basic formula syntax is the same as the mathematical formula.
Presented in more detail below are:
Table of contents
- Operator
- Operator
|
1. Operator
The operator can be a constant or a value from the program. If the operator is a constant, we simply enter it.
We use the program fields by placing them between 'apostrophes''. .
Correct
|
Incorrect
|
3
|
3h
|
0,75
|
75%
|
#RPRICE#
|
RPRICE, #RPRICE
|
The fields that can be used in formulas are defined using the formula. For example, with price formulas we can only use price fields, with salary formulas we can only use salary fields, etc. Which fields we can use is specified in the instructions.
2. Operators
Operators are allowed mathematical symbols:
Other allowed characters:
 |
WARNING
The formulas are calculated from left to right. The logical expression in a formula can be as deep as you like.
|