Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3341 Widoki

Hello, I'm working with the module hr_payroll. I want to know if there is a possibility to create a rule which it's result is depending on the results of other rules. For exemple, i have 3 rules r1,r2,r3. i want that r3=r1+r2

Someone can help me? Thank's

Awatar
Odrzuć
Najlepsza odpowiedź

Hello, You can call the result of a previously calculated rule by simply putting the code

example
CODE1 the sequence is 1
CODE2 The sequence is 12
CODE3 the sequence is 22

In CODE3
result = CODE1 + CODE2

But you can not do the following
In CODE1
Result = CODE12 + CODE22

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
paź 15
4566
1
lut 20
3860
2
sty 25
1333
2
gru 24
2370
2
sie 24
11497