/// <summary>Retrieves a list of existing saved search IDs on a per-record-type basis.</summary>
 /// <param name="record">
 /// Contains an array of record objects. The record type is an abstract type so an instance of a
 /// type that extends record must be used—such as Customer or Event.
 /// </param>
 /// <returns></returns>
 public virtual GetSavedSearchResult GetSavedSearch(GetSavedSearchRecord record)
 {
     return(InvokeService <GetSavedSearchResult>(record, "getSavedSearch"));
 }
        public virtual async System.Threading.Tasks.Task <GetSavedSearchResult> getSavedSearchAsync(GetSavedSearchRecord record)
        {
            var request = new getSavedSearchRequest()
            {
                passport        = passport,
                tokenPassport   = tokenPassport,
                applicationInfo = applicationInfo,
                partnerInfo     = partnerInfo,
                preferences     = preferences,
                record          = record,
            };
            var response = await((NetSuitePortType)this).getSavedSearchAsync(request);

            return(response.getSavedSearchResult);
        }