i HAVE orders that require a certain amoun of a product. Each day several orders require varying amounts of several products. I want to summarize the amount required by day, week, month, 3day period, past due , future etc. How can I querry my orders by date and total the amount required by day, month etc.?