

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 将 Salesforce 对象映射到 Customer Profiles 中的标准资产
<a name="mapping-salesforce-objects-to-asset"></a>

本主题列出了 Salesforce 对象中的哪些字段映射到 Customer Profiles 中标准资产对象中的字段。

## Salesforce-Asset 对象
<a name="salesforceaccountobject-asset"></a>

以下是 Salesforce-Asset 对象中所有字段的列表。
+ Id
+ ContactId
+ AccountId
+ ParentId
+ RootAssetId
+ Product2Id
+ ProductCode
+ IsCompetitorProduct
+ CreatedDate
+ CreatedById
+ LastModifiedDate
+ LastModifiedById
+ SystemModstamp
+ IsDeleted
+ Name
+ SerialNumber
+ InstallDate
+ PurchaseDate
+ UsageEndDate
+ LifecycleStartDate
+ LifecycleEndDate
+ Status
+ Price
+ 数量
+ 说明
+ OwnerId
+ AssetProvidedById
+ AssetServiceById
+ IsInternal
+ AssetLevel
+ StockKeepingUnit
+ HasLifecycleManagement
+ CurrentMrr
+ CurrentLifecycleEndDate
+ CurrentQuantity
+ CurrentAmount
+ LastViewedDate
+ LastReferencedDate

## 将 Salesforce-Asset 对象映射到标准资源
<a name="mapping-salesforceaccountobject"></a>

 Salesforce-Asset 对象中字段的子集映射到客户配置文件中的标准资产对象。

下表列出了哪些字段可以从 Salesforce-Asset 对象映射到标准资源。


| Saleforce-Asset 源字段 | 标准资产目标字段 | 
| --- | --- | 
| Id | Attributes.sfdcAssetId | 
| ContactId | Attributes.sfdcContactId | 
| AccountId | Attributes.sfdcAccountId | 
| SerialNumber | SerialNumber | 
| StockKeepingUnit | ProductSKU | 
| UsageEndDate | UsageEndDate | 
| Status | Status | 
| Price | 价格 | 
| Quantity | 数量 | 
| 说明 | Description | 

使用下表中的索引，来自 Salesforce 对象的 Salesforce-Asset 客户数据与 Connect Customer 标准资产相关联。


| 标准索引名称 | Salesforce-Asset 源字段 | 
| --- | --- | 
| \_salesforc AssetId | Id | 
| \_salesforc ContactId | ContactId | 
| \_salesforc AccountId | AccountId | 

例如，您可以在 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)API 中`ObjectFilter.KeyName`使用`_salesforceAssetId`和`_salesforceAccountId`来查找标准资产。您可以使用 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html)API 来查找与特定配置文件关联的 Salesforce-Asset 对象，`ProfileId`并将和`ObjectTypeName`设置为`Salesforce-Asset`。