{"id":120,"date":"2019-02-19T17:48:23","date_gmt":"2019-02-19T17:48:23","guid":{"rendered":"http:\/\/morepalmer.org\/?p=120"},"modified":"2019-06-03T20:48:21","modified_gmt":"2019-06-03T20:48:21","slug":"cpq-spring-19-delete-sbqq__opportunity__c-from-the-quote-object","status":"publish","type":"post","link":"https:\/\/morecpq.com\/index.php\/2019\/02\/19\/cpq-spring-19-delete-sbqq__opportunity__c-from-the-quote-object\/","title":{"rendered":"CPQ Spring \u201819 &#8211; Delete SBQQ__Opportunity__c from the Quote Object."},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/morepalmer.org\/wp-content\/uploads\/2019\/02\/unnamed.png?resize=77%2C46\" alt=\"\" class=\"wp-image-121\" width=\"77\" height=\"46\"\/><\/figure><\/div>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td>When version 26 of Salesforce CPQ + Billing was introduced in September 2016, the SBQQ_Opportunity_c field was replaced by SBQQ__Opportunity2__c. This field allows you to maintain the relationship between Quotes and Opportunities, and the introduction of SBQQ_Opportunity2_c allowed users to create quotes without first requiring to have an Opportunity record in place.&nbsp;<br><br>Both SBQQ__Opportunity__c and SBQQ__Opportunity2__c should share the same values, so we recommend that you verify that all triggers and customizations reference the new lookup SBQQ__Opportunity2__c field. Any roll-up summaries on the Opportunity object will also need to be removed or redesigned.&nbsp;<br><br>Once you verify that SBQQ__Opportunity__c is not being referenced, you should delete that field and upgrade to Salesforce CPQ Spring &#8217;19 v218.x.&nbsp;<br><br>If you fail to remove the field and attempt to upgrade, you\u2019ll receive the error message: &#8220;common.exception.SfdcSqlException: ORA-20127: maximum depth of master-detail relationship exceeded.&#8221;<\/td><\/tr><\/tbody><\/table>\n","protected":false},"excerpt":{"rendered":"<p>When version 26 of Salesforce CPQ + Billing was introduced in September 2016, the SBQQ_Opportunity_c field was replaced by SBQQ__Opportunity2__c. This field allows you to maintain the relationship between Quotes and Opportunities, and the introduction of SBQQ_Opportunity2_c allowed users to create quotes without first requiring to have an Opportunity record in place.&nbsp; Both SBQQ__Opportunity__c and &hellip;<br \/><a href=\"https:\/\/morecpq.com\/index.php\/2019\/02\/19\/cpq-spring-19-delete-sbqq__opportunity__c-from-the-quote-object\/\" class=\"more-link pen_button pen_element_default pen_icon_arrow_double\">Continue reading <span class=\"screen-reader-text\">CPQ Spring \u201819 &#8211; Delete SBQQ__Opportunity__c from the Quote Object.<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4,35],"tags":[34],"class_list":["post-120","post","type-post","status-publish","format-standard","hentry","category-cpq","category-release","tag-release"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/posts\/120","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/comments?post=120"}],"version-history":[{"count":1,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/posts\/120\/revisions"}],"predecessor-version":[{"id":122,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/posts\/120\/revisions\/122"}],"wp:attachment":[{"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/media?parent=120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/categories?post=120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/morecpq.com\/index.php\/wp-json\/wp\/v2\/tags?post=120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}