Dear Expert,
Advance thanks for help...
Pls find below query which one reflect item wise purchase return in these query i want to add vendor code & vendor name and require filter of From Date & To Date option.
SELECT T0.[DocNum][PONO], T1.[ItemCode], T1.[Dscription], T1.[Quantity][Purchased Qty],
T3.[Quantity][Recieved Qty],T5.[Quantity][Returned Qty], T2.[DocNum][GRPO No], T4.[DocNum][GoodsReturn No]
FROM OPOR T0 INNER JOIN POR1 T1 ON T0.DocEntry = T1.DocEntry,
OPDN T2 INNER JOIN PDN1 T3 ON T2.DocEntry = T3.DocEntry,
ORPD T4 INNER JOIN RPD1 T5 ON T4.DocEntry = T5.DocEntry
WHERE T3.[BaseRef] = T0.[DocNum] and T5.[BaseRef] = T2.[DocNum]
GROUP BY T0.[DocNum], T1.[ItemCode], T1.[Dscription], T1.[Quantity],
T3.[Quantity],T5.[Quantity], T2.[DocNum], T4.[DocNum]
I really appreciate if you kindly help me on this because i am functional person and i want to acquire technical knowledge also.....
Thanks & Regards,
Pratik D. Patel