Join Slack
Powered by
Hi all, I'd like to prevent users to editing Sales...
# suitescript
k
Kevin Kelly
02/26/2020, 6:05 PM
Hi all, I'd like to prevent users to editing Sales Team Subtab for specific roles on client script. Does anyone know how to accomplish this?
b
battk
02/26/2020, 6:40 PM
non suitescript answer is to use a custom form that has the Sales Team subtab setup to not show
battk
02/26/2020, 6:41 PM
suitescript answer is to hide everything in the sales team subtab
battk
02/26/2020, 6:41 PM
that should consist of setting the display type of the sales team sublist to hidden
k
Kevin Kelly
02/26/2020, 6:43 PM
could you send me link to the answer?
b
battk
02/26/2020, 6:46 PM
use a before load user event script to access the form:
https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4407991781.html
battk
02/26/2020, 6:48 PM
get the sales team sublist (probably has the id of something like 'salesteam'):
https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4339685468.html
battk
02/26/2020, 6:48 PM
then set the displayType:
https://system.netsuite.com/app/help/helpcenter.nl?fid=section_460338073729.html
Open in Slack
Previous
Next