Extend the required context definitions, configure pricing procedures, and update revenue settings.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Unlimited, and Developer Editions |
| User Permissions Needed | |
|---|---|
| To configure product discovery pricing procedure: |
Customize Application AND Salesforce Pricing Admin AND Product Discovery Admin |
| To update settings and refresh context definitions: | Customize Application |
| To configure pricing procedure: | Salesforce Pricing Design Time User |
| To create procedure plan definitions: |
Procedure Plan Access AND Salesforce Pricing Design Time User |
Configure Product Discovery Pricing Procedure
Select a template and save it as a new pricing procedure, update the context definition, and activate the product discovery pricing procedure.
- From the App Launcher, select Expression Set Templates.
- Select Product Discovery Pricing Procedure.
- Select the dropdown next to Save As and then select New Pricing Procedure.
- Enter 1 for the Rank, select Revenue Cloud for Usage Subtype, and set Active status to true.
- Save your changes.
- Edit the pricing procedure and update the context definition to the newly created EU Product Discovery Context Definition.
- Activate the pricing procedure.
Update Revenue Settings and Refresh Context Definition
Update revenue settings, default pricing procedures, select context definitions and pricing procedures, and sync highlighted definitions.
- Go to Revenue Settings and enable Negative Quantity, Zero Quantity, and Order Events.
- Go to Product Discovery Settings, and select the context definition and pricing procedure you created.
-
Refresh context definition.
- From Setup, in the Quick Find box, enter Context Definitions.
- Select Custom Definitions.
- Select Sync now for any highlighted definitions.
Create a B2C Pricing Procedure
Support B2C pricing processes by creating and activating a custom pricing procedure. Update the price adjustment schedule constants to ensure that your attribute-based and tier-based adjustments are calculated correctly.
- From the App Launcher, find and select Expression Set Templates.
- Select Utilities Sales B2C Pricing Procedure and then click Save As New Pricing Procedure.
- Select Revenue Cloud for usage subtype and enter 1 for rank.
- Save your changes.
- From the App Launcher, find and select Price Adjustment Schedules.
- Copy the IDs for the Standard Attribute Based Adjustment and Standard Tier Based Adjustment schedules.
- Return to your pricing procedure and select the Resource Manager tab.
-
In Constants, enter these details.
- Enter the ID for Standard Attribute Based Adjustment in the Attribute_PriceAdjustmentScheduleId.
- Enter the ID for Standard Tier Based Adjustment in the Tiered_PriceAdjustmentScheduleId.
- Save and activate the pricing procedure.
Create a Procedure Plan Definitions
Create procedure plans for your cart and order so that the transactions run through your B2C pricing procedure. Each plan links a pricing procedure to a process type and a context definition.
- From Setup, in the Quick Find box, enter Procedure Plan Definitions, and select Procedure Plan Definitions.
- Create a procedure plan for the Cart (WebCart) object.
- Select Consumer Sales for process type.
- Select ConsumerSalesContext__stdctx for context definition.
- Add a pricing procedure section and set the type to Pricing Procedure.
- Select the pricing phase and default resolution type.
- Select your new Utilities Sales B2C Pricing Procedure for the pricing procedure.
- Save and activate your pricing procedure.
- Repeat these steps to create a procedure plan definition for the Order object.