Has anyone here experienced scoping issues like th...
# suitescript
j
Has anyone here experienced scoping issues like this?
NO_PERMISSION_TO_MODULESCOPE_SAMEACCOUNT_MODULE : You do not have permission to load this module SuiteBundles/Bundle 30769/SuiteScript 2.0/Common/queuedscript.js, it has an @NModuleScope of SameAccount which restricts its availability to customization objects created in account(s).
// All relevant modules have annotations like this, not sure where the 
SameAccount
 scope is coming from
Copy code
/**
 * @NApiVersion 2.1
 * @NModuleScope Public
 */
b
id try using 2.0 in your script
and queuedscript.js to see if its a 2.1 issue