This can become quite complex. You will need to use Crystal. Before you jump in, however, have you checked the a/r custom reports menu for any report that will show you this info? If you happen to find one, you can always copy the report and edit it as you wish.
vionca