Loading
 Experience Cloud – Feature Degradation on Lightning Web Runtime SitesRead More
The Trailblazer Community is now read-only Read More
Set Up Decimal Metrics for Sales Agreements

Set Up Decimal Metrics for Sales Agreements

Specify the default number of decimal places for quantity metrics for all sales agreements in your Salesforce org. All quantity metric fields in the Sales Agreements table reflect the number of decimal places specified as the decimal scale. You can order the precise quantity of products you want using decimal values.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Unlimited, and Developer Editions
User Permissions Needed
To define decimal values: Customize Application

When you add a product to the Sales Agreement Products, you can enable the Quantity in Decimals checkbox to add quantity metrics with a decimal value. If this checkbox is not selected, you can only add quantity metrics with an integer value.

If you use the revenue management features for Sales Agreements, then you can specify quantities with decimals in the product configurator when they add products with attributes to sales agreements.

You can override the default setting to increase or decrease the number of decimal places supported for specific sales agreements. To enable users to change the decimal scale for a specific sales agreement, add the Decimal Scale field to the sales agreement page layout.

Integer Fields with their Corresponding Decimal Fields
Integer Fields Decimal Fields
Initial Planned Quantity Initial Planned Quantity Value
Total Planned Quantity Total Planned Quantity Value
Total Actual Quantity Total Actual Quantity Value
Total Forecasted Quantity Total Forecasted Quantity Value
Total Proposed Planned Quantity Total Proposed Planned Quantity Value
  1. In Setup, in the Quick Find box, enter Manufacturing, and then select Sales Agreements.
  2. On the Sales Agreement Setup page, in the Default Decimal Scale section, select a default decimal scale value between 0 and 6. The default value is 2.
    All sales agreements inherit the decimal scale at the time of their creation. If you change the decimal scale option, the change applies only to the sales agreements created after that point. For example, if the default decimal scale is set at 3, it applies to sales agreements created after that point. If the decimal scale is changed to 4, only the sales agreements created after that point reflect this updated value.
  3. To use decimal fields, add the decimal fields to the page layouts for sales agreement, sales agreement product, and sales agreement product schedule.
  4. Ensure you add the decimal fields to the multi-line layouts for the existing sales agreement product.
    You can also perform a mass update for specific products in a sales agreement to increase or decrease decimal quantities. For details, see Multi-Line Layouts for Sales Agreement Products.
 
Loading
Salesforce Help | Article