(数式項目、項目自動更新、入力規則で) 新しい数式を作成するときに、次のようなエラーが生じることがあります。
(オブジェクト名) のオブジェクト参照の最大数 (15) に達しました
この数式項目を保存するためには、リレーションを少なくとも 1 つ削除する必要があります。
この数式項目で参照される関連オブジェクト:
このエラーは、オブジェクトあたりのリレーションの拡大 (「クロスオブジェクト参照」ともいう) の制限に達した場合に発生します。
オブジェクトは、リレーション項目を使用して相互に関連付けることができます。オブジェクトが相互に関連しているときは、数式項目が関連している他のオブジェクトの項目を参照できます。
以下に例を示します。
注意: リレーションの拡大のカウントにおいて、自己参照の参照関係は「別」のオブジェクトとみなされます。たとえば、取引先オブジェクトにそれ自体を参照する参照があり、数式で使用されている場合は、別のリレーションの拡大としてカウントされます。
以下の例では、次の点を前提とします。
この例では、1 つのルックアップを介してオブジェクトの 3 つの項目が参照されます。各項目が 1 つのルックアップを介して参照されるため、このリレーションの拡大は 1 つとみなされます。同じオブジェクトが異なるルックアップを介して参照される場合は、個別のリレーションの拡大とみなされます。
3 つのリレーションの拡大
Object1 に数式を作成すると、次のように別のオブジェクトを参照します。
LookupObject1__r.Amount + LookupObject2__r.Discount / LookupObject3__r.Tax + LookupObject3__r.Tip - LookupObject3__r.Total
ここには 5 つの項目がありますが、参照されているオブジェクトは 3 つのみです (Object1、Object2、Object3)。この場合は 3 つのリレーションの拡大とみなされます。
4 つのリレーションの拡大
まず、次のような数式項目を作成します。
LookupObject1__r.Amount + LookupObject2__r.Discount
続いて、次のような入力規則を作成します。
ISBLANK(LookupObject3__r.Amount) && LookupObject4__r.Discount < 145
この場合は、それぞれのオブジェクト参照が独自のリレーションの拡大になります。数式項目が 2 つのオブジェクト (Object1、Object2) を参照するため、2 つのリレーションの拡大になります。入力規則が 2 つの異なるオブジェクト (Object3、Object4) を参照するため、さらに 2 つのリレーションの拡大が存在します。この両方の数式を合算するとリレーションの拡大が 4 つになります。
他の簡単な例:
上記の例を考えれば、次のようなさまざまな状況でリレーションの拡大が制限に達するものと思われます。
000383053

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.