以前は主従関係でのみ利用可能だったカスケード削除機能を参照関係にも提供します。
カスケード削除は、セキュリティと共有設定を迂回します。つまり、ユーザーがレコードへのアクセス権を持っていない場合でも、対象参照レコードが削除されるときにレコードを削除できます。レコードが誤って削除されないように、カスケード削除はデフォルトで無効になっています。組織で「Enables cascade delete on custom lookup relationships」 (カスタム参照関係でカスケード削除を有効化) 機能を有効にするには、Salesforce サポートにお問い合わせください。
注意: カスケード削除とその関連オプションは、標準オブジェクトへの参照関係では使用できません。
「カスケード削除がカスタム参照項目で機能しない」のこちらのドキュメンテーションも確認してください。
リクエストを処理するには、システム管理者に「機能有効化 & 制限事項チームへのサポートケース」を作成してもらってください。
以下も含めてください。
私は、カスケード削除機能がセキュリティと共有設定をバイパスすること、つまり、ユーザーがレコードへのアクセス権を持っていなくても対象の参照レコードが削除されるときにレコードを削除できることを理解しました。 (はい/いいえ):
参照関係の親レコードが削除された場合、子レコードの項目履歴管理には削除は記録されません。たとえば、親取引先が削除された場合、子取引先の取引先履歴関連リストには削除が表示されません。
注意: この機能は、次のエラーが発生したシナリオでも使用できます。
「削除処理対象が多すぎます。同時に削除できる結合オブジェクトと子レコードは 100,000 個までです。削除するレコード数を減らしてください。100,000 件を超える子レコードを持つ 1 つのオブジェクトを削除しようとする場合は、オブジェクトを削除する前に、適切な数の子レコードを削除してください。
こちらをクリックして前のページに戻ってください。
DELETE_OPERATION_TOO_LARGE: Cascade deleting too many records.」
000382017

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.