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.
SearchValue in customRecord search works on date only
we are using ws2_5, we did not change anything
, the only difference is .NET 1.1 AND .NET 2.0
the same code is working on dotnet 1.1 ,
it is a search based on lastmodified within last 15 minutes
when i use vb.net 2.0 , the webservice returns all record based on current day, it ignores all the hours/minute i specified.
why?
below is the code
sLasMod.operator = SearchDateFieldOperator.onOrAfter
sLasMod.operatorSpecified = True
sLasMod.searchValue = DateAdd(DateInterval.Minute, -5, Now)
sLasMod.searchValueSpecified = True
custSearchbas.recType = sRecordRef
custSearchbas.recType.typeSpecified = True
custSearchbas.lastModified = sLasMod
custSearch.basic = custSearchbas
sResult = NSWS.search(custSearch)