Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Script to Restrict Access to Sales Team Sublist Actions
We recently turned on the Team Selling feature. Previously we prevented employees from editing the Sales Rep field on a Customer record by using a workflow to set the field as Inline for certain Roles. However, now that we are using Sales Teams, and the sales rep is set in the salesteam sublist, I am not sure how to restrict this. I tried using nlapiDisableLineItemField(), but this only disables certain fields on the sublist line item, but still allows user to add or remove lines. What I really need is a way to disable a sublist in certain situations. Is
0