Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
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}