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.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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