Hello I am experiencing the dreaded "NO_PERMISSION...
# suitescript
h
Hello I am experiencing the dreaded "NO_PERMISSION_TO_MODULESCOPE_SAMEACCOUNT_MODULE" error for one of my 2.1 modules. My file is set to NModuleScope Public and works fine when included in define of my Suitelet. However when another Suitelet tries to load this module using require, we get the error. Why isn't NetSuite reading the tag in the file header and just assuming its same account? All files are from the same bundle.
message has been deleted
s
I don't think that's how it works, I think it depends on the tag with the most restrictive scope that is triggered in your chain of events/libraries
b
2.1 api version makes the module scope sameaccount
remove it
🙌 1