Discussions
SuiteWorld is the largest annual gathering of the NetSuite community! It will be held in Las Vegas on October 6-9, 2025. Our customers and partners look forward to SuiteWorld every year as a place to hear the latest from NetSuite, get hands-on learning, and connect with each other. Register now!
NSC | Resolve: INSUFFICIENT_PERMISSION Error
SuiteScript's flexibility empowers users to efficiently manage records by loading and modifying them while creating or editing other records. For instance, during the process of saving a new sales order, developers can utilize the record.load() function to access the current user's employee record, ensuring their authorization. Alternatively, they might employ the record.create() function to generate a new record within the afterSubmit function of a User Event Script.
In scenarios where the "Execute as Administrator" checkbox is unchecked in the Script Deployment record, and the user's role lacks permission to access the specific record type being loaded or created in the background, SuiteScript will issue an "INSUFFICIENT_PERMISSION" error.
Refer a Member to the Community | Earn the Answer Accepter Badge | Vote for the contents you'd like to see