i have three locations in netsuite location a and ...
# ask-stanley-ai
y
i have three locations in netsuite location a and b and c i want to hide location c from certain users
c
AI generated answer (using internal Slack threads):
In NetSuite, you can control the visibility of locations for certain users by leveraging roles and permissions. However, hiding a specific location (like location C in your case) from certain users is not directly possible through the UI. One workaround could be to create a custom field with the limited options (i.e., only Location A and B), hide the native Location field in the UI, and then update the native Location field with your custom field via a script. This way, the users will only see and be able to select from the locations available in the custom field. Here's a high-level overview of the steps: 1. Navigate to
Customization > Lists, Records, & Fields > Record Fields > New
. 2. Create a new custom field of type 'List/Record' and select 'Location' as the record type. 3. In the 'List/Record Options' subtab, add only the locations you want to be visible (i.e., Location A and B). 4. In the 'Display' subtab, select the forms where you want this field to appear. 5. Save the custom field. 6. Hide the native Location field from the UI. 7. Write a script that updates the native Location field based on the value of your custom field. Please note that this approach requires some knowledge of SuiteScript, NetSuite's JavaScript-based API. Also, remember to test this thoroughly in your sandbox account before deploying it to production. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.816056132
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.815750241
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.813978612
Please provide your feedback on this answer.