跳至内容
菜单
此问题已终结

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
12月 17
3142
1
10月 17
2879
0
4月 24
1473
2
12月 22
7896
3
9月 19
6605