Can a search be created in suitescript and saved i...
# suitescript
a
Can a search be created in suitescript and saved in Netsuite as a saved search?
e
you just need to give it a title/name and save in script. see documentation (1.0 and 2.0)
a
@ec I am looking at all the record type enums and I don't see one for search. What kind of record type would I save it as?
e
That’s not how it’s done. It is through the
search
module:
search.save()
But, make sure you set the
search.title
when creating via
search.create()