Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
find customer payment using checknumber
I am trying to search Netsuite for CustomerPayment transactions based on checknumber, is this possible using checknumber as the only reference?
0 records are found, I am using the checknumber as the tranId to search for.
Using wsdl v2010_2_0
Search code is in c#:
TransactionSearch xactionSearch = new TransactionSearch();
TransactionSearchBasic xactionBasic = new TransactionSearchBasic();
xactionBasic.type = new SearchEnumMultiSelectField();
xactionBasic.type.@operator = SearchEnumMultiSelectFieldOperator.anyOf;
xactionBasic.type.operatorSpecified = true;
xactionBasic.type.searchValue = new string[1];
xactionBasic.type.searchValue[0] = "_customerPayment";
xactionBasic.tranId = new SearchStringField();
xactionBasic.tranId.@operator = SearchStringFieldOperator.@is;
xactionBasic.tranId.operatorSpecified = true;
xactionBasic.tranId.searchValue = checknumber;
xactionBasic.closed = new SearchBooleanField();
xactionBasic.closed.searchValue = false;
xactionBasic.closed.searchValueSpecified = true;