Hello. Is it possible to store Saved Search result...
# general
b
Hello. Is it possible to store Saved Search result as csv file in file cabinet daily without script please?
n
I don't think so.
j
You can manually export a saved search in csv format via the UI and then upload it to the file cabinet daily. With some limitations, you could also email out a saved search daily, but that won't get that file into the file cabinet. Otherwise, no, you're gonna need a script of some kind. Would be pretty easy to script though. I'd imagine AI could get you most, if not all, of the way there.
b
The problem is that saved search is not supported by SuiteScript. Thank you anyway
j
umm...no. You definitely can do an ad-hoc search or call an existing saved search (using the internal ID) via SuiteScript.
b
that saved search type does not exists here https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_4483165708.html And if you load search without type, it throws error saying search type is mandatory
j
those are all the enums for record types you can do a search on via suitescript. Are you saying you're trying to search on a record type that isn't there?
b
yes. my search type does not exists there, but in UI I was able to create it
j
I'd be surprised if that's the case. What record type are you doing a saved search on?
b
soap web service operation
j
You might be correct. I would try the
WSOperation
record type and see if that yields results. Based on the UI that seems to be what the record search type enum should be if it's accessible. If not you're likely correct that it's only available through the UI.