Replies: 2 comments 6 replies
-
I would try |
Beta Was this translation helpful? Give feedback.
-
I ran into a similar issue
|
Beta Was this translation helpful? Give feedback.
-
I would try |
Beta Was this translation helpful? Give feedback.
-
I ran into a similar issue
|
Beta Was this translation helpful? Give feedback.
-
Hi @jamessimone, I am running into issues when trying to use relationship fields in child object where clauses because the fields on related record that I need to set up the condition on have not been quarried so I get SOQL error ('RollupDeferredFullRecalcProcessor for job ID 707RT000003hiQg. : SObject row was retrieved via SOQL without querying the requested field: Customer_Insights__c.Opportunity__r'),
Use case: I have a junction object called Customer_Insights__c that has lookups to Opportunity and another custom object called Feature_Request__c. I am trying to count all Customer Insights where related Opportunity is Closed Lost and roll them up to a Feature Request. This is how I have it set up:
I understand why the error happens, but I am wondering if you have any guidance on how to best work around this. I also encountered the same error when trying to use record type in WHERE clause, so I had to hard code the RecordTypeId since SOQL did not like RecordType.Name.
Thank you,
Marija
Beta Was this translation helpful? Give feedback.
All reactions