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

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')

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ธ.ค. 17
3149
1
ต.ค. 17
2893
0
เม.ย. 24
1479
2
ธ.ค. 22
7906
3
ก.ย. 19
6615