locked
Quote update plugin not firing when no changes made to Quote RRS feed

  • Question

  • I have a plugin on the Update message for the Quote Entity, Post Stage. It works fine when I edit anything on the quote form then click save.

    But nothing happens when I open a quote, make no edits on quote, then click save. Is there a way to force the plugin to execute anytime user clicks save button.

    My plugin processes the quote details entity. A user can add products but not edit the quote. This is when my plugin does not execute.

     

    Thanks

     

    Thursday, June 17, 2010 2:45 PM

Answers

  • Hi Micahcel,

    If you don't edit anything on  the quote, there will be no update request sent to the server and hence  no plugin execution.

    You can how-ever programmtically change something  on onLoad() event  and this  will make sure once save is clicked  it will make round trip to the server.

    However, since you are interested in quotedetails entity and not quote.  u need to write a plugin on "quotedetail" class and not quote. you can get the parent quoteid from the quotedetail object


    Muhammad Ali Khan
    http://malikhan.wordpress.com
    • Marked as answer by michaell1999 Thursday, June 17, 2010 3:36 PM
    Thursday, June 17, 2010 2:57 PM