Check out Oracle NetSuite upcoming events and conferences here
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.
Don't miss out on our Weekly Quiz! You only have until May 30, 2PM EST to comment your answers and earn rewards! Click here for more details.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Community Poll: What sort of content would you like to see more of?

Need search formula to report quantity sold by date range

edited Jan 3, 2020 12:29AM in Search / Reporting 1 comment

I am trying to create a search that reports on sales quantities that were billed / shipped between date ranges: previous 1 week, 1 months & same date ranges previous year etc.

(sales orders billed, or
invoices paid)
company department

item name
item description
sum of quantities billed/shipped by period set in formula

I need quite specific instructions on the basic search formula as this SQL exceeds my knowledge - I can adapt once I have a working formula.

From a previous thread the following I am trying to adapt ... and am failing:

case when {transaction.type} = 'Cash Sale' and {transaction.location} = {inventorylocation} and ({today} - {transaction.trandate}) BETWEEN 1 AND 7 then decode({transaction.type}, 'Cash Sale' , nvl(-{transaction.quantity},'0'),0) else 0 end


Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!


Community Whiz

Quarter 2 ((Apr-Jun 2024) )

This Week's Leaders

This Month's Leaders

All Time Leaders