Hi, I need to restrict the deletion of a transacti...
# suitescript
c
Hi, I need to restrict the deletion of a transaction record and show the custom error message. I have implemented the UE script to validate the conditions and show the error by preventing the deletion action. But I need to customise the error throwing from the UE Script (before submit) by highlighting the error message. (I have checked the feasibility of implementing the same using the client-side validation, But we can't validate the record deletion like saving record !!) Does anyone have any workaround on this ?
s
What do you mean by highlighting the error message? You can literally just throw an error and itll show the error and nothing else on the page.
c
I want to apply styling for the error message so that the users are notified in the same way.