+ Start a Discussion
Tolga SunarTolga Sunar 

Cannot reference any field of EmailMessage Parent Case's Account


When I do this query, I am able to get ID's on EmailMessage parent case's standard account lookup field: 
SELECT Parent.AccountId FROM EmailMessage
User-added image

However, when I want to reference a field inside Account, no field returns. Tried standard Account and PersonAccount fields, along with custom fields, bu to no avail.
SELECT Parent.Account.PersonEmail FROM EmailMessage
User-added image

By the way, Account records in this org are Person Accounts. Could be this the reason? Or this is due to some kind of limitation / bug?

Thanks in advance