I have a filter in saved search for date. If I add...
# suitescript
b
I have a filter in saved search for date. If I add new filter with "date" in suitescript, does it overwrite or both filter works like "AND"? ie, ['date', 'on', 'today'] // this is filter from saved search (created from UI). I added one ['date', 'on', '11/1/2024'] Then both filter works?
l
if you added the first to saved search, it will work as AND then you need to get the filter object from the search object and replace the value
m
What I do is store filters into another variable and manipulate them then store back into the searches filters.
b
Thank you