I have a saved search returning a summary field result. How will I retrieve the results from the search using the script? The script is in 2.0 version and I a loading the search in the script.
searchResults[i].getValue({
name: 'custrecord_allocationpercent',
summary: searchResults.Summary.SUM
}); is returning an error
Please help!