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.
Item Search within Range of Dates
In the Java platform, I'm trying to use the ItemSearch withgiven modified dates in order to find all the Inventory Items updated in a given timestamp range. Unfortunately, my code always returns zero item. However, without the Date filter, 50 of them return properly.
Before invoking the ItemSearch, I call the Date filter as shown below. The 'after' is set to last year from today and the 'upto' is set to today.
public void setTimeRangeFilter(Calendar after, Calendar upto)
{
// create the Date filter
SearchDateField searchDateField = new SearchDateField();
// set the range, [ >after AND <=upto]
searchDateField.setSearchValue(after);
searchDateField.setSearchValue2(upto);