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!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
nlapiRequestURL() in a client script
This code is causing an "UNEXPECTED_ERROR". It's attached to a sales order form.
Does anyone know why? I've contacted support with the error ticket ID provided, but a defect in the error logging system is preventing them from troubleshooting further. I'm hoping someone on here might have some insight.
Thanks.
function SaveRecord(){ var response = nlapiRequestURL('http://some.com/remote/api/', null, null, null, "GET"); var body = response.getBody(); alert(body); return true; }
0