Sales Order Delete Order or Delete Line warning

Would it be possible to identify whether the user has clicked on ‘Delete Order’ or ‘Delete Line’

I want to inform the user which option they have pressed, so before they proceed, they are told it is the entire order or just a line they are deleting.

Any help would be greatly appreciated.

You could put a pre-processing BPM on SalesOrder.MasterUpdate and check for deleted rows on OrderHed vs OrderDtl.

Then throw a BPM Data Form if either is true to confirm if they want to proceed.

EDIT: Use SalesOrder.Update, not SalesOrder.MasterUpdate

Hi Kevin

Thanks for the response. Unfortunately, this doesn’t seem to work. I have created a simple BPM that shows a message, but nothing is appearing.

Am I missing something?

1 Like

I just did a test and it looks like I gave you bad advice. The BPM is the same, but it needs to be on SalesOrder.Update, not SalesOrder.MasterUpdate

Thank you. I didn’t realise there was a difference.

1 Like