Mark the campaign as inactive rather than deleting it.


OR




Delete the campaign from all records.


If after deleting the campaign from all records, if the error still occurs, remove the fund from the GL distribution in the backend of the software