How can i get the ReportsTo field in Contact Record in Apex? When i run the query below i get the error

No such column 'ReportsTo' on entity 'Contact'.

contacts = [SELECT id, name,email,Title,ReportsTo,ReportsTo.name,ReportsTo.Title FROM Contact WHERE AccountId =: Acctid]; 


contacts = [SELECT id, name,email,Title,ReportsTo FROM Contact WHERE AccountId =: Acctid]; 

Both throws the error

Any thoughts what could be the issue?

1 Answer 1


The field name is ReportsToId, which you can see for yourself in the SOAP API Developer Guide page for the Contact object.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .