Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
6285 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Auteur

It works. Thanks!

Thanks! This works.

ya it works thank u.

Gerelateerde posts Antwoorden Weergaven Activiteit
1
okt. 24
2113
5
jan. 24
17055
1
mrt. 15
6033
8
feb. 24
12961
1
mrt. 15
4921