SS_SCRIPT_FOR_METADATA
# ask-stanley-ai
s
SS_SCRIPT_FOR_METADATA
c
AI generated answer (using internal Slack threads):
1. To look at a transaction and see what scripts have run on that transaction, you can navigate to Customization > Scripting > Scripted Records. There is also a Chrome extension called 'NetSuite Scripted Records' that can be used for this purpose. You can also edit a scripted record to change the order scripts run. 2. If you want to search through all your scripts to determine if a field is being altered/updated, you can create a map/reduce script that searches all deployments for scripts and then loads each script file and does a JavaScript search() for the field id. The map/reduce can be tasked from a suitelet where you provide the id as a custom parameter. In the end, the M/R sends an email of all scripts that have that field referenced in their file. You can also use SuiteAnswers ID 35368 as a base to find all the scripts that contain hard-coded URL to a particular datacenter. Another solution is Strongpoint, but it can be expensive. 3. If your scripts are not running in the sandbox, it might be because NetSuite automatically undeploys all the script deployments on refresh to prevent them from reading/writing production data if there are external system integrations involved. To fix this, you need to check the deployed box on the script deployment record, then you should be able to save and execute as normal. ****** 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.802429259
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.799682677
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.797729611
Please provide your feedback on this answer.