Every now and then, a KMyMoney user asks why he or she cannot delete an account, category or another other object in his data set.
Well, the answer is easy: KMyMoney prevents them from destroying the integrity of their data. This means, the object may be referenced by another object in the data set and this is why KMyMoney disables the delete operation in such a case. The technical term for this is referential integrity. But what are the rules for this to happen?
Transaction, Account, Institution, Payee, Tag, Budget and friends: The following sections show for each object the ones it may be referenced by and in case such a reference exists cannot be deleted.
Transaction, Budget, Schedule
Transaction, Account, Institution, Payee, Tag, Budget, Schedule, Security
Transaction, Account, Institution, Payee, Tag, Budget, Schedule, Currency
Disclaimer: the above may be incomplete or not 100% accurate.