how to hide item cost from certain roles
# ask-stanley-ai
y
how to hide item cost from certain roles
c
AI generated answer (using internal Slack threads):
****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** To hide the item cost from certain roles in NetSuite, you can follow these steps: 1. Create a copy of your current form where the item cost is displayed. 2. In the copied form, hide the item cost field. 3. Set the copied form as the preferred form for the roles from which you want to hide the item cost. Please note that this method only hides the item cost in the UI. If a user has access to view items, they will still be able to view all fields on it via search, even if you've controlled the UI with a form change. If you want to restrict access to certain fields like the 'Average Cost' field on searches and views, you might need to work in reverse. Identify what item fields are important for these users and create custom fields that source from native fields and have access for this role. For restricting a role from changing prices on an item, you would need a script to disable the rate field on the transaction line. Also, disable the total amount field. If you want to restrict access to the Sales / Pricing-subtab on the item record, you can remove the roles permission to edit on Items. Remember, these changes should be tested in a sandbox environment before being implemented in a live environment.
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.832782209
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.809583366
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.803791702
Please provide your feedback on this answer.