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
Why is my script not overriding the Opportunity Status when creating a Sales Order?
Hello all,
Our opportunity records frequently have more than one sales order created from them. We use a custom status when they are open (Valid) but after a sales order is created from the opportunity record, native NetSuite closes the opportunity record.
Currently, I'm manually reopening the opportunity records so our sales team can create more sales orders from the same opportunity. We tried the script listed below running after submit, and it changes the status back to Valid but then immediately marks it as closed again.
Other than updating it nightly via scheduled workflow, I'm stuck. Any help is greatly appreciated. Thanks!
Tagged:
1