Product: NetSuite
Error: Error: INSUFFICIENT_PERMISSION
{"type":"error.SuiteScriptError","name":"INSUFFICIENT_PERMISSION","message":"You do not have permission to perform this operation.","stack":["submit(N/task)","executeScheduled(/SuiteBundles/Bundle 32557/TC_FulfillmentPackageSuitelet.js:26)","onRequest(/SuiteBundles/Bundle 32557/TC_FulfillmentPackageSuitelet.js:7)"],"cause":{"type":"internal error","code":"INSUFFICIENT_PERMISSION","details":"You do not have permission to perform this operation.","userEvent":null,"stackTrace":["submit(N/task)","executeScheduled(/SuiteBundles/Bundle 32557/TC_FulfillmentPackageSuitelet.js:26)","onRequest(/SuiteBundles/Bundle 32557/TC_FulfillmentPackageSuitelet.js:7)"],"notifyOff":false},"id":"","notifyOff":false,"userFacing":false}
Issue: When attempting to AutoPack your Fulfillments inside of Oracle NetSuite - you receive a long error message stating you have INSUFFICIENT_PERMISSIONS to the TC_FulfillmentPackageSuitelet.js object.
Reason: This is due to the user attempting to process the Fulfillment needing elevated permissions for our script TC_FulfillmentPackageSuitelet to properly package your Fulfillments.
Solution
In order to solve the issue - you'll need to have your System Admin elevate the permissions for the TC_ItemFulfillmentPackageSuiteletSR
Navigate (NetSuite): Customization β Scripting β Script Deployments
Set: The Execute As Role to either HJ-EDI or Administrator
Customizaiton β Scripting β Script Deployments
EXECUTE AS ROLE
rev 10/20/22