Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
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