2

I have an org that has split into two. They already were working with two payment processors -> we're all sorted out - contacts and contributions have been migrated over into the spin-off CiviCRM database.

What we can't do is permanently delete the Contacts that have been moved into the spin-off CiviCRM database, because "This contact(s) can not be permanently deleted because the contact record is linked to one or more live financial transactions. Deleting this contact would result in the loss of financial data".

And that's ok with us as we've got all that into their spin-off CiviCRM database now. In fact right now we have double the monies. Is there any way around this - via the GUI?

4

You can turn off this check by setting hidden setting 'allowPermDeleteFinancial' to TRUE either in civicrm.settings.php or using api explorer

global $civicrm_setting;
$civicrm_setting['CiviCRM Preferences']['allowPermDeleteFinancial'] = TRUE;

or

enter image description here

HTH

Pradeep

  • I made the civicrm.settings.php edit and ask this client to give it a try - response was: "Worked!!!!" :-) – KarinG - Semper IT Jan 31 at 4:03
1

I think you need to delete the contributions associated with the contacts that you want to delete before you delete the contacts. If you have also copied those across to the spin-off site then that would also make sense.

  • Thanks Mick - deleting the contacts will delete the contributions - we just got stopped when it was trying to do that. – KarinG - Semper IT Jan 31 at 3:41
  • can you clarify why you couldn't just Find Contributions for all the contacts you wanted to delete, delete the Contributions, then delete the Contacts? – petednz - fuzion Jan 31 at 19:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.