Skip to main content

#Crystal7 人がディスカッション中

これについて Slack で議論することで、すばやく回答を得たり、リアルタイムでサポートを受けたりすることができます。

Hi,  

 

In the Sales Transaction Line Editor, I have enabled "Show Product Quick Add" - however I'm only able to search by Product Name. I would like to be able to search by Product Code in stead, but can't find anything on this online.  

 

This function does not seem to take into account either search layouts or search settings under Index Settings (Product Catalog Management)  

 

Anyone have experience with this?  

Or can tell me that the only option I have is updating Product Name to contain Product Code? 

 

Thanks,  

 

Hanna  

 

#Revenue Cloud @* Salesforce Revenue Cloud *

4 件の回答
  1. 10月27日 12:07

    @Hanna Homb Reistad You can try configuring Product Code as a searchable field in the product index instead of updating Product Name to include Product Code.

     

    Please follow these steps:

    1. Click Create Full Index under 'Use Indexed Data for Product Listing and Search' setting.
    2. Open the Manage Fields & Attributes tab and click Edit.
    3. Locate the Product Code field and enable the Searchable option and save.
    4. Navigate to the Indexes tab and select Rebuild Index > Full Index Rebuild.
    5. Wait for the rebuild to complete successfully.

    After the index is rebuilt, test the search again in the Sales Transaction Line Editor.

    Note:

    Based on my experience, when searching by Product Code, try entering the complete product code rather than only a partial code. Unlike product name searches, partial-code searches may not always return the expected results. 

     

    Please refer to this official salesforce documentation: Configure Searchable Fields & Attributes

      

     

    Hope this helps! 

    #Crystal Lotus Solutions

When a user marks a Quote as Primary, Quote-to-Opportunity synchronization should also be enabled for that Quote? 

To achieve this, I am using the standard syncQuoteOpportunity action in my Flow and have enabled Enable Asynchronous Opportunity Sync in Revenue Settings but still it is not working although the flow is working properly but it is not syncing the QLI to OLI, so is there any other considerations to use. 

 

#Revenue Cloud  #Salesforce Revenue Cloud  #Revenue Management System

2 件の回答
  1. 10月26日 15:36

    @Ayush Negi  Please refer to the official Salesforce documentation for the setup and considerations for Quote-to-Opportunity synchronization in Revenue Cloud:

    https://help.salesforce.com/s/articleView?id=ind.rev_large_tran_quote_to_opportunity_sync_support.htm&type=5

     

     Additionally, please verify the following:

    1. Ensure that the Quote is correctly associated with the intended Opportunity and that both records use the same Price Book (Pricebook2Id).
    2. Check that the Flow invokes the standard syncQuoteOpportunity action with the correct Quote ID.
    3. When the Flow invokes the sync action, verify whether the Syncing checkbox on the Quote becomes checked. If it does, this indicates that synchronization has been initiated, but it does not necessarily confirm successful completion.

    Hope this helps!

    #Crystal Lotus Solutions 

Pratik Pawar が「#Revenue Cloud」で質問

We are migrating from Salesforce CPQ to Revenue Cloud (Agentforce Revenue Management), API v67/v68. We have a custom picklist field Action_Type__c (Add, Amend, Cancel, Renew, No Change, Transfer, Cancel and Renew) that we stamp on Quote Line Item and Quote Action, and it flows to Order Product through the Sales Transaction context definition (Sales Transaction Item attribute mapped in QuoteEntitiesMapping and OrderEntitiesMapping). That part works.

We want the same value on Asset Action and Asset Action Source after the order is activated and assets are created or updated (createOrUpdateAssetFromOrder, called from a record-triggered flow on Order).

What we tried:

  1. Created Action_Type__c (picklist) on Asset Action and Asset Action Source.
  2. In the context definition: added a custom attribute on the Asset Action Source and Asset Action nodes, hydration mapping in AssetEntitiesMapping (Asset Action Source to Asset Action Source), and in AssetToSalesTransactionMapping the Asset Action Source to Sales Transaction Item mapping with ctxAttrHydrationCtxs, following the same pattern we use for another custom field (Average Unit Price).
  3. Activated new versions and ran fresh amendment and renewal orders.

Result: Order Product has the value, but Asset Action and Asset Action Source stay blank. Asset Action and Asset Action Source are not createable or updateable through the API or Apex, so we cannot backfill them either. The only link we have is AssetActionSource.ReferenceEntityItemId (polymorphic to OrderItem or OrderItemDetail).

Questions:

  1. Is it supported to persist a custom field value onto Asset Action or Asset Action Source when assets are created from orders? If yes, which context mapping, node or setting is required (is the Asset context mapping used on the write path, or only for hydration)?
  2. Does createOrUpdateAssetFromOrder copy any custom fields from Order Product to Asset Action Source, and if so how is the mapping defined?
  3. If it is not supported, what is the recommended pattern for reporting the originating action type per Asset Action (sidecar object populated by an Apex trigger on Asset Action Source, or something else)?

Any pointers to documentation or a release note would be appreciated. 

 

#Revenue Cloud  #Salesforce Revenue Cloud

1 件の回答
  1. 10月23日 11:46

    @Pratik Pawar  

    You need to configure the context definition and the relevant SObject mappings for this to work. below steps will help

     

    First you need to add the Action_Type__c attribute and tag to the below nodes in the Sales Transaction or relevant context definition:

    • SalesTransactionItem
    • SalesTransactionAction
    • AssetAction
    • AssetActionSource

     

    Then update the SObject mapping under 

    QuoteEntitiesMapping for context hydration for Quote

    • QuoteLineItem.Action_Type__c → SalesTransactionItem.ActionType__c
    • QuoteAction.Action_Type__c → SalesTransactionAction.ActionType__c

     

    Then update the SObject mapping under 

    OrderEntitiesMapping for context hydration for Order

    • OrderItem.Action_Type__c → SalesTransactionItem.ActionType__c
    • OrderAction.Action_Type__c → SalesTransactionAction.ActionType__c

      

    Then update the SObject mapping under 

    AssetEntitiesMapping for context hydration for Asset

    • AssetActionSource.Action_Type__c → AssetActionSource.ActionType__c 
    • AssetAction.Action_Type__c → AssetAction.ActionType__c

      

    Then update the SObject mapping under 

    AssetToSalesTransaction for cross-context mapping, Legacy View makes it easier to map. Add the Sales Transaction context definition you are currently using to the Connected Objects list on the right-hand side.

    • Map AssetAction.ActionType__c to SalesTransactionAction.ActionType__c.
    • Map AssetActionSource.ActionType__c to SalesTransactionItem.ActionType__c

     

    In my experience, Quote Actions are created for amendments, Renewals and manually created ones don't really work.

     

    Salesforce provides a step-by-step example for mapping a custom field from Order Item to Asset Action Source:

    Example: Map an Installation Date Field – Salesforce Help

     

    Hope this helps!!

    #crystal lotus solutions.