AnsweredAssumed Answered

Date field validation rule in change order

Question asked by HerramientasIT on Oct 26, 2018
Latest reply on Oct 31, 2018 by Grant Bruneau

Hi,

 

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).

 

Rule needed:

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:

 

Execution date:

 

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?

 

Regards,

Facundo

Attachments

Outcomes