콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
6191 화면

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
아바타
취소
작성자

It works. Thanks!

Thanks! This works.

ya it works thank u.

관련 게시물 답글 화면 활동
1
10월 24
2006
5
1월 24
16921
1
3월 15
5957
8
2월 24
12819
1
3월 15
4818