Notifications
Clear all
Topic starter
Hello all,
I am trying to have a button, either set values or runprocess, push a value to an OBS term with a future date. For example, we are doing a PAP due button for either 3 months, 6 months, 1 year and 2 years. I tried using:
OBSNOW("PAP DUE",ADDDATES(OBSANY("PAP DUE"),"","3","")) - For 3 months
Does anyone know the best way to get this to work?
Thanks!
Posted : August 10, 2012 3:21 am
Since obsterms only accept strings and adddates returns a date, you'll need to convert the calculated date to a string in order to push it to the obs:
OBSNOW("PAP DUE",str(ADDDATES(OBSANY("PAP DUE"),"","3","")))
Posted : August 10, 2012 4:05 am