

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 在 Customer Profiles 中將 Salesforce 物件映射到標準資產
<a name="mapping-salesforce-objects-to-asset"></a>

本主題列出 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
+ 狀態
+ Price
+ 數量
+ Description
+ 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 | 
| 狀態 | 狀態 | 
| Price | Price | 
| 數量 | 數量 | 
| Description | Description | 

Salesforce 物件中的銷售資產客戶資料會使用下表中的索引，與 Amazon Connect 標準資產關聯。


| 標準索引名稱 | Salesforce-Asset 來源欄位 | 
| --- | --- | 
| \_salesforceAssetId | Id | 
| \_salesforceContactId | ContactId | 
| \_salesforceAccountId | AccountId | 

例如，您可以使用 `_salesforceAssetId` 和 `_salesforceAccountId` 作為 `ObjectFilter.KeyName`，搭配 [ListProfileObjects](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html) API 來尋找標準資產。您可以使用 [ListProfile 物件](https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_ListProfileObjects.html) API，並將 `ProfileId` 和 `ObjectTypeName` 設定為 `Salesforce-Asset`，以尋找與特定設定檔關聯的 Salesforce-Asset 物件。