Does anyone know how I can remove the add new reco...
# suitescript
b
Does anyone know how I can remove the add new record option from a SELECT field type? This concerns a field that is added onto a Suitelet.
@george085 that’s what I’ve done. But this doesn’t work. I will do it another way by supplying the Numbers based from a search.
r
I think this funnels down from your permissions. You have the create permission for shipment number. Others may not.
I would test that assumption, of course.
I've had similar issues, I can't remember for sure if that was the case.
g
that is good call @reptar
b
@reptar yes that’s correct. The Execute As Role came into play. But when doing this, by a Custom Role which had the right perms, I suddenly couldn’t get the User Preferences via
config.load
anymore. An issue was created at NetSuite. For now I’m using the Admin role as the Execute As Role and the drop down was ditched and a text field is used instead.