Salesforce CPQ: Twin Fields

  • Blog
  • Salesforce CPQ: Twin Fields
blog image
26
Sep

Two of the most potent and helpful out-of-the-box tools in CPQ are Price rules and Twin fields. These can help you achieve precise calculations and manage your data in a single place. Today we'll discuss twin fields. Salesforce CPQ passes field values from one object to another object when the latter is created if:

► the fields are editable;
► they have matching API names;
► they have matching field types.

Important to remember: Standard fields cannot be mapped between objects. Note that the Product Code field has different API names on the Product object (ProductCode) and on the Product Option object (SBQQ__ProductCode__c). However, there is a functionality built-in and these fields are still matching as though they are twins.

Now, suppose you've got a field on the Product Object that you want to see on the Quote Line as well. What you have to do is to go and create a field with the same API name and of the same type. Et voila! Salesforce CPQ does all the magic for you!

One-Way Mapping

The principle behind One-Way Mapping is the following: the Objects in first column of the table below transfer their field values to fields with matching types and matching API names to the objects from the second column.

One-Way Mapping Objects and their Description One-Way Mapping Objects and their Description
 

► Mapping in the Configurator

When a bundle is configured, objects in Column 1 transfer their values to the emerging new quote lines. When you access the configurator to reconfigure the bundle, Salesforce CPQ sets product options and configuration attribute values based on matching field values from their related quote lines.

Note: If you mark a bundle a Favorite and then add that favorite bundle to the quote line editor, it won't seize any twin field values.

Mapping in Configurator Options

Tip: If your twin fields are not mapping from one object to another, go to Setup>Quick Find>Installed Packages and click the Configure link next to the Salesforce CPQ package. Then, go to the Additional Settings tab and try taking the "Post Install Steps" by clicking Execute Scripts and retesting your twin fields.

Comments (0)

Leave a Comment