Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4782 Visualizações

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
Cancelar
Autor

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

Publicações relacionadas Respostas Visualizações Atividade
0
dez. 17
3143
1
out. 17
2881
0
abr. 24
1477
2
dez. 22
7896
3
set. 19
6606