Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when attempting to save an Opportunity record #409

Closed
tp1989 opened this issue Oct 3, 2016 · 3 comments
Closed

Error when attempting to save an Opportunity record #409

tp1989 opened this issue Oct 3, 2016 · 3 comments

Comments

@tp1989
Copy link

tp1989 commented Oct 3, 2016

Hi Alex,

I get the following error when attempted to save an Opportunity record:

Error: Invalid Data.
Review all error messages below to correct your data.
Apex trigger dlrs_OpportunityTrigger caused an unexpected exception, contact your administrator: dlrs_OpportunityTrigger: execution of AfterUpdate caused by: System.SObjectException: Invalid field Account for Opportunity: Class.dlrs.RollupService.handleRollups: line 770, column 1

This is only when the following Lookup Rollup Summary is active:

image

Any help would be great.

Thanks,

Thomas

@melyssinsf
Copy link

I am having the same issue except it happens when I convert a lead with an opportunity.

@afawcett
Copy link
Collaborator

Not sure why it let you save this rollup? As the relationship field is invalid. It should be AccountId, as per the docs here.

@afawcett
Copy link
Collaborator

afawcett commented Jan 1, 2017

@tp1989 Let me know if changing to AccountId worked or not. If not, we can re-open this issue and keep the conversation going. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants