Loading
Salesforce から送信されるメールは、承認済ドメインからのみとなります続きを読む

How to Update Quote Line Item Quantity with Decimal Values in Revenue Cloud

公開日: Mar 19, 2026
説明

When attempting to update a Quote Line Item (QLI) with a decimal quantity, you may encounter the following error message:

"You can specify a decimal quantity for a product only if it has a unit of measure with a scale greater than or equal to 0. Specify a positive integer for the product quantity and try again."

This error indicates that the product was not been properly configured to support decimal quantities.

Note: Unit of Measure can only be changed from null to non-null. After a Unit of Measure is selected, the field can no longer be modified on the product record.

解決策

To resolve this issue and allow decimal values on Quote Line Items, follow these steps:

Step 1: Assign the Required Permission Set

  • Assign the DecimalQuantityDesigntime permission set to the user performing the update.

 

Step 2: Create a Unit of Measure (UoM)

Define a Unit of Measure that supports decimal precision and rounding rules.

  1. From the App Launcher, search for and select Units of Measure.

  2. Click New.

  3. In the Unit of Measure field, choose New Unit of Measure.

  4. Enter the following details:

    • Name: Enter a meaningful name (this will be visible to users).

    • Unit Code and Type:

      TypeExamples
      Lengthmeters, feet, inches, centimeters
      Weightkilograms, pounds, ounces
      Volumeliters, gallons, cubic meters
      Timeseconds, minutes, hours, days
      Digitalbytes, kilobytes, megabytes
    • Scale: Set the number of decimal places (e.g., 2 for up to 2 decimal values like 2.5).

    • Rounding Method: Choose from Up, Down, or Nearest.

  5. Click Save.

 

Step 3: Assign Unit of Measure to the Product

  1. Navigate to the desired Product.

  2. Edit the product and assign the newly created Unit of Measure.

  3. Save the changes.

 

Testing the Use Case:
Now, add the product to a Quote and update the Quantity on the Quote Line Item. You should be able to enter decimal values without any errors.

ナレッジ記事番号

005093844

 
読み込み中
Salesforce Help | Article