For reasons, I want to prevent sales reps from vie...
# suitescript
a
For reasons, I want to prevent sales reps from viewing customers that aren't theirs - I have a long story about why I cannot just restrict them to just their own division. So I figured maybe I could do it with a user event script. The snippet here does prevent them from viewing a customer form where they aren't the assigned sales rep - but they can still go to the customer dashboard. Anyone know if there is a way to prevent viewing the dashboard via script?