function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ajsalesforceajsalesforce 

Not able to retreive Owner Title and Phone of the account via SOQL query

I have executed following query to retrieve owner details of the account,

 

Select a.Owner.Fax, a.Owner.Phone, a.Owner.Email, a.Owner.Title, a.Owner.Name, a.Owner.FirstName, a.Owner.LastName, a.Owner.Username, a.OwnerId From Account a

 

But somehow only following fields are retreived:

{Name=Demo System, Email=demo@akritiv.comFirstName?=Demo, Id=005A0000000YnfSIAS,LastName?=System}  

 

You will see that Owner Name,Email values are coming but phone title etc are not coming. 

 

Anybody has any idea on this. Please let me know. 



ItbkannanItbkannan

Hi

 

You need enter values for phone number, Title then only it will retrieve the values  for the User

 

I have checked it retrieves perfectly

 

Thanks

Kannan B