Workflow customization in ax 2009

Hi All,

I want to show message when a purchase requisition is cancel, while clicking on Action button .

Where I have to write the code for this. Which class is used.

Please help.

Thanks

Nitish

There is a standard inbuilt functionality that when a Purchase requisition is cancelled , along with notification ,you can display the Message .