Discussions
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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