I have an Add-on which filters click events on a particular form. It registers and loads ok but fails on the first click on the form even though I am not clicking on the item that is filtered - just clicking any arbitrary item. I can run the Add-on standalone outside the SAP evironment with a development connection string and it works fine. Just can't seen to see what the problem is.
What the add-on attempts to do is to look at the Inventory Transfer form matrix control and depending on the target warehouse listed on a row allow or not allow the transfer by capturing the Add button before click event.