Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
7579 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi DEVU

Try to give  python expression like below

result = (inputs.SALES.amount) * 0.02

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 24
11504
1
thg 5 23
5250
0
thg 2 19
3492
0
thg 3 15
3653
0
thg 3 15
3609