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
Tolga SunarTolga Sunar 

Cannot reference any field of EmailMessage Parent Case's Account

Hey,

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