I am trying to query Salesforce opportunities from another Salesforce org using the Query API
I am setting the following query in the endpoint method
Now, the above query works fine and returns all the required Opportunities.
However, now what happens is that if I try to add any relational field in the query, it fails. e.g. the below request fails
Is the above not possible? If not are there any alternatives for the same?
system.debug(results)to display the resulting values? if so, system.debug will not display parent field values of sobjects. The values are there, but must be explicitly enumerated in a debug statement