Hi
ILine is record Datatype
ILine.SETRANGE("IDate",CALCDATE('<-6M>',"IDate"),"IDate");
You cannot base a date calculation on an undefined date
Date : 0D
Formula :- -6M
Thanks
*This post is locked for comments
Hi
ILine is record Datatype
ILine.SETRANGE("IDate",CALCDATE('<-6M>',"IDate"),"IDate");
You cannot base a date calculation on an undefined date
Date : 0D
Formula :- -6M
Thanks
*This post is locked for comments
This problem occours because IDate has a value of 0D (null date) and you cannot subtract 6 months to a null date.
Check your code.
André Arnaud de Cal...
292,489
Super User 2025 Season 1
Martin Dráb
231,305
Most Valuable Professional
nmaenpaa
101,156