Discussions
2008.2 TransactionSearch with Custom Fields broken?
Hello:
It looks like the 2008.2 TransactionSearch is broken when searching with custom fields. Here is the error I get:
SearchCustomField is an abstract type and cannot be instantiated
Here is my test code (Account info removed for security):
package test.netsuite;
import com.netsuite.webservices.platform_2008_2.*;
import com.netsuite.webservices.platform.common_2008_2.TransactionSearchBasic;
import com.netsuite.webservices.platform.core_2008_2.*;
import com.netsuite.webservices.platform.core_2008_2.types.RecordType;
import com.netsuite.webservices.platform.core_2008_2.types.SearchStringFieldOperator;
public class TransactionSearchTest {
public static void main(String[] args)
throws Exception {
Passport passport = new Passport();
passport.setEmail("");
passport.setPassword("");
RecordRef role = new RecordRef();
role.setInternalId("");