Quantcast
Viewing all articles
Browse latest Browse all 37126

Forum Post: Problem with script updating UDF with date based on SO header order status

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

Viewing all articles
Browse latest Browse all 37126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>