Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4788 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 12 17
3143
1
thg 10 17
2889
0
thg 4 24
1477
2
thg 12 22
7899
3
thg 9 19
6609