Deploying a Product DataPack with the Vlocity Build Tool (VBT) to a Salesforce Industries org can fail with the error "Too many SOQL queries: 101". The org runs Salesforce Industries CPQ (Vlocity) with Order Management (OM) Standard.
The error comes from the Salesforce governor limit that caps a single transaction at 100 SOQL (Salesforce Object Query Language) queries. The failure typically occurs only for a product with a large number of dependencies, such as many child products, attributes, or related records. Smaller products in the same org deploy successfully.
Debug logs from the failed deployment show many SOQL queries running against the vlocity_cmt__SyncDeltaObject__c object in the Vlocity Communications, Media, and Energy (CME) managed package. The XOMTrackingTriggers trigger runs these queries.
The vlocity_cmt__SyncDeltaObject__c object supports Salesforce Industries Order Management (OM) Plus only. In an org configured for OM Standard, the object serves no purpose, but the trigger remains enabled by default and still fires for each record that the deployment processes.
A product with many dependencies produces many record operations in one transaction. The extra queries from the trigger add to the queries from the deployment itself and push the total past the limit of 100.
Turning off the XOMTrackingTriggers trigger stops the unnecessary SOQL queries on vlocity_cmt__SyncDeltaObject__c, which is needed only for OM Plus. Disabling the trigger in an OM Standard org is safe, because OM Standard processing does not use the tracking data. The change is a configuration setting, so no code changes are required. Re-enable the trigger if the org later moves to OM Plus.
If the error continues after the trigger is disabled, review the debug logs to identify which other object or trigger runs the most SOQL queries during the deployment.
000393802

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.