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
User event script and new record
When a sales order is saved I need scripts to do this:
1. Pass some data from the sales order to my web service.
2. Take some of the data from the web service and store it in the sales order.
3. Take some of the data from the web service and create custom records that have a field that references the sales order.
Some of my scripting needs to be in a "before submit" function because I need to update the sales order. I can't put all of my script in the "before submit" function because when I create a new sales order, the "new" record does not have an ID that I can reference in my custom records.
0