feat: Allow deletion of Accounting Transactions Only
Before Submitting
- I searched existing issues and confirmed this is not a duplicate
- This is a feature request, not a bug or support question
- For support: https://discuss.frappe.io/c/erpnext/6
Is your feature request related to a problem? Please describe. When implementing ERPNext, usually Accounting module goes live in the end as Accounting is where all modules meet and Accountants are the most resistant to change :)
Therefore, while all the other modules have started affecting the GL, viz. Stock Entries, Purchase Receipt, Delivery Note and Invoices created to use the print format feature of ERPNext and not necessarily AR/AP module.
Therefore when the Accounting is actually going live we have a difficult situation of ERPNext Trial Balance having certain balances and transactions where as the closing balance from Legacy system has it's own Closing Balances. Obvious solution is to delete transactions on the ERPNext instance where all the transactions have been entered and go-live with clean cut-over data. This approach however means that all the data including Sales Orders, Purchase Orders etc will also be lost.
Describe the solution you'd like We discussed briefly a solution with @DipenFrappe where we can have a feature which will allow us to retain all the transactional data and only archive the GL Entry and SLE data. This way the transactional data can still stay and clean cut-over balances can be brought on to ERPNext instance.
Describe alternatives you've considered
- Under Manage button, provide another option
Archive Accounting Transactions Only: This option will set GL Entries made till date as Archived (Check field similar to Is Cancelled field)
Impact
- Blocks critical workflow — no viable workaround
- Significant friction — workaround exists but is painful
- Nice to have — minor improvement
Additional context None
Environment All
- Frappe Version:
- Deployment:
Source: frappe/erpnext