Loading

CPQ Object Edit Error ‘Invalid type: ConsumptionSchedule’

Data pubblicazione: Jul 29, 2024
Descrizione
When the CPQ managed package license has expired and the package is still installed, users may encounter a validation error. Validation errors, similar to the example provided, can appear when making edits to any CPQ or Standard object where a CPQ package trigger exist. These triggers contain a namespace prefix SBQQ.

Error: Invalid Data.
Review all error messages below to correct your data.
Apex trigger SBQQ.OpportunityBefore caused an unexpected exception, contact your administrator: SBQQ.OpportunityBefore: execution of BeforeUpdate caused by: line 1200, column 35: Dependent class is invalid and needs recompilation: Class SBQQ.OrderTestBase : Invalid type: ConsumptionSchedule

This error is a result of a process called Transparent Aggregation (TA). TA is a process by which the Licensure of an Org is evaluated against the current settings of the Org. Once the license has expired or becomes inactive, TA evaluates the status and disables Usage Based Pricing (UBP). When UBP is not present in the org, CPQ triggers fail and restrict all users (CPQ and non-CPQ) from editing CPQ and Standard objects that have a SBQQ trigger assigned. The CPQ Object Relationships article provides a list of these objects.
 
Risoluzione

To prevent these validation issues the package should be uninstalled from the Org. If the license subscription has unintentionally lapsed, notify your Salesforce Account Executive (AE) of the license expiration and renew the package license. However, because an active CPQ license is required to uninstall the managed package, a courtesy license will need to be provisioned by the AE. This will enable UBP and resolve the error on all objects for the duration of the courtesy license.

NOTE: Engineering is actively looking at resolving the dependency which results in the errors.

Numero articolo Knowledge

000390194

 
Caricamento
Salesforce Help | Article