Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
nlapiSearchRecord using a saved search
If you use the nlapiSearchRecord and point to a saved search, everything works fine, but if you change the saved search (say you change the criteria that will affect the records returned), the SuiteScript is still executing the old search. It seems that once the saved search is executed through a script, it's cached in some form.
The only work around is to create a new saved search and use that instead if you want to change the search criteria.
We have experienced this on several different scripts.
Any workarounds?
Thanks
Jan
0