Activity Forums Salesforce® Discussions Has anyone faced this issue "DeleteRestrictedByFkException not found in section Exception"?

  • Prakhar

    Member
    June 13, 2016 at 2:21 pm

    Hii Rachit,

    This issue basically comes up when you try to delete any master record which has an child record associated with it.

    For Example if you are deleting an Account which has an case associated with it, then it will not let you delete the account record and will end up showing that you cannot delete the account record as it has different case associated with it.

    To overcome this issue, if you are getting this error on an vf page then you can show it as an apex error message. As of now this issue has not being resolved by Salesforce and it is still being in an pending cases.

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos