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.
CustomerSearch last modified date issue
Hi,
A customer search on lastmodifieddate is returning all records regardless of the `last modified date'.
I am using wsdl v1.3.2.
Any ideas why this is happening?
.NET code snipped below
CustomerSearch myCustomerSearch = new CustomerSearch();
CustomerSearchBasic myCustomerSearchBasic = new CustomerSearchBasic();
/// Assign last modified date
SearchDateField modifiedSearchDateField = new SearchDateField();
modifiedSearchDateField.@operator = SearchDateFieldOperator.notBefore;
modifiedSearchDateField.operatorSpecified = true;
modifiedSearchDateField.searchValue = newDate;
/// link lastmodifieddate to customer field
myCustomerSearchBasic.lastModifiedDate = modifiedSearchDateField;
where newDate = DateTime.Today
Thanks in advance.
Kind Regards