Hi all,
I am attempting to add in some automation in v15 for the sales order function, specifically to prevent duplication of the client reference number (field client_order_ref).
I have already found the automation section and added the model, trigger and trigger fields (the client ref) but I am stuck on what python code to use to search for duplicates and then show a warning to stop the user from proceeding if it already exists.
Can anyone assist? Thanks in advance!
Apologies I cannot provide a screenshot as I don't have enough karma yet.