Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
7286 มุมมอง

Hi,

to change the total can assign a variable to result in python code within the salary rules.

Example: result = (contract.wage * worked_days.HR.number_of_hours). How do I change the quantity field in the count of wages with python code in salary rules?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

result_qtyworked_days.HR.number_of_hours  #Set quantity of rule
result_rate =100.00  #Set ratio of rule

resultcontract.wage  #Set amount of rule

อวตาร
ละทิ้ง

Hi Mariana,

1st I would like to thank you for the great info,

would you plz contact me on m.hagag at dvit.me ?

Related Posts ตอบกลับ มุมมอง กิจกรรม
Server action hr.work.entry แก้ไขแล้ว
1
ต.ค. 24
1758
1
ก.พ. 22
3505
0
พ.ย. 15
3797
0
มี.ค. 15
4546
0
มี.ค. 15
4259