@Ram_Gopal_Rao AFAIK you would have to remove the inter-linking in order to delete the transaction. Also what is the use of linking DN with Invoice since if you want to know which DN is linked to which invoice then you can easily use the links feature in the erpnext.