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
Does anyone else see serious concurrency issues with suitescript?
I am working on a Suitelet in the sandbox. I added a function that uses the N/url module, and forgot to include it, so naturally I got
org.mozilla.javascript.EcmaError: ReferenceError: "url" is not defined. (/SuiteScripts/suitescript2/src/ship/ful-pdrs-suitelet.js#13)
So I fixed it and uploaded the new file. Still get the same error! I pulled out a little of my hair, added a log.debug statement to see if "url" is really getting loaded. Nothing. I verified by using the "preview" link in the script record. Yes, my changes did get uploaded. Still the same false error. So now I comment out the whole function body so "url" is not referenced. Same false error. I searched the whole file cabinet to make sure there weren't two copies of the script file