You would be better off getting the data from SalesAnalysis. It has a function that marks records with the date that the invoice was fully paid.
_________________________
Andrew Bates