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
samyuktha reddy etikayalasamyuktha reddy etikayala 

loop variable must be an SObject or list of Contact

Hi Friends,

When am writing the class for on account and contact above error as been displaying?
 
If same am doing on different account it displaying the output.
 
Please any one help me out it will be appreciable.