Loading
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Configure the Proration and Subscription Element

          Configure the Proration and Subscription Element

          To calculate time-based pricing, use the Proration and Subscription elements.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise, Unlimited, and Developer Editions of Revenue Cloud where Salesforce Pricing is enabled
          User Permissions Needed
          To create, update, and delete pricing procedures: Salesforce Pricing Design Time

          Let's consider a cloud storage subscription service with a standard monthly price of $150. If a customer starts their subscription mid-month, the pricing model accurately prorates the cost based on the remainder of that month.

          1. Create a pricing procedure. To create a pricing procedure, follow the first 5 steps in Configure Your Pricing Procedure.
          2. Now, add the Pricing Setting element and map these variables.
            • Input Variables
              • Line Item: LineItem
            • Output Variables
              • Price Waterfall: price_water_fall
              • Net Unit Price: NetUnitPrice.
              • Subtotal: ItemNetTotalPrice
          3. Add the Proration element to adjust the price for a partial pricing period and map these variables.
            • Input Variables
              • Effective From: EffectiveFrom
              • Effective To: EffectiveTo
              • Proration Period: PricingTermUnit
              • Start Proration Period: StartProrationPeriod
              • Start Proration Period Day: StartProrationPeriodDay
              • StartProration Period Month: StartProrationPeriodMonth
              • Allow Partial Proration Periods: AllowPartialProrationPeriods
              • Selling Model Type: ProductSellingModel
              • Subscription Term Unit: ItemSubscriptionTermUnit
              • Subscription Term: ItemSubscriptionTerm
            • Output Variables
              • Proration Multiplier: PricingTermCount
          4. Click Pricing Procedure Builder iconand select Include in Output.
          5. Set your preferences for profile access.
          6. Add the Subscription element to calculate the total subscription price based on the input unit price and pricing term count. Map these variables.
            • Input Variables
              • Quantity: LineItemQuantity
              • Proration Multiplier: PricingTermCount
              • Net Unit Price: ListPrice
            • Output Variables
              • Total Subscription Price: ItemNetTotalPrice
              • Subscription Net Unit Price: NetUnitPrice
          7. Click Pricing Procedure Builder iconand select Include in Output.
          8. Finally, set your preferences to view pricing information, profile access, and rank information.
          9. Save your procedure.
          10. Click Simulate to test your procedure.
          11. Enter the input values for your laptop product and click Simulate again.
          scenario period(effective from to effective to) total days multiplier list price quantity calculated price
          Full Monthly Period Apr 18, 2021 – Dec 17, 2021 8 full months 1.0000 (each month) $150 1 $1,200.00
          Partial Period Dec 18, 2021 – Dec 31, 2021 14/ 31 0.4516 $150 1 $67.74
          Partial Period (Leap Year) Feb 10, 2024 – May 9, 2024 81/ 90 Mixed (3 periods: 0.6897, 1.0000, 1.0000) $150 5 $2,234.98
          Full Period (Leap Year) Jan 18, 2024 – May 17, 2024 121 1.0000 (all months) $150 5 $3,000.00

          The price waterfall shows where subscription pricing was applied based on a full leap year's pricing period, confirming your procedure is working as expected.

          Subscription waterfall

           
          Loading
          Salesforce Help | Article