| I need to apply a payment to an invoice via code.* This article, and all our great SQL (Dynamics) documentation, Is available on the SQL (Dynamics) menu
                                    A client wanted a way to automatically apply a payment to the oldest invoice with a matching amount.
                                 |