If you are triggering it from User event/Suitelet,...
# suitescript
n
If you are triggering it from User event/Suitelet, give the "Execute As: Admin" to give the Admin permission to the script.