I am trying to run a process after a Pay Order cancellation, but I don't know in wich event to do it.
When you cancel a PO the event in execution is a Menu Event, so I do RIGHT-CLICK > CANCEL and a New Form with a Message Box is shown. My problem is that when you press Yes to Confirm or No to reject and the PO Form is activated, I don't know if de response (Success) is from then Cancellation or any other action that uses the generic Form (0).
So, is there any flag or something that shows me this.'? How can I know that is a cancellation.?