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

Dear, 

I hereby request your assistance for a wage rule in payroll formulas, 

1 I want to add all the deductions of a ampleado so far this year to divide by the number of months paid to obtain an average. 

Ej. Result = [sum deductions] / [month year 2014] 

2 I want to get in a Python makes the number of the month in which we are? 

Ej. Result = [year month now 2014] 

very grateful 

best regards.

الصورة الرمزية
إهمال
الكاتب

You need write following salary rule: result = payslip.sum('GROSS','2012-01-01',' 2012-12-31') OR result = payslip.sum('GROSS','2012-01-01')

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
ديسمبر 17
3150
1
أكتوبر 17
2895
0
أبريل 24
1480
2
ديسمبر 22
7912
3
سبتمبر 19
6621