Hi Rafael,
,
Please try the below query
SELECT T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName], T1.[ItemCode], T1.[Dscription], T1.[Quantity] FROM OPOR T0 INNER JOIN POR1 T1 ON T0.DocEntry = T1.DocEntry WHERE T0.[DocDate] >=[%0] and T0.[DocDate] <=[%1]
Or
You can find more details in Purchase Analysis Report.
Rgds,
Kamlesh Naware