>Hi Stephen,
>
>>Don't you have to tie payments against / to an invoice or scheduled payment?
>
>I think I see where Peter is coming from on this issue. I had a similar application at one point with an insurance company. They wanted premiums applied to the earliest due and could have cared less what the payment was ostensibly for.
It can get more complicated than this. In my aging routine, I have to apply payments first to finance charges (in date order), then penalties, then invoice amounts. I read all of the open items into an array and make multiple passes through. I also keep a CLOSED DATE in the item record that shows exactly when it was paid.
Peter Robinson
Peter Robinson ** Rodes Design ** Virginia