Stay up-to-date with the latest news from
NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community!
Refer now! Click
here to watch and learn more!
Update your
Profile with your Support type to get your Support Type badge.
Uncover the power of data with the
Analytics Hub —your ultimate guide to mastering NetSuite Saved Searches and Reports. Simplify the complex and unlock your organization's true potential. Dive into the
Analytics Hub now and soar to new heights!
Intelligent Payment Automation version 1.0.3 is now available in the SuiteApp Marketplace. The SuiteApp, powered by BILL, lets you automate payments, manage vendor details, and bank account information within NetSuite.
Learn more
unable to retrieve updated records for a given range.
Hi All
I want to retrieve all updated records from host for a given period.
SearchDateField sd = new SearchDateField();
CustomerSearch custSearch = new CustomerSearch();
CustomerSearchBasic custSearchBasic = new CustomerSearchBasic();
sd.setSearchValue(timeFrom);
sd.setSearchValue2(timeTo);
sd.setOperator(SearchDateFieldOperator.within);
custSearchBasic.setLastModifiedDate(sd);
custSearch.setBasic(custSearchBasic);
SearchResult sresult = null;
sresult = binding.search(custSearch);
where timeFrom is Thu Jan 18 06:59:00 GMT-05:00 2007 and
timeTo is Thu Jan 18 06:29:00 GMT-05:00 2007.
Both timeFrom and timeTo are Calendar objects.
The operator used is "within"
The above range with operator "within" doesnt retrieve any data from the host, and it always return NULL. But am very sure there is data updated during the range.
0
Howdy, Stranger!
RegisterDon't have an account? Click here to get started!