

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# Customer Profiles の標準アセットへの Salesforce オブジェクトのマッピング
<a name="mapping-salesforce-objects-to-asset"></a>

このトピックでは、Customer Profiles の標準アセットオブジェクトの各フィールドに、Salesforce オブジェクトのどのフィールドがマップされるのかを示します。

## Salesforce-Asset オブジェクト
<a name="salesforceaccountobject-asset"></a>

Salesforce-Asset オブジェクト内のすべてのフィールドの一覧を次に示します。
+ ID
+ ContactId
+ AccountId
+ ParentId
+ RootAssetId
+ Product2Id
+ ProductCode
+ IsCompetitorProduct
+ CreatedDate
+ CreatedById
+ LastModifiedDate
+ LastModifiedById
+ SystemModstamp
+ IsDeleted
+ 名前
+ SerialNumber
+ InstallDate
+ PurchaseDate
+ UsageEndDate
+ LifecycleStartDate
+ LifecycleEndDate
+ ステータス
+ 料金
+ 数量
+ 説明
+ OwnerId
+ AssetProvidedById
+ AssetServiceById
+ IsInternal
+ AssetLevel
+ StockKeepingUnit
+ HasLifecycleManagement
+ CurrentMrr
+ CurrentLifecycleEndDate
+ CurrentQuantity
+ CurrentAmount
+ LastViewedDate
+ LastReferencedDate

## 標準アセットに Salesforce-Asset オブジェクトをマッピングする
<a name="mapping-salesforceaccountobject"></a>

Salesforce-Asset オブジェクトのフィールドの一部は、Customer Profiles の標準アセットオブジェクトにマッピングされます。

次の表に、Salesforce-Asset オブジェクトから標準アセットにマッピングできるフィールドを示します。


| Salesforce-Asset のマッピング元フィールド | 標準アセットのマッピング先フィールド | 
| --- | --- | 
| ID | Attributes.sfdcAssetId | 
| ContactId | Attributes.sfdcContactId | 
| AccountId | Attributes.sfdcAccountId | 
| SerialNumber | SerialNumber | 
| StockKeepingUnit | ProductSKU | 
| UsageEndDate | UsageEndDate | 
| ステータス | ステータス | 
| 料金 | 料金 | 
| 数量 | 数量 | 
| 説明 | 説明 | 

Salesforce オブジェクトの Salesforce-Asset 顧客データは、次の表のインデックスを使用して Connect Customer 標準アセットに関連付けられます。


| 標準インデックス名 | Salesforce-Asset のマッピング元フィールド | 
| --- | --- | 
| \_salesforceAssetId | ID | 
| \_salesforceContactId | ContactId | 
| \_salesforceAccountId | AccountId | 

例えば、標準アセットを検索するためには、`ObjectFilter.KeyName` に `_salesforceAssetId` および `_salesforceAccountId` を指定しながら [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html) API を使用できます。特定のプロファイルに関連付けられた Salesforce-Asset オブジェクトは、[ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html) API を`ProfileId` および `ObjectTypeName` を `Salesforce-Asset` に設定して使用すると検索できます。