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
Check for record existance w/o causing SS to error out
I have a relatively simple script which is triggered by a user action on an item fulfillment.
For testing purposes, and occasionally during day to day operations, the fulfillment record needs to be deleted. Before I added my SS I would get a screen saying that the record was deleted and a button to take me back to the sales order. Now I get a notice from SuiteScript saying that the record doesn't exist, and the "go back" button takes me to the item fulfillment page.
Now if I go back to the originating Sales Order, the fulfillment is gone from the related records.
0