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!
Can't search for custom record
CustomRecordSearchBasic crsb = new CustomRecordSearchBasic(); RecordRef recTypeRef = new RecordRef(); recTypeRef.setInternalId("53"); crsb.setRecType(recTypeRef); SearchMultiSelectField smsf2 = new SearchMultiSelectField(); smsf2.setOperator(SearchMultiSelectFieldOperator.anyOf); RecordRef[] rr = new RecordRef[1]; RecordRef rec1 = new RecordRef(); rec1.setInternalId("1"); rr[0] = rec1; smsf2.setSearchValue(rr); crsb.setInternalId(smsf2); result = port.search(crsb); System.out.println(result.getStatus().getStatusDetail(0).getMessage()); Code returns nothing. What's wrong?
0