I need to validate the execution date in a change order, i have to prevent users from creating change orders if the following rule is not respected according to the type field (see image and also attachments).
If type ('Tipo' in image) is Normal the execution time must be at least "Today()+72hs". And if this is not respected the user cannot save the change order.
Change order type:
I think i have to create a spel file with the validation function and a mod file with the event definition but i am not sure how to do this and documentation is not very clear.
Please, can someone help me with this or give me some tips?