Hey all. Quick question. I just deployed an extens...
# suitescript
j
Hey all. Quick question. I just deployed an extension, inside is a js file with a nlapiCreateRecord(‘customer’). This is throwing a You need the ‘Lists -> Customers’ permission to access this page error in the logs. Anyone run into this before?
j
Role permissions are in effect when running the script. For the role that is experiencing the issue you will need to go to "Setup" >> "Users/Roles" >> "Manage Roles" and add the "Lists -> Customers" permission. Note that this gives that role access to the customer record in the UI as well. Alternatively, if you have access to the script deployment, you can "Run As" a role that has the proper permissions without added permissions to the role itself.
j
@jarens thanks for that. Do know where I can find any docs on the ‘Run As’?
Point #9
j
Thanks so much.