RecordAggregationDefinition
親種別
Metadata メタデータ型を拡張し、その fullName 項目を継承します。
ファイルのサフィックスおよびディレクトリの場所
RecordAggregationDefinition コンポーネントは .RecordAggregationDefinition のサフィックスを持ち、RecordAggregationDefinitions フォルダに保存されます。
バージョン
RecordAggregationDefinition コンポーネントは、API バージョン 59.0 以降で利用できます。
特別なアクセスルール
RecordAggregationDefinition メタデータ型にアクセスするには、「レコード集計」権限セットライセンスと「レコード集計アクセス」権限が必要です。
項目
| 項目名 | 説明 |
|---|---|
| aggregateFromObject |
|
| aggregateToObject |
|
| aggregationType |
|
| batchProcessingDefinition |
|
| description |
|
| displayName |
|
| recordAggregationObject |
|
| status |
|
RecordAggregationObject
レコード集計を結合する順序に含まれるオブジェクトを表します。
| 項目名 | 説明 |
|---|---|
| associatedObject |
|
| developerName |
|
| filterLogic |
|
| masterLabel |
|
| recordAggregationJoinCondition |
|
| recordAggregationObjectFilter |
|
RecordAggregationJoinCondition
2 つのレコード集計オブジェクト間の結合における条件を表します。
| 項目名 | 説明 |
|---|---|
| joinField |
|
| navigationSequenceNumber |
|
| relatedJoinField |
|
| relatedRecordAggregationObject |
|
| type |
|
宣言的なメタデータの定義のサンプル
RecordAggregationDefinition コンポーネントの例を次に示します。
1<?xml version="1.0" encoding="UTF-8"?>
2<RecordAggregationDefinition xmlns="http://soap.sforce.com/2006/04/metadata">
3 <aggregateToObject>PartyRelationshipGroup</aggregateToObject>
4 <aggregateFromObject>PartyIncome</aggregateFromObject>
5 <status>Active</status>
6 <aggregationType>Record</aggregationType>
7 <description>Record roll up configuration for party income to party relationship group</description>
8 <displayName>Party Income to Party Relationship Group</displayName>
9 <recordAggregationObject>
10 <associatedObject>PartyRelationshipGroup</associatedObject>
11 <masterLabel>Party Relationship Group Object</masterLabel>
12 <developerName>PartyRelationshipGroupObject</developerName>
13 <recordAggregationJoinCondition>
14 <joinField>Account</joinField>
15 <navigationSequenceNumber>1</navigationSequenceNumber>
16 <relatedJoinField>Account</relatedJoinField>
17 <relatedRecordAggregationObject>AccountContactrelationObject</relatedRecordAggregationObject>
18 <type>AggregateTo</type>
19 </recordAggregationJoinCondition>
20 </recordAggregationObject>
21 <recordAggregationObject>
22 <associatedObject>AccountContactRelation</associatedObject>
23 <masterLabel>Account Contact Relation Object</masterLabel>
24 <developerName>AccountContactRelationObject</developerName>
25 <recordAggregationJoinCondition>
26 <joinField>Contact</joinField>
27 <navigationSequenceNumber>2</navigationSequenceNumber>
28 <relatedJoinField>Party</relatedJoinField>
29 <relatedRecordAggregationObject>PartyIncomeObject</relatedRecordAggregationObject>
30 <type>Intermediate</type>
31 </recordAggregationJoinCondition>
32 </recordAggregationObject>
33 <recordAggregationObject>
34 <associatedObject>PartyIncome</associatedObject>
35 <masterLabel>PartyIncome Object</masterLabel>
36 <developerName>PartyIncomeObject</developerName>
37 </recordAggregationObject>
38</RecordAggregationDefinition>前の定義を参照する package.xml の例を次に示します。
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>*</members>
5 <name>RecordAggregationDefinition</name>
6 </types>
7 <version>59.0</version>
8</Package>マニフェストファイル内のワイルドカードのサポート
このメタデータ型では、package.xml マニフェストファイル内のワイルドカード文字 * (アスタリスク) がサポートされます。マニフェストファイルの使用についての詳細は、「zip ファイルを使用したメタデータのリリースと取得」を参照してください。