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
ReddyReddy 

SObject row was retrieved via SOQL without querying the requested field: Contact.LastName.... ​what is this 

Sukesh Kumar 33Sukesh Kumar 33
Please crosscheck if you have added Contact.LastName while querying.
SFDC LearningSFDC Learning
Please add lastname field in your soql. It will solve your problem

Thanks