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.

0/9000