Skip to Content
Menú
This question has been flagged
1 Respondre
6319 Vistes

I know I can read the sum of all the rules in one category, like this

result = categories.CAT1+ categories.CAT2

But how do you read something like this?

result = rules.RUL1 + rules.RUL2
Avatar
Descartar
Best Answer

This behaviour is a little counter-intuitive. While you can get the cumulative value of rule categories from the categories dictionary, the rules dictionary contains only the hr.salary.rule objects themselves. To get the computed value of a rule you have to reference it directly by code:

result = RUL1 + RUL2
Avatar
Descartar
Autor

It works. Thanks!

Thanks! This works.

ya it works thank u.

Related Posts Respostes Vistes Activitat
1
d’oct. 24
2152
5
de gen. 24
17098
1
de març 15
6053
8
de febr. 24
13009
1
de març 15
4956