콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
1180 화면

I have searched and tried many options to try and get the YTD Earnings on my payslips.

Can someone please tell me why this doesn't work...

result = payslip.sum('GROSS', 2021-07-01, 2022-06-30)

I have also tried many different date variations but I keep getting this error...

User Error: Wrong python code defined for salary rule YTD Earnings (YTD).

아바타
취소
베스트 답변

Hi,
Try this
​result = payslip.sum('GROSS', '2021-07-01', '2022-06-30')
You need to enter the dates as string

아바타
취소