Anyone ever faced this issue: ```cause: { ty...
# suitescript
a
Anyone ever faced this issue:
Copy code
cause: {
      type: "internal error",
      code: "INSUFFICIENT_PERMISSION",
      details: "Permission Violation: You need  the 'Transactions -> Sales Order' permission to access this page. Please contact your account administrator.",
a
make sure also that the roles option on the deployment is selected
a
It was, there is what I think is a huge bug in NetSuite’s server side promises implementation, the code inside the
then
does not inherit the creator/caller/parent permissions…
Which is very very bad because that limits server side promises tremendously…