Hi,
I want get name of button or any other identity of button in Plugin Project.
I have 2 button. 1- FulFill Order. 2- Cancel Order
I have created a plugin project(Assembly) and set "statuscode" as parameter. So, whenever statuscode is change, plugin will be called.
According to my requirement, I want to validate few things before FulFill Order. Same way, I want to validate few things before Cancel Order. So I have set pre-operation as event type.
Plugin execute perfectly on the click on Fulfill Order and Cancel Order but I am not getting which button is clicked.
I don't know how can I know which button is clicked. I have separate code for Fulfill and Cancel.
Can anybody suggest me how can I know which button is clicked? or any other logic that suggest which button is clicked?

*This post is locked for comments
I have the same question (0)