function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
GlennWGlennW 

Unable to update OpportunityID for OpportunityCompetitor

When I try to update the "OpportunityId" field for an "OpportunityCompetitor" object I don't receive any errors but the OpportunityId is not changed (i.e. the Competitor is not moved to the new Opportunity).  According to the meta-data the OpportunityId field for this object is updateable.

Any Ideas?

Cheers;
GlennW

DevAngelDevAngel

Hi GlennW,

Hmm.. This looks like a bug.  I'll let you know when we have a resolution.  As a work around, you can query the for OpportunityCompetitor that you want to change, create a new one using the correct opp id and the OpportunityCompetitor info from the query, then delete the original OpportunityCompetitor.

I will post back here when the patch is released.

Cheers

ID 47650

Message Edited by DevAngel on 06-14-2004 07:02 AM