Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More

Salesforce CPQ: Prorate Additional Discount Amount Using the ProrateAmountDiscount__c Formula Field

Publish Date: Jun 24, 2026
Description

When a quote's subscription term differs from a product's default subscription term, Salesforce CPQ does not automatically prorate a flat Additional Discount Amount. This means a $10 discount entered on a product with a 12-month default subscription term applies in full even when the quote term is only 6 months, resulting in a lower net price than intended.

To enable prorated discount behavior, a special formula field named ProrateAmountDiscount__c must be created on the Quote Line object. When this field exists, CPQ detects it and automatically prorates the Additional Discount Amount by the ratio of the quote term to the product's default subscription term.

 Example scenario:

- Quote subscription term: 6 months

-Product default subscription term: 12 months 

-Product unit price: $50

-Additional Discount entered: $10

Without proration, the net price calculates as $15. With the ProrateAmountDiscount__c field present, the $10 discount is halved (6 ÷ 12 = 0.5), producing a prorated discount of $5 and a net price of $20.

Important considerations before implementing:

- This feature applies to Additional Discount Amount only. Percent discounts and unit discounts are not prorated when this field exists.

- Users who toggle between amount and percent discount types may experience confusion, because the entered discount amount will not equal the actual amount applied.

- To prevent confusion, it is recommended to disable Additional Discount % and Unit Override options. This is done by creating the Quote Line Additional Discount Unit field and removing percent, Unit Override, and Total Override from the picklist values. Refer to the Additional Discount Unit article for full instructions.

- ProrateAmountDiscount__c is a formula field. Conditional logic can be added to the formula to control when proration applies based on specific use case requirements. 

Resolution

The following steps create the ProrateAmountDiscount__c formula field on the Quote Line object, which activates CPQ's proration behavior for Additional Discount Amounts.

1. Navigate to **Setup > Create > Objects > Quote Line**.

2. Scroll to the Custom Fields & Relationships related list and click **New**.

3. Select the **Formula** field type radio button and click **Next**.

4. Enter the Field Label as `Prorate Amount Discount`. The API Name must be exactly `ProrateAmountDiscount` (CPQ references this API name to trigger proration behavior).

5. Select **Number** as the Formula Return Type.

6. Set Decimal Places to **0** and click **Next**.

7. Enter `1` in the Formula field and click **Next**. This value of 1 acts as a flag that tells CPQ to apply proration. Custom conditional logic can replace this value to control proration selectively.

8. Review and configure Field-Level Security as appropriate for your org, then click **Next**.

9. Click **Save**.

 

Once saved, CPQ will detect the presence of this field on the Quote Line object and begin prorating Additional Discount Amounts based on the ratio of the quote subscription term to the product's default subscription term.

Knowledge Article Number

000382389

 
Loading
Salesforce Help | Article