I setup my event using toolNew as the OnClick target name, it works. I tried using the name UD01_NewTool which worked for setting the style of the button in a data rule. But does not fire when using the name for the OnClick event.
I thought I was done until I noticed a new row being created in my grid when I clicked on the New Order button.
Based on your response to my last question when I was trying to change the style setting of the button in question, using the name UD01_NewTool I was able to set the disabled style. Using the same name UD01_NewTool for the click event, the event did not fire.
I changed my approach and hid the New and Delete buttons created by the data view and added my own New and Delete buttons on the grid Action Data and linked those to my data rules and New / Delete events and it now works as I had expected.
I’m currently looking for a way to reorganize the Tools in the Overflow menu of the Lines grid in the AP Invoice Entry screen. I think your approach might be useful for what I need.