Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Schedule Script Through nlapiScheduleScript
I am trying to call nlapiScheduleScript in a scheduled script to reschedule this script for immediate execution.
it gives me this error when the execution comes to this function it get this error INSUFFICIENT PERMISSION Details: you do not have priviladges to perform this operation.
Can we call nlapiScheduleScript in a schedule script if yes what can be the possible cause of this error
I tried to change the owner of this script to a role with Admin permissions and created a new deployment with this role Execute As Admin is yes but still i get this error, when i do the same in a suitlet it doesnt show me this error and returns the status queued but i dont find it being executed again, this script doesnt use any saved search or record which can be an issue.