Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Lets say I have a list of recommended items we want a customer to buy, ie the ideal stock holding. Then I have a list of what has been sold. I want to map one against the other.
I can easily show a straight table with the list of parts that have been purchased, but it wont show those that are not, I think I need to join the tables?
Sample sales data :
Sales | ||||
Customer | Date | Item | Desc | Qty |
Mularkies | 01/02/2014 | 10.12.45 | Flag | 15 |
Stevens | 15/03/2014 | 10.12.55 | Pole | 30 |
Road Rash Co | 02/04/2014 | 10.12.632 | Rope | 10 |
Stevens | 05/05/2014 | 10.12.654 | Grass Seed | 52 |
Road Rash Co | 15/03/2014 | 10.12.45 | Flag | 5 |
Mularkies | 02/04/2014 | 10.12.55 | Pole | 10 |
Road Rash Co | 15/03/2014 | 10.12.200 | Deck Chair | 25 |
Jones Co | 01/02/2014 | 10.12.45 | Flag | 14 |
Recommended List :
Recommended Parts | ||
Item | Desc | Rec Qty |
10.12.45 | Flag | 5 |
10.12.55 | Pole | 15 |
10.12.632 | Rope | 15 |
10.12.654 | Grass Seed | 30 |
10.12.200 | Deck Chair | 5 |
10.12.5555 | Parasol | 20 |
10.12.1234 | Table | 2 |
What I'm seeing now :
Recommended Parts Results | ||||
Item | Desc | Rec Qty | Purchased | Passed? |
10.12.45 | Flag | 5 | 34 | Y |
10.12.55 | Pole | 15 | 40 | Y |
10.12.654 | Grass Seed | 30 | 52 | Y |
10.12.200 | Deck Chair | 5 | 25 | Y |
ie I'm missing the items what the customer hasn't purchased!
What I'd Like to see :
Recommended Parts Results | ||||
Item | Desc | Rec Qty | Purchased | Passed? |
10.12.45 | Flag | 5 | 34 | Y |
10.12.55 | Pole | 15 | 40 | Y |
10.12.632 | Rope | 15 | 10 | N |
10.12.654 | Grass Seed | 30 | 52 | Y |
10.12.200 | Deck Chair | 5 | 25 | Y |
10.12.5555 | Parasol | 20 | 0 | N |
10.12.1234 | Table | 2 | 0 | N |
PFA