Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Don't miss out on our Question of the week! You only have until tomorrow, April 18, 2024, 2 PM EST to comment your answers and earn rewards! Click here for more details.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Community Poll: What sort of content would you like to see more of?

Execute as Role setting in User Event Script is not working

edited Nov 4, 2020 6:17PM in Ask A Guru 7 comments


I have a User Event Script with a "Before Record Load" function.

Inside this function, I load the employee record to check for custom employee permissions.

The script has the "Execute as Role" setting as Administrator, but if some user has a role without the Employee Record permission, Netsuite sends this error: "YOU_CANNOT_PERFORM_THIS_SEARCH_BECAUSE_YOU_DO_NOT_HAVE_PERMISSION_TO_ACCESS_EMPLOYEE_DATA"

In order to work correctly, the user's role must have the Employee Record permission.

What am I missing?

Best Regards

Elias Willard

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!


Community Whiz

Quarter 1 (Jan-Mar 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders