Hello, I am attempting to create a saved search vi...
# suitescript
r
Hello, I am attempting to create a saved search via the UI for Scripts that execute during a specific date and time frame. I have added logging to all my functions during the script execution but I only want the results of script logs to be within the timeframe that I have specified. I see there isn't a time option when adding the filter by date. Any ideas how I can get this done? I was thinking the Formula (date) might work best.
b
i would say formula numeric probably
use a formula like
TO_DATE('4/13/2020 4:36:13 PM', 'DS TS') - {time}
and compare the resulting number of days to some value
you could also potentially use a CASE statement and use something like the BETWEEN condition or use less than or greater than