give me boiler plate code for debugger
# ask-stanley-ai
w
give me boiler plate code for debugger
c
AI generated answer (using internal Slack threads):
Here is a sample boilerplate code that can be run on the script debugger:
Copy code
require(['N/search', 'N/record'],
function(search, record) {
    var objRecord = record.load({
           type: record.Type.SALES_ORDER, 
           id: 157,
           isDynamic: true
        });
	var foo = 'bar';	
});
Please replace the id value with a valid one. ****** 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.833190918
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.808288634
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.807556152
Please provide your feedback on this answer.