İçereği Atla
Menü
Bu soru işaretlendi
4793 Görünümler

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.

Avatar
Vazgeç
Üretici

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Ara 17
3146
1
Eki 17
2890
0
Nis 24
1478
2
Ara 22
7903
3
Eyl 19
6613