This code doesn't let me access the saved search record but rather the results of the saved search:
nlapiSearchRecord(null, 'customsearchID');
Whereas this doesn't seem to work because "savedsearch" and all variations isn't a possible record type (getting SSS_INVALID_RECORD_TYPE error message)nlapiLoadRecord("savedsearch", 'customsearchID');I am hoping there is a way to access the saved search record itself so I can edit things like its access (set private access to public access) field? I have a few hundred saved searches that I would like to make public rather than private. And I wanted to further my understanding of SuiteScript with this exercise. Thank you