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