Translations:Вступ до роботи з системою HMS/26/en
Example. Suppose that two conditions, “A” and “B”, need to be applied in a calculation.
The directory contains the following records:
If the records are assigned priorities 0, 1, 2, the System will first check condition “A”, and since this condition is met, it will be applied.
If the records are assigned identical priorities, for example 1, 1, 1, the result will depend on the physical order of the records in the database, making it unpredictable.
The correct way is to assign priorities in the order 2, 1, 0. In this case, the System will first check the condition with priority “0”, which will yield a negative result: {A, B, C} ≠ {A, B}. Checking the next condition with priority “1” will give the desired result: {A, B} = {A, B}, and the corresponding calculation algorithm will be applied.