Hi,
I have some sample records in Sales Invoice that came from POS Invoice and i want to delete them from database but the problem is when i try to delete it says it is linked with GL Entry. In GL Entry there is no way to delete records so how can we clean up Sales Invoice Database so that is will be ready for live data? Thanks in advance.
You can cancel the Sales Invoice(s) and then to delete cancelled entries in ERPNext, you can enable the Delete Accounting and Stock Ledger Entries on the deletion of Transaction option in Accounts Settings. Once enabled, you can delete invoices and receipts and the linked General Ledger and Stock Ledger Entries will also be deleted.
1 Like
It’s working now. Thanks a lot!