Ron
09/25/2024, 8:18 PMCeligo AI
09/25/2024, 8:19 PMAI generated answer (using internal Slack threads):Based on the conversations, it seems that you can create a search on saved searches in SuiteScript. However, it's important to note that you can't load a
saved search
search without specifying the type in search.load
.
Here is a sample code snippet that might help you:
javascript
var search = require('N/search');
var mySearch = search.create({
type: search.Type.SAVED_SEARCH,
filters: [
// your filters here
],
columns: [
// your columns here
]
});
var resultSet = mySearch.run();
Please replace the comments with your actual filters and columns. This code will create a search on saved searches and run it. The results can be processed as per your requirements.
******
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
09/25/2024, 8:19 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.827625155
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.822267354
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.820621252
Celigo AI
09/25/2024, 8:19 PM