I made this script to pull a UDF from Vendor into a PO and compiled it to PO, but after I select a Vendor I get and error popping up. Below is the code I used. I did the compile again and unselected PO but the error is still coming up. Thanks for any help. ***Did get script removed from running now.
oVendSvc = 0
shipUDF = 0
shipdescUDF = 0
SET oVendSvc = oBusObj.AsObject(oBusObj.GetChildHandle("VendorNo"))
retVal = oVendSvc.GetValue("UDF_SHIPVIA$",shipUDF)
retVal = oBusObj.SetValue("SHIPVIA$",shipUDF)