Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

I am getting the below error while trying to delete an oppurtunity

Posted on by 167

Hi All,

when i am trying to delete an opportunity

, I am getting the below error.

could anyone please help me regarding this,

777824.Capture.PNG

<s:Envelope xmlns:s="schemas.xmlsoap.org/.../envelope"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring xmlns:xml="www.w3.org/.../namespace" xml:lang="en-US">int_opportunityrevenuecomponent With Id = 8bb88d82-2c99-e811-8140-70106fa93f61 Does Not Exist</faultstring><detail><OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance"><ActivityId>d39c65f4-8aad-4817-b19a-28bd1b70e6a9</ActivityId><ErrorCode>-2147220969</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"><KeyValuePairOfstringanyType><a:key>ApiExceptionSourceKey</a:key><a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">Step/Microsoft.Crm.Extensibility.ImageRetrievalStep</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiOriginalExceptionKey</a:key><a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">Microsoft.Crm.BusinessEntities.CrmObjectNotFoundException: int_opportunityrevenuecomponent With Id = 8bb88d82-2c99-e811-8140-70106fa93f61 Does Not Exist
   at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, LocalizedEnumLabelCache localizedEnumLabelCache, DatabaseQueryTarget queryTarget)
   at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)
   at Microsoft.Crm.Extensibility.ImageRetrievalStep.RetrieveEntity(BusinessEntityMoniker moniker, EntityExpression entityExpression, PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.ImageRetrievalStep.RetrieveEntityWithColumns(BusinessEntityMoniker businessEntityMoniker, List`1 columns, ContextEntityKey entityRequest, PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.ImageRetrievalStep.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action, PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.Pipeline.&lt;&gt;c__DisplayClass2_1.&lt;Execute&gt;b__0()</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiStepKey</a:key><a:value i:type="b:guid" xmlns:b="schemas.microsoft.com/.../Serialization">84b9d1ca-3e30-11db-b951-000cf1fe02ff</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiDepthKey</a:key><a:value i:type="b:int" xmlns:b="www.w3.org/.../XMLSchema">1</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiActivityIdKey</a:key><a:value i:type="b:guid" xmlns:b="schemas.microsoft.com/.../Serialization">d39c65f4-8aad-4817-b19a-28bd1b70e6a9</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiPluginSolutionNameKey</a:key><a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">System</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiStepSolutionNameKey</a:key><a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">System</a:value></KeyValuePairOfstringanyType></ErrorDetails><Message>int_opportunityrevenuecomponent With Id = 8bb88d82-2c99-e811-8140-70106fa93f61 Does Not Exist</Message><Timestamp>2018-10-11T08:44:07.1924978Z</Timestamp><ExceptionRetriable>false</ExceptionRetriable><ExceptionSource i:nil="true" /><InnerFault><ActivityId>d39c65f4-8aad-4817-b19a-28bd1b70e6a9</ActivityId><ErrorCode>-2147220969</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"><KeyValuePairOfstringanyType><a:key>ApiExceptionSourceKey</a:key><a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">Step/Microsoft.Crm.Extensibility.ImageRetrievalStep</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiOriginalExceptionKey</a:key><a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">Microsoft.Crm.BusinessEntities.CrmObjectNotFoundException: int_opportunityrevenuecomponent With Id = 8bb88d82-2c99-e811-8140-70106fa93f61 Does Not Exist
   at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, LocalizedEnumLabelCache localizedEnumLabelCache, DatabaseQueryTarget queryTarget)
   at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)
   at Microsoft.Crm.Extensibility.ImageRetrievalStep.RetrieveEntity(BusinessEntityMoniker moniker, EntityExpression entityExpression, PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.ImageRetrievalStep.RetrieveEntityWithColumns(BusinessEntityMoniker businessEntityMoniker, List`1 columns, ContextEntityKey entityRequest, PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.ImageRetrievalStep.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action, PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.Pipeline.&lt;&gt;c__DisplayClass2_1.&lt;Execute&gt;b__0()</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiStepKey</a:key><a:value i:type="b:guid" xmlns:b="schemas.microsoft.com/.../Serialization">84b9d1ca-3e30-11db-b951-000cf1fe02ff</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiDepthKey</a:key><a:value i:type="b:int" xmlns:b="www.w3.org/.../XMLSchema">1</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiActivityIdKey</a:key><a:value i:type="b:guid" xmlns:b="schemas.microsoft.com/.../Serialization">d39c65f4-8aad-4817-b19a-28bd1b70e6a9</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiPluginSolutionNameKey</a:key><a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">System</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiStepSolutionNameKey</a:key><a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">System</a:value></KeyValuePairOfstringanyType></ErrorDetails><Message>int_opportunityrevenuecomponent With Id = 8bb88d82-2c99-e811-8140-70106fa93f61 Does Not Exist</Message><Timestamp>2018-10-11T08:44:07.1924978Z</Timestamp><ExceptionRetriable>false</ExceptionRetriable><ExceptionSource i:nil="true" /><InnerFault i:nil="true" /><OriginalException i:nil="true" /><TraceText i:nil="true" /></InnerFault><OriginalException i:nil="true" /><TraceText i:nil="true" /></OrganizationServiceFault></detail></s:Fault></s:Body></s:Envelope>

Thanks in Advance

*This post is locked for comments

  • BadrinathB Profile Picture
    BadrinathB 970 on at
    RE: I am getting the below error while trying to delete an oppurtunity

    Hi Teddy,

    Looks like more or less related field from the entity is missing. Just check the references and debug.

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: I am getting the below error while trying to delete an oppurtunity

    Hi,

    Check if you have any workflows or plugins that trigger on delete. If you found that, kindly debug the component.

  • Mamatha Swamy Profile Picture
    Mamatha Swamy 5,422 on at
    RE: I am getting the below error while trying to delete an oppurtunity

    Check if you have any component like plugin that is triggered on deletion of opportunity and trying to access the opportunityrevenuecomponent. The error says opportunityrevenuecomponent ID 8bb88d82-2c99-e811-8140-70106fa93f61 does not exist which leads me to believe that some code/ relationship setting is at work.

  • Teddykrish Profile Picture
    Teddykrish 167 on at
    RE: I am getting the below error while trying to delete an oppurtunity

    revenue component is an feild where the data is auto populated from another subform and gets it into the main form

  • Mamatha Swamy Profile Picture
    Mamatha Swamy 5,422 on at
    RE: I am getting the below error while trying to delete an oppurtunity

    Would you know what opportunityrevenuecomponent is?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans