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; }