Data Directive to Stop Sales Order Line from being deleted

,

I have a Data Directive to STOP from Deleting a Sales Order Line if the Unit price is equal to 0.00.
I get the message but it allows me to move passed the display message and delete.

How do I stop it from letting me delete the record?

Thanks for your help
BPM_SOLine_NoDelete.bpm (19.5 KB)

You have just a show message and need a raise exception. I usually just put up the exception without any conditions to make sure the spot you have it will stop the save, then add conditions once I am sure it will stop the save/delete.

1 Like

Thanks Greg, worked great!