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.
Custom Modules won't load when loaded together
I am trying to load 2 modules together, and for some reason I cannot.
"/SuiteScripts/Main/Source/NetSuite/Libs/HelperClasses/searchHelper", "/SuiteScripts/Main/Source/NetSuite/Libs/HelperClasses/dataHelper", "/SuiteScripts/Main/Source/NetSuite/Libs/HelperClasses/commonHelper"], //cmHelper is undefined if I load dataHelper. //If I remove dataHelper, cmHelper will load fine. function (seHelper, dHelper, cmHelper) { }This is the error I get
"ReferenceError: cmHelper is not defined
at eval (eval at getEmailRecipients (eval at loadCallback (https://system.sandbox.netsuite.com/javascript/suitescript/2.0/client/bootstrap.js?NS_VER=2018.1.0&minver=100:245:10)), <anonymous>:1:1)
at Object.getEmailRecipients (eval at loadCallback (https://system.sandbox.netsuite.com/javascript/suitescript/2.0/client/bootstrap.js?NS_VER=2018.1.0&minver=100:245:10
Tagged:
0