A User Event script can be used on Before Load record to remove the Edit button when viewing a Sales Order.
![](https://system.netsuite.com/core/media/media.nl?id=8691299&c=NLCORP&h=e7f0ba01b503ce0d1d78)
![](https://system.netsuite.com/core/media/media.nl?id=21030628&c=NLCORP&h=2fa9bbecd99bfaa2af8a)
function removeEditButton(type, form){ if(type == 'view') { form.removeButton('edit'); }}
Deploy the User Event Script on Sales Order and select the right Audience.
No comments:
Post a Comment