Skip to main content
I am getting an error when I try to check the primary checkbox on a quote. It just started happening all of a sudden. Below is a copy of the error.

 

plan2win_ap.updateAPOpportunityAmount: execution of AfterUpdate caused by: System.QueryException: sObject type 'plan2win_ap__ap_account_plan_opportunity__c' is not supported. (plan2win_ap)
2 answers
  1. Jul 17, 2018, 1:03 PM
    I bet LG knows about this "Plan2Win" app and it is present on the org.

     

    This Plan2Win is not Salesforce; it is either some custom work someone did at youre company or an installed 3rd party app.  When you select "Primary" in the CPQ quote, the $$$ is updated to the opportunity.  when CPQ makes this change this Plan2Win app is making a change and or forcing itself in a vioaltion.  

     

    I have a validation rule that opportunities need to have a close date in the future.  In CPQ if "Primary" is changed on an opportunity that is supposed to be won in the past (IE sales director is not doing their job in keeping their funnel clean) I get a similar error because the change to "Primary" forces a change to the opportunity and a rule is in place that said opportunity can't be updated.  
0/9000