Hi,
Are you looking for this information?
SELECT T0.[DocNum], T0.[DocStatus],T0.[DocDate], T0.[CardName], T1.[ItemCode], T1.[Dscription], T1.[Quantity] FROM OPDN T0 INNER JOIN PDN1 T1 ON T0.DocEntry = T1.DocEntry WHERE (T0.[DocStatus] = 'O' OR T0.[DocManClsd] = 'Y' ) and T0.[DocDate] >= [%1] and year(T0.[DocDate]) = 2014
Thanks & Regards,
Nagarajan