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.
context.response.write is not writing back to the sales order
Hi Guys,
I'm trying to implement a suitelet pop from client script on the sales order and select an item, then write it back to the item on sales order lines. Based on the suite answer: 86121
But I'm having an issue writing back, popup goes blank after the item is selected and submit is clicked. The following HTML snippet in the context.response.write work in SuiteScript 1.0.
context.response.write('<html><head><script>var winObj = parent.Ext.WindowManager.getActive();winObj.addItem("' + selectedItem + '");winObj.close();</script></head></html>');
Thanks in Advance.
Sam
0