Skip to Content
Menu
This question has been flagged
1 Reply
7114 Views

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?

Avatar
Discard
Best Answer

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

Avatar
Discard

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 Replies Views Activity
1
Oct 24
1547
1
Feb 22
3350
0
Nov 15
3665
0
Mar 15
4389
0
Mar 15
4094