wishalsangole4444
02/19/2026, 2:16 PMCeligo AI
02/19/2026, 2:16 PMAI generated answer (using internal Slack threads):Here is a sample boilerplate code that can be run on the script debugger:
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.
******Celigo AI
02/19/2026, 2:16 PMSlack 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
Celigo AI
02/19/2026, 2:16 PM