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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
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