
Hi,
I am looking for a Script that sets a Warning after a set date is exceeded.
For an example:
If the date in that Field has passed I want a Warning like "Customer did not pay"
The Fieldname is pz_rechnungsdatum
I am looking for something like that.
I am not experienced with JavaScripts so I am happy to hear from you!
-Julian
Hi,
you should use setFormNotification
getValue
[View:https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/clientapi/reference/attributes/getvalue:750:50]
Then compare the value you get and current date , if the date is exceeded , call below script
setFormNotification
[View:https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/clientapi/reference/formcontext-ui/setformnotification:750:50]