Loading

Incorrect Quantity Display for Products with SBQQ__AssetConversion__c Set to "One per Unit" During Contract Renewal or Amendment

Дата публикации: Apr 21, 2026
Описание

When renewing or amending a contract in Salesforce CPQ, products with Asset Conversion set to 'One per Unit' display incorrect quantities. Specifically, the quantity of assets is reduced from the original value (e.g., 4) to a lower value (e.g., 1) during the amendment or renewal process.

Решение

Assets can be amended in two ways: through the Contract “Amend” flow or by using the “Amend Assets” button on the Account record.

To correct the quantity issue, please follow the workaround below:

Amend via Contract Flow

To resolve the incorrect quantity calculation, an Apex script is required to update the asset records after they are created or modified.

For root assets:

  • Retrieve the ID of any one of the created assets (for example, <commonRootAssetId>).

  • Update the SBQQ__RootId__c field on all root assets so they share this same value.

For child bundle assets (where Asset Conversion = One per Unit):

  • Update both SBQQ__RootAsset__c and SBQQ__RootId__c fields to the same <commonRootAssetId> across all related child assets.

Once these updates are applied, the system should calculate the correct quantity during the amend or renewal process.

Amend Assets via Account Record

Root Cause:
The issue occurs because the SBQQ__RevisedAsset__c field is not being populated correctly.

Additional Workaround:

In addition to the above workaround, please implement the following: 

  • Identify one asset under the same root and use its ID as <commonRootAssetId> (replace with the actual asset ID).

  • For the remaining assets under the same root, update the SBQQ__RevisedAsset__c field to match <commonRootAssetId>.

In other words, all root assets except the one used as the reference should have SBQQ__RevisedAsset__c set to this common ID.

Номер статьи базы знаний

005318919

 
Загрузка
Salesforce Help | Article