Matt Gochee
05/11/2026, 6:10 PMCeligo AI
05/11/2026, 6:10 PMAI generated answer (using internal Slack threads):To run
search.create in a SuiteScript 2.0 (SS2) file, the role associated with the script needs to have the 'Perform Search' permission. This permission allows the script to execute searches in NetSuite.
Additionally, if the search is related to transactions and their associated files, the role might also need the 'Transactions' and 'File Cabinet' permissions. The 'Transactions' permission allows the script to access transaction records, while the 'File Cabinet' permission allows the script to access files in the file cabinet.
However, the exact permissions required can depend on the specific records and fields being accessed by the search. If you encounter permission errors, the error message should indicate which permission is missing. If the error message is not clear, you can try running the same code in a SuiteScript 1.0 script, as it might provide a more descriptive error message.
******
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
05/11/2026, 6:11 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.782318175
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.780243
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.776855528
Celigo AI
05/11/2026, 6:11 PM