And it happens only in specific place while in oth...
# suitescript
i
And it happens only in specific place while in other places, the exact same functions work perfectly. It looks like the issue is starting from cloning the date variable by using new Date(someDate.getTime()), although it's working in other functions.