on 01-11-2014 4:20 PM
I have tried the following program for run the above requirement. this is only showing part passed through both tranasation.
I wand all trans, if trans not done it show zero value.
Please help me
SELECT T0.[ItemCode], T0.[ItemName], T0.[ItmsGrpCod],T1.[ItmsGrpNam], sum(T2.Quantity) 'GRN', Sum(t3.Quantity) 'Ship' FROM OITM T0
INNER JOIN OITB T1 ON T0.ItmsGrpCod = T1.ItmsGrpCod
INNER JOIN POR1 T2 ON T0.Itemcode = T2.Itemcode
INNER JOIN DLN1 T3 ON T0.ItemCode = T3.Itemcode GROUP BY T0.[ItemCode], T0.[ItemName], T0.[ItmsGrpCod],T1.[ItmsGrpNam] ORDER BY T0.[ItemCode]
Thanks
Anantha Desai
Hi Anantha Desai,
Please provide exact requirement for query and also explain the process flow. The above query is not giving that much information to create query.
Thanks & Regards,
Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.