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
Date Search
Does anyone (Wolverine10 ) have a snipplet for searching based on a date criteria. Below is a sample of what I'm trying to do (in VB). It seems to me that this would be simple, but the way things are going lately - nothing is simple.
Dim searchCriteria As SearchDateField = Nothing
searchCriteria = New SearchDateField
searchCriteria.operator = SearchDateFieldOperator.within
searchCriteria.operatorSpecified = True
searchCriteria.searchValue = "07/09/2006"
searchCriteria.searchValue2 = "07/15/2006"
FOFGphonecallSearchBasic = New PhoneCallSearchBasic()
FOFGphonecallSearchBasic.createdDate = searchCriteria
FOFGphonecallSearch.basic = FOFGphonecallSearchBasic
response = Service.search(FOFGphonecallSearch)