I have an application that is similar to the NetSuite Example Application. I’m pulling down series of records from a Saved Transaction.
My code looks a like:
TransactionSearch transactionSearch = new TransactionSearch();
var tranSearchAdv = new TransactionSearchAdvanced
{
savedSearchId = savedSearchId,
columns = new TransactionSearchRow(),
};
tranSearchAdv.criteria = transactionSearch;
var results = nsService.search(tranSearchAdv);
var demoResults = results.Select(a => new
{
SalesRep = a.basic.salesRep?[0].searchValue?.name,
Partner = a.basic.partner?[0].searchValue?.name,
etc..
});
Unfortunately, I haven’t been able to get any data from the two fields(“Partner” and “SalesRep”), Even though in my search results those field contain valid data.
Am I missing anything obvious, all the other field are returned correctly?
Note: Cross posted here, http://stackoverflow.com/questions/4…m-transactions
This is a cached copy. Click here to see the original post.