Better I will attach here my FE and BE with min records and tbls etc so that it would be easy for you.
Please enter in db with Shift +Enter to see the tbls, queries, forms etc.
You may directly run form "F_CrSalesInvStatus_Master". This was created to clear OLDEST invoices as and when paid by...