I would like to know which trigger point in a UE I...
# suitescript
n
I would like to know which trigger point in a UE I should check a) if the context is DELETE b) evaluate / old/newrecord for a value c) how to stop the process moving forward if said value is xyz I want to put a meaningful message to the screen. previously a colleague suggested on the before load: context.form.addPageInitMessage({ type: message.Type.ERROR, message: 'You Cannot Delete This Record Until You Have Cancelled The Consignment' }); But I did not see the message and the deletion still happened. I'm going round in circles so any help much appreciated.