Hi
I am unable to apply debits to open purchases although earlier I was able to do so.
But now whenever I click on "Apply to Purchases" under "Returns & Debits" in "Purchase Register", non of the Open Invoices are shown in the "Settle Returs & Debits" window.

However, if I click on "Include Closed Invoices", it shows me list of closed invoices but non of the Open Invoices are being reflected even though there are Open Invoices to pay.
Further, I even tried to settle the debits by making payment for the Open Invoices as it show a warning message to apply debits before proceeding to pay but when I click on the "Apply Debits" button it shows me the error message "Unable to automatically apply the debit memo(s) to the open bill(s). Please use the Purchase Register to settle your oustanding debot memo(s)."

I am not sure if some setting have been changed.
Can somebody help me out here?