I have a custom field within Opportunity called customer_rep__c
which is lookup on Users. I am now querying a bunch of columns from opportunity and the name associated to the customer_rep__c
. I have tried a number of different select statements and I keep getting:
ERROR at Row:1:Column:222
Didn't understand relationship 'User__r' in field path. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names.
How would I get the Customer_Rep's name?