Hi Raviraj
The query works but doesn't show exactly what I want
I am getting the Qty in stock, Avg item Cost and Value of Stock
But the Last used date shows even stock which has been goods receipted or goods issued or landed cost transaction
I only need it to display in the last used column if the transaction was via a production order
If a stock code was used in production order on 26/08/2010 and there has been a goods issue a month later 226/09/2010
If should only display the last used date as 26/08/2010 as that transaction is in a production order
Thanks and ragards
Rahul