Skip to main content
Rajeshwari Jain (Xappex LLC) 님이 #Data Management에 질문했습니다

I want fetch Contact Record IDs (PersonContactID) to match the Person Account IDs. How can I get it using SOQL? 

 

#Data Management  #SOQL Queries

답변 8개
  1. 2025년 6월 16일 오전 11:14

    You can get the Contact IDs tied to Person Accounts like this: 

    SELECT Id, PersonContactId FROM Account WHERE IsPersonAccount = TRUE 

     

    Each Person Account has a hidden link to its Contact via PersonContactId. Just filter by IsPersonAccount = TRUE and you're good.