Chris Simon
11/20/2024, 3:55 PMCeligo AI
11/20/2024, 3:55 PMAI generated answer (using internal Slack threads):The error message you're encountering,
INVALID_SRCH
, indicates that the search or mass update you're trying to access in your Map/Reduce script does not exist. This could be due to a few reasons:
1. The search or mass update has been deleted or is not available in the context of the role that is executing the script. Make sure the search or mass update is available and accessible by the role.
2. The ID of the search or mass update is incorrect in your script. Double-check the ID and make sure it matches exactly with the ID in NetSuite.
3. The role executing the script does not have the necessary permissions to access the search or mass update. Even though the role has the SuiteScript Scheduling permission, it might not have the necessary permissions to access the search or mass update.
In addition to the SuiteScript Scheduling permission, the role might also need the SuiteScript
and Documents and Files
permissions. The SuiteScript
permission allows the role to execute scripts, and the Documents and Files
permission might be necessary if your script is interacting with files in the file cabinet.
Remember, the role executing the script needs to have all the necessary permissions to perform all the operations in the script. If the role does not have the necessary permissions, you will need to either add the necessary permissions to the role or use a different role that has the necessary permissions.
******
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/20/2024, 3:56 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.871749699
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.864316225
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.860014796
Celigo AI
11/20/2024, 3:56 PM