Delete application

Hi! I know this is more of a user question, ut here goes: Is it possible to delete an apllication ? What happens if I apply a payment to an invoice and then I want to storno the payment ? I won`t be able to apply the storno to the payment and the invoice will still be closed (not opened). Does anybody know how to solve this problem ?

It is a developers question, yes. First you need to learn what’s going on. Create two identical invoices, then apply payments to both. Now open the entry tables (ledger and detail), and remove the application on one set of entries. now post a third invoice payment, but DON’T apply. now see if your manual entries match the new ones. When you can do this and understand it, you will have no problems writing the code.