Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
SuiteApprovals 6.00.5 Throws Error Upon Sales Order Creation
Edited: The release of the sandbox is 2021.1, if curious
I have installed the current version (6.00.5) of SuiteApprovals on my sandbox environment.
After setting up a simple department approver list and an approval rule, when I try to save the sales order, an error message returns:
{"type":"error.SuiteScriptError","name":"UNEXPECTED_ERROR","message":"illegal character (NLRecordScripting.scriptInit$lib#5846)","stack":["createError(N/error)","trigger(/SuiteBundles/Bundle 203059/com.netsuite.suiteapprovals/src/lib/WD_SAP_WorkflowWrapper.js:12)","initiateWorkflow(/SuiteBundles/Bundle 203059/com.netsuite.suiteapprovals/src/scripts/ue/WD_SAP_UE_ForSupportedRecordTypes.js:816)","afterSubmit(/SuiteBundles/Bundle 203059/com.netsuite.suiteapprovals/src/scripts/ue/WD_SAP_UE_ForSupportedRecordTypes.js:162)"],"cause":{"type":"internal error","code":"UNEXPECTED_ERROR","details":"illegal character (NLRecordScripting.scriptInit$lib#5846)","userEvent":"aftersubmit","stackTrace":["createError(N/error)","trigger(/SuiteBundles/Bundle 203059/com.netsuite.suiteapprovals/src/lib/WD_SAP_WorkflowWrapper.js:12)","initiateWorkflow(/SuiteBundles/Bundle 203059/com.netsuite.suiteapprovals/src/scripts/ue/WD_SAP_UE_ForSupportedRecordTypes.js:816)","afterSubmit(/SuiteBundles/Bundle 203059/com.netsuite.suiteapprovals/src/scripts/ue/WD_SAP_UE_ForSupportedRecordTypes.js:162)"],"notifyOff":false},"id":"","notifyOff":false,"userFacing":false}