Hi,
I am trying to call a saved search in C# using SuiteTalk, and have my application save the results to a delimited file. The calling part is fine (I think):
TransactionSearchAdvanced ts = new TransactionSearchAdvanced { savedSearchId = "273" }; SearchResult result = service.search(ts); The problem is I can't see the results as the would be when viewing them in Netsuite - my result.recordList is null, and the searchRow only seems to contain the internal Ids, but no indication of what columns the report has: <platformCore:searchRow xsi:type="tranSales:TransactionSearchRow" xmlns:tranSales="urn:sales_2012_1.transactions.webservices.netsuite.com"> <tranSales:basic xmlns:platformCommon="urn:common_2012_1.platform.webservices.netsuite.com"> <platformCommon:account> <platformCore:searchValue internalId="54"/> </platformCommon:account> <platformCommon:accountType> <platformCore:searchValue>Income</platformCore:searchValue> </platformCommon:accountType> <platformCommon:amount> <platformCore:searchValue>2159.96</platformCore:searchValue> </platformCommon:amount> <platformCommon:entity> <platformCore:searchValue internalId="91909"/> </platformCommon:entity> <platformCommon:item> <platformCore:searchValue internalId="630791"/> </platformCommon:item> <platformCommon:taxCode> <platformCore:searchValue internalId="641239"/> </platformCommon:taxCode> <platformCommon:tranDate> <platformCore:searchValue>2011-09-27T16:00:00.000-07:00</platformCore:searchValue> </platformCommon:tranDate> <platformCommon:tranId> <platformCore:searchValue>2037</platformCore:searchValue> </platformCommon:tranId> <platformCommon:type> <platformCore:searchValue>_estimate</platformCore:searchValue> </platformCommon:type> </tranSales:basic> </platformCore:searchRow>
I've tried changing the searchPreferences, but this had no effect. The question is am I going about this the right way? Any help would be greatly appreciated.