I have requirement in Web UI, I need your guidance.
I need to validate the data in web UI when the return sales order is Saved. when there is insufficient data in (one field - no data ) the order we need to give pop up message with options to Proceed or Dont proceed with Save.
Business dont want it to be a mandatory field or a error message in alerts.
I am looking for code/suggestion to achieve Dont proceed with save option to get back to old state and user can enter the data.
I am looking for something like when we select back button after modifying data we get a pop to save , no save or cancel ( When we select Cancel it will stay in the order and can modify the data ).
We need this option when user clicks save button.