<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sbsSF</author_name>
  <author_url>https://blog.hatena.ne.jp/sbsSF/</author_url>
  <blog_title>S.B.S. Salesforce技術ブログ</blog_title>
  <blog_url>https://sbs-sfdc.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>今回は親オブジェクト→子オブジェクト、子オブジェクト→親オブジェクト の取得方法について紹介します。 標準オブジェクト、カスタムオブジェクトそれぞれの場合に分けて説明します。 標準オブジェクト 今回は、取引先（親）と取引先責任者(子)を参考に説明します。 親(Account)から子(Contact)を参照するとき SELECT Id, Name, (SELECT Id FROM Contacts) FROM Account 子レコードを取得するSOQL文をカッコでくくります。 注意点は、取引先責任者（子）のオブジェクト名がContactsになっている点です。 親から子レコードを取得する際は、子…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsbs-sfdc.hatenablog.com%2Fentry%2F2024%2F10%2F15%2F164747&quot; title=&quot;SOQLを用いて参照関係のオブジェクトを取得する - S.B.S. Salesforce技術ブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/sbsSF/20241003/20241003144302.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-10-15 16:47:47</published>
  <title>SOQLを用いて参照関係のオブジェクトを取得する</title>
  <type>rich</type>
  <url>https://sbs-sfdc.hatenablog.com/entry/2024/10/15/164747</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
