hai every one

Create a report with list of customers which shows

a. Last Invoice

b. Last credit memo

c. Last payment received

d. Last refund given

Go to Customer Card

Click Customer–>Entry Statistics

Here you will see Dates of Last transactions

see the logic and implement in your report…