locked
ISV Code aborted the operation in CRM 2013 RRS feed

  • Question

  • Hi All,

    I have a subgrid on entity "opportunity" form which is used to add products related to an opportunity record.

    When I try to add "Kit Products" in this subgrid, it shows error "ISV Code aborted the operation" in CRM 2013.

    I have plugin set on adding products into subgrid. But when I try to add "Kit Products", plugin do not fires at all. Even I have commented all code in plugin & just throwing a simple exception, but it never goes in the plugin code on selecting "Kit Products".

    It looks like a CRM issue but not issue with plugin.

    Any help is appreciated.

    Thanks in advance.

    Friday, July 18, 2014 5:10 AM

All replies

  • Hi, 

    As fas as I know, the problem is the following:

    The exception that is thrown is on the entity Opportunity Product.  You are on the Opportunity Form therefore I think CRM cannot forward the PluginExecutionException message to the Opportunity form.

    In your case: Some code in the plugin is throwing an exception. In the first approach your code was buggy and in the second approach you threw the exception on your own.

    Cheers

    Saturday, January 10, 2015 9:49 AM
  • Hi,

    I've got the same problem. I throw an exception in a entity Order Product and the "ISV Code Aborted" appears when i try to add a product that doesn`t have enought quantityonhand. There a solution for shows an exception thats is call from a related entity???

    Thanks!

    Monday, October 5, 2015 10:27 AM