I have two different plugins and they both do stuff on salesOrder.SaveEnd.
In one of the plugins I need to fire the salesOrder.Save() method because I'm writing to the Notes tab. Before I do salesOrder.Save() I remove the plugin's handlers for SaveEnd. That ensures the SaveEnd only fires once.
But this fires the other plugin's SaveEnd event again because I don't know if I can remove the other plugin SaveEnd event handler.
I want both plugins to only fire the SaveEnd event once. What's the trick to removing the handler from another plugin?
version 7.2.1
I'm hesitant to attach the plugins as there's lots of client-specific stuff in there. I hope I've explained the situation enough.