تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
7133 أدوات العرض

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 ?

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أكتوبر 24
1565
1
فبراير 22
3373
0
نوفمبر 15
3673
0
مارس 15
4412
0
مارس 15
4106