Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
1382 Visninger

Im trying to generate the monthly aged receivables report i normally generate but it fails with this error.  Do I have to create new dates?  Where do I do that?:

in compute_fiscalyear_dates
    date = date.replace(month=last_month, day=last_day)
ValueError: day is out of range for month


Avatar
Kassér
Bedste svar

Hi,

Did you checked the values received in the date, last_month and last_day variables ? 

May be any one of those values is getting wrong, like month is getting 13 or day going to be more than 31 . Just see the values coming into those variables.


Thanks

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
sep. 25
238
2
sep. 25
332
0
sep. 25
139
4
sep. 25
1277
3
sep. 25
393