Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Transaction Searches
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"
0