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.
Split Sales Order script
Hello,
I have written a client script that based on a custom column field called Split (check box) that i added it will:
- Copy the Sales Order
- Remove the ticked lines on the original SO
- Remove everything except the ticked lines on the copy
- Mess around with a discount line to balance out the gross profit (this a sales request)
All well and good, and i am pleased that the script works, however it takes anywhere between three and ten minutes to run.
Has any body got any suggestions to make this run quicker (apart from buying i7 PCs with 8GB RAM).
0