hello there hopefully someone can shed some light on this problem.
I have a script a client is using in conjunction with Alerts and workflow to flag (checkbox) changes in required dates. However when they upgraded to 5.4.1 it stopped allowing me to set the value of the ""udf date field"" in update 1 it even deletes the required date and stops all functions. for 5.4.0 required date stays and the comparison works fine however we cant set the udf date field, though ultimately we would like it to work in update 1.
Rdate = """" 'required date value
udf_Acknowledge_Date = """" 'Acknowledge date value this is a date UDF
'this section stores the values into the variables
retval = obusobj.getvalue(""RequiredDate$"", Rdate)
retval = obusobj.setvalue(""Commenttext$"", Rdate) 'done to see the stored value of rdate
retval = obusobj.getvalue(""UDF_ORIGINAL_ACKNOWLEDGED_DATE$"", udf_Acknowledge_Date)
'if the UDF is blank then store the required date into it
if udf_Acknowledge_Date = """" then
retval = obusobj.setvalue(""UDF_ORIGINAL_ACKNOWLEDGED_DATE$"",Rdate)
end if
'if the UDF date doesn't equal the required date then tick the check box
if udf_Acknowledge_Date <> rdate then
retval = obusobj.setvalue(""UDF_ALERT_CHG$"", ""Y"")
end if