Loading

Enabling Standard Digital Commerce (CPQnext) getting error:"Compiled offer hierarchy is not found. Please run the CPQNext Batch Job"

Julkaisupäivä: Jun 8, 2026
Kuvaus
This issue is being caused because of multiple products with the same product code.

When a basket API is fired, it contains the product code in the request body which is then mapped to Global Group Key. The Global Group Key is then used to fetch the compiled data for the product. Due to multiple products with the same product code, the Global Group Key that is used to fetch compiled data is incorrect and hence, it does not find any compiled data.
Ratkaisu
Step 1
Make the offer/product product code unique across all Product2 records even if the offers/products are marked as inactive.

Query to find duplicate products (by ProductCode):
SELECT ProductCode, COUNT(id)
FROM Product2
GROUP BY ProductCode
HAVING COUNT(id) > 1

Step 2
Run the Vlocity CMT Administration -> Cache Catalog Product Definitions -> GENERATE CATALOG PRODUCT DEFINITIONS jobs
Knowledge-artikkelin numero

000396347

 
Ladataan
Salesforce Help | Article