Hi everyone, I'm trying to prevent a vendor bill from being saved when the same vendor has a field value X registered in another previous invoice (The key would be (vendor + X value).
I'm doing this through a userEvent in the beforeSubmit, however, I see that even though it reaches the condition, it doesn't prevent it from being saved and it continues to be saved, nor does it show me the alert message. I know it reaches the condition because it shows me a previous log message that I put. Thank you.