Milcho Dimkov
11/03/2024, 1:25 PMCeligo AI
11/03/2024, 1:25 PMAI generated answer (using internal Slack threads):In NetSuite SuiteScript, there is no direct way to define a search to run as "unrestricted" using the
search.create
method. The "Run Unrestricted" option is a feature available for saved searches in the NetSuite UI, which allows the search results to be available to users who would normally be restricted from seeing the underlying records.
However, this option is not available in SuiteScript. If you need to run a search that bypasses normal permissions, you would need to run the script as an administrator or another role that has the necessary permissions.
Remember, using the "Run Unrestricted" option can potentially give users full view access to the entire database for that record type, so it should be used with caution.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
11/03/2024, 1:25 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.86200279
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.843742132
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.825607717
Celigo AI
11/03/2024, 1:25 PM