https://netsuiteprofessionals.com logo
h

H Vincent

04/08/2022, 9:26 AM
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

Sciuridae54696d

04/08/2022, 2:10 PM
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

battk

04/08/2022, 6:04 PM
2.1 api version makes the module scope sameaccount
remove it
🙌 1
3 Views