I'm using Salesforce CPQ for quotation and some problem when changing Primary Field on Quote. (SBQQ__Quote__c)
It has a sub-relationship with custom object and custom field to manage additional information.
The problem is that all of this is lost when the Primary field changes.
I think this data is lost during the process of synchronizing with Opportunity. But there is no way to prove this process.
Even if CPQ Trigger is disabled, data is lost.
SBQQ.TriggerControl.disable(); SBQQ__Quote__c quote = new Quote__c(Id='.......'); quote.SBQQ__Primary__c = false; update quote; // Data Loss (Custom Field and Custom Relationship) SBQQ.TriggerControl.enable();
Is there a way to solve this problem?