You need to sign in to do that
Don't have an account?
Sri Sri 11
Owner name for a Account in soql
Hi,
I am trying get owner name of an account like we see in UI using soql, which i will pass to rest service. I understand that there is releation between Account and User. i am trying to the following query but i am getting errors.
select+name,user.name+from+account
message: select name,user.name from account ^ ERROR at Row:1:Column:13 Didn't understand relationship 'user' 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.
errorCode: INVALID_FIELD
Can some one provide how to get this?
I am trying get owner name of an account like we see in UI using soql, which i will pass to rest service. I understand that there is releation between Account and User. i am trying to the following query but i am getting errors.
select+name,user.name+from+account
message: select name,user.name from account ^ ERROR at Row:1:Column:13 Didn't understand relationship 'user' 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.
errorCode: INVALID_FIELD
Can some one provide how to get this?
select name,owner.name from account
If it works please like