Hi Joseph,
Try:
select T0.CardCode,T0.CardName,t4.SeriesName,t4.BeginStr,RIGHT(T0.Docnum,6),T0.Docdate, MAX(T3.ReconDate) as 'Clearing Date', T0.DocTotal from
OINV T0
inner JOin ITR1 T2 on T0.DocEntry = T2.SrcObjAbs
inner join OITR T3 on T2.ReconNum = T3.ReconNum
left join NNM1 T4 on T0.series = T4.Series
GROUP BY T0.CardCode,T0.CardName,t4.SeriesName,t4.BeginStr,T0.Docnum,T0.Docdate, T0.DocTotal
Thanks,
Gordon