Hey all, I need to write a script that can put the current date into a UDF when the Order Status is changed from "Hold" to "Open". We have the release date UDF set as a table-post-write. This is the code so far. TMPStatus=0 Date=0 retval=oBusObj.GetValue("OrderStatus$",TMPStatus) if TMPStatus = "O" then retval=oBusObj.SetValue(“UDF_Release_Date”, date) end if I'm really new to this and I'm not sure what I'm doing wrong. Any help would be greatly appreciated. Thanks
↧