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!
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