Discussions
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