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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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