Quantcast
Channel: Sage 100
Viewing all articles
Browse latest Browse all 37842

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

$
0
0
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 37842

Trending Articles



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