We have a bit of a peculiar situation. We had a list of Assets created on ERPNext but noticed after a while that there were errors. We eventually had to cancel and delete the Journal Entries that were auto created from the Asset master. In fact, I recall we even deleted all company transactions
The issue however is that it appears the Asset docs somehow kept some kind of invisible link to the Journal Entries. The accountants have gone on to create other Journal Entries for regular book-keeping but those that were created using the previously deleted IDs are now somehow linked to the Assets even though they aren’t depreciation entries
Trying to cancel any of such Journals gives the error below:
“Cannot delete or cancel because Journal Entry JV-00XXX is linked with Asset HHXXX”
This is really strange as inspecting the Journal Entries show no visible link to any Assets. Even if they were actually linked to Assets, we should still be able to Cancel them!
Any suggestions on how to solve this issue would be greatly appreciated