Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
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.