跳至内容
菜单
此问题已终结
1 回复
7598 查看

Hello everybody 

I am creating a salary rule to calculate a commission for employees

I added an input line for the salary rule with the name (Sales Total) and code (SALES)

Then I used python expression to calculate the result 

result = inputs.SALES * 0.02

But I am getting this error every time I try to calculate the salary sheet


Wrong python code defined for salary rule Sales Commission (COMMISSION).


any idea please?


Thank you

形象
丢弃
最佳答案

Hi DEVU

Try to give  python expression like below

result = (inputs.SALES.amount) * 0.02

形象
丢弃
相关帖文 回复 查看 活动
2
8月 24
11509
1
5月 23
5271
0
2月 19
3510
0
3月 15
3672
0
3月 15
3621