Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1280 Представления

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


Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
авг. 25
155
0
авг. 25
180
0
авг. 25
127
0
авг. 25
184
3
авг. 25
189