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!
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
Best practice with user event / scheduled scripts
I'm working on a script with the following logic:
1) after saving an item receipt
2) find pending sales orders with unfulfilled items matching the receipt's item list
3) for each identified sales order, update a body field with the total value of committed (but unfulfilled) items
Having the total value of the committed items on each order allows us to select partial orders over a certain value for processing.
This script could affect a large number of sales orders depending on the contents of the receipt, so (as I understand it) in order to allow the user to continue on while the script executes, the best way to accomplish this is to have a user event that launches a scheduled script.
0