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
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
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 12/12/13, 7:02 PM|
|Seen: 763 times|
|Last updated: 3/16/15, 8:10 AM|