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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Suitescript search results not reloading
I have a script that is called from a button on a sales order. It takes the customer's id and price level and applies them as filters to a saved search.
This script works perfectly well for the first customer however if you change the customer on the sales order without refreshing the page and click the button again it returns the same search results.
I checked and it seems to be pulling the new filter values correctly (customer id and price level from the second customer).
The code below is just a snippet of the entire function but it contains everything that I can imagine would be relevant.
0