We have a number of integrations that create sales...
# suitescript
s
We have a number of integrations that create sales orders with scheduled scripts. Last week, one of them started failing with... Error at RecordInvoker.save (suitescript/resources/javascript/record/serverRecordService.js ...most online messages say to check for aftersubmit UE scripts or workflows that may be conflicting. But it is odd that it is not happening across many different order sources. And it seems to come and go. 6:30pm Friday through 6:30pm Saturday and then started happening again 8:30pm yesterday. Very frustrating that we have no way to find out what exactly is breaking that RecordInvoker.save code.
b
where is the rest of the error,, that looks like part of a stacktrace
s
Error on SO Create: Error at RecordInvoker.save (suitescript/resources/javascript/record/serverRecordService.js37113) at NetSuiteObject.thenableFunction() (suitescript/resources/javascript/record/proxy.js11524) at createSalesOrder (/SuiteScripts/CustX/CustX_OP_850SC.js30334) at /SuiteScripts/CustX/CustX_OP_850SC.js11232 at Array.forEach (native) at Object.post (/SuiteScripts/CustX/CustX_OP_850SC.js10624)
b
it looks like you caught the error and generated your own error message
you may want to actually just throw the error without modification so that netsuite can handle the error
that occasionally gives more useful error messages
s
I will see if we can do this.
thanks