You need to sign in to do that
Don't have an account?
cher
Parent relationship queries are not allowed error sales workbench
I executed the following related soql query in salesforce workbench:
select ACT_STATUS_ABT__C, ACCOUNT__R.Name from ACT_STATUS__C where ACT_STATUS_ABT__C != NULL
Here ACT_STATUS__C is the child object of the account (i.e there is a master detail relationship to the account).
This query is working perfectly in the Apex Explorer, But When I execute the same query in the salesforce workbench I am getting the following error:
Parent relationship queries are not allowed.
What could be the reason? The API version of workbench I am using is 22.0
Go to the workbench setting and in the Query & Search option click on the check box "Allows SOQL Parent Relationship Queries" and click on apply setting.
You can able to access the parent relationship queries.