Hi,
We currently use smbXML to export sales orders out of Netsuite into a fulfillment stage on our billing platform. I am now looking to migrate this into web services but have a bit of a problem at the first hurdle.
I have the following code
TransactionSearchBasic ts = new TransactionSearchBasic(); SearchEnumMultiSelectField sm = new SearchEnumMultiSelectField(); sm.@operator = SearchEnumMultiSelectFieldOperator.anyOf; sm.operatorSpecified = true; string[] refs = new string[1]; refs[0] = SalesOrderOrderStatus._pendingFulfillment.ToString(); sm.searchValue = refs; ts.status = sm; SearchResult result = connection.search(ts);
This search is simply looking for orders in the Pending Fulfillment status (there are other criteria but ive broken it down as this is the criteria giving me trouble). The response returned is "No Enumerated Value _pendingFulfillment for Enumerated Type TransactionStatus"Anyone got any experience in searching on transaction (namely salesorder) status'? Any solutions would be helpful