title: CRM quote/quotedetail delete problem (plugin)
body: <p>I've got a bit of a weird situation in MS CRM 4.0.</p>
  
  <p>The quote form contains extra, custom elements which contain the calculated value with taxes already added; these are not handled by the CRM automatically, and since the laws over here can be tricky, it's best to leave this up to the user to pick the tax rate on various items.</p>
  
  <p>Needless to say, my plugins have to calculate this total amount on their own. I've managed to do this using pre plugins when creating and updating quote detail elements; a child step is registered on pre quote update, which calculates the proper amount using a shared variable (passed on from the parent context of either pre update or pre create quote detail elements).</p>
  
  <p>However, things get strange when I try to do the same with the delete message on a quote detail. First a pre delete message step is fired, as expected. In this step, I created the shared variable which contains the calculated total value of each quote detail that is not deleted. Then I expected a pre update step on quote to be fired, with the parent context being the delete step quote detail... it is not so: instead, the parent context is a quote retrieve step.</p>
  
  <p>As such, I am unable to calculate the total tax value, as I cannot use the shared variable (different contexts). I also cannot use the retrieve step, as within it I won't have the information about which quote detail will in fact be deleted (at this point it hasn't been deleted yet).</p>
  
  <p>This retrieve step was a rather unpleasant surprise. Is it normal? If so, what can I do to pass a shared variable from the quote detail delete step?</p>