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: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: (dlrs) #916

Closed
mhakikat opened this issue Mar 10, 2020 · 3 comments

Comments

@mhakikat
Copy link

Parent Object | Account Relationship Field | AccountId

Child Object | Opportunity Relationship Criteria
STAGENAME='7-Closed Won'
AND ((Service_Start_Date__c <=Today )OR (
Service_start_date__c< NEXT_N_DAYS:90)) AND
SERVICE_END_DATE__C >= Today
 
Relationship Criteria Fields
StageNameService_Start_Date__cService_End_Date__c

Field to Aggregate | Actual_Opportunity_Value__c Active True

                                                                                                     Calculation Mode | Realtime

Aggregate Operation Sum Calculation Sharing Mode | User
Aggregate Result Field Total_Contract_This_term__c

@mhakikat
Copy link
Author

Hi,
I am using AccounId as a relationship field but still getting this error.any suggestion?

@afawcett
Copy link
Collaborator

afawcett commented Apr 3, 2020

@mhakikat have you reviewed #768 and #409? Note that there maybe more than one rollup not using AccountId.

@afawcett
Copy link
Collaborator

@mhakikat let me know if you need further help and we can re-open this. 👍

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

2 participants