SFDO-Community / declarative-lookup-rollup-summaries

Declarative Lookup Rollup Summaries (DLRS) is a community built and maintained Salesforce application that allows you to create cross object roll-ups declaratively - no code! For install instructions and documentation, visit our website https://sfdo-community-sprints.github.io/DLRS-Documentation/
https://sfdo-community-sprints.github.io/DLRS-Documentation/
BSD 3-Clause "New" or "Revised" License
696 stars 238 forks source link

Error Message Salesforce Change Contact Account Name #317

Closed mnorthrup closed 8 years ago

mnorthrup commented 8 years ago

When trying to change the Account of a Contact in Salesforce, I received this error message. There is a field on the Account that uses the rollup to give a total of all income from all contacts associated with the account.

Apex script unhandled trigger exception by user/organization: 0051a000000OoLs/00D1a000000axsv

dlrs_ContactTrigger: execution of AfterUpdate

caused by: System.DmlException: Update failed. First exception on row 1 with id 0011a00000GTh7JAAT; first error: ENTITY_IS_DELETED, entity is deleted: []

(dlrs)

afawcett commented 8 years ago

Is there any reason why an Account would get deleted as part of this process?

mnorthrup commented 8 years ago

Thanks for your response. Yes. That is exactly what was going to happen. I tried to merge and when that didn’t work, I tried to move the person. It did work after I changed the rollup to a scheduled rollup; but having it run on a schedule defeats the purpose for that particular rollup.

From: Andrew Fawcett [mailto:notifications@github.com] Sent: Wednesday, March 16, 2016 5:34 PM To: afawcett/declarative-lookup-rollup-summaries Cc: Michelle Northrup Subject: Re: [declarative-lookup-rollup-summaries] Error Message Salesforce Change Contact Account Name (#317)

Is there any reason why an Account would get deleted as part of this process?

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHubhttps://github.com/afawcett/declarative-lookup-rollup-summaries/issues/317#issuecomment-197557901

afawcett commented 8 years ago

Do you have Non Profit Start Pack installed?

mnorthrup commented 8 years ago

Yes, I do have the NPSP.


From: Andrew Fawcett notifications@github.com Sent: Sunday, March 20, 2016 6:40 AM To: afawcett/declarative-lookup-rollup-summaries Cc: Michelle Northrup Subject: Re: [declarative-lookup-rollup-summaries] Error Message Salesforce Change Contact Account Name (#317)

Do you have Non Profit Start Pack installed?

You are receiving this because you authored the thread. Reply to this email directly or view it on GitHubhttps://github.com/afawcett/declarative-lookup-rollup-summaries/issues/317#issuecomment-198892876

afawcett commented 8 years ago

I have setup this a tag to group NPSP related issues.

So we can see if we can team up on what i think is a general issue. My personal challenge is i don't have any knowledge of NPSP. @JodiNA over in issue https://github.com/afawcett/declarative-lookup-rollup-summaries/issues/39 has kindly worked with to setup a reproduction org with DLRS and NPSP installed within.

This has already led to one issue being resolved in v2.3 lets see if we can close in on more. I'm happy to create users in this org so we can work to reproduce the issues in that org and i can debug more easily, just message me via SF Community or DM via Twitter your email and i'll setup a user.

ghost commented 8 years ago

I'm seeing this issue as well with the NPSP. We've really appreciated the Declarative Lookup Rollup Summary tool, would love to keep it. Let me know if I can help in any way with testing, etc.

JodiNA commented 8 years ago

@afawcett I have a feeling this may be the same issue as #39 .

afawcett commented 8 years ago

Ok good thanks @JodiNA i hoped you'd chip in and observe something like this. Heading over to issue 39....

JodiNA commented 8 years ago

Awesome. Keep me posted. I'm offline for vacation through 4/3, but after that I'm around to help if I can!

On Friday, March 25, 2016, Andrew Fawcett notifications@github.com wrote:

Ok good thanks @JodiNA https://github.com/JodiNA i hoped you'd chip in and observe something like this. Heading over to issue 39....

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/afawcett/declarative-lookup-rollup-summaries/issues/317#issuecomment-201171384

Jodi Nemser-Abrahams Information & Data Manager Keshet 284 Amory Street Jamaica Plain, MA 02130 617.524.9227x111

Web: www.keshetonline.org Facebook: www.facebook.com/KeshetGLBTJews Twitter: @KeshetGLBTJews https://twitter.com/KeshetGLBTJews Blog: www.myjewishlearning.com/category/keshet/

Subscribe for LGBT Jewish news, resources and inspiration in your inbox http://bit.ly/1E6oJYK.

Registration http://www.keshetonline.org/teenshabbaton/ for our first ever West Coast Shabbaton for LGBTQ and ally teens is open! Find more information here http://www.keshetonline.org/teenshabbaton/.

Stand up for transgender rights. Sign Keshet's petition https://www.keshetonline.org/work/petition-in-support-of-full-transgender-rights-in-massachusetts/support-transgender-rights-in-ma/ calling Massachusetts legislators to support “An Act Relative to Transgender Anti-Discrimination."

A teen. A mom. A straight rabbi and a queer rabbi. See how we are transforming the Jewish community together https://youtu.be/3b8NL5jwt4o.

afawcett commented 8 years ago

See comment here.