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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Data type change in TransactionSearchBasic setType method
I am using the https://webservices.na1.netsuite.com/wsdl/v2012_2_0/netsuite.wsdl to generate the proxy classes. The data type for setType parameter has been changed to String[] from SelectMultiSelectEnumField. I am unable to set record type for transactionSearchBasic.
Here is my snippet
TransactionSearchBasic tranSearchBasic = new TransactionSearchBasic();
String[] type = new String[1];
type[0]=RecordType._vendorBill;
tranSearchBasic.setType(type);
transactionSearch.setBasic(tranSearchBasic);
It returns null. But when I search with same criteria in UI it returns records.
Kindly help me in resolving this .Thanks in advance
0