Hi,
I'm using Report Builder.
I have a Stock Table:
Item | StockDate | Qty |
---|---|---|
A | 01/01/2013 | 3 |
C | 02/01/2013 | 4 |
A | 02/01/2013 | 1 |
A | 02/01/2013 | 3 |
D | 02/01/2013 | 7 |
and Sales Table with the following fields:
Item | SalesDate | Qty |
---|---|---|
D | 01/12/2012 | 1 |
D | 02/12/2012 | 3 |
C | 02/12/2012 | 3 |
D | 02/12/2012 | 1 |
A | 02/12/2012 | 7 |
Now I want a report that links the 2 and shows the Stock Qty and Sales Qty by Item
Item StockQty SalesQty
Simple enough...but...I need parameters so that the user can restrict the stockqty and salesqty on receipt date and sales date.
So for each Item I want to show the StockQty with a StockDate between 01/01/2013 and 02/01/2013 but want to see theSalesQty for that Item that have a SaleDate 01/12/2012 and 02/12/2012!
Any ideas on how I do this?
Thanks for any help in advance!