I need to write a loop code in a reprot that will apply a payment in acending order by date and bring back the invoices that the payment will be applied to. I have a query that sorts open invoices by date in acending order. I don't want it applied I just want to see what invoices can be paid. I sure appreicate the help.
RMB
RMB