Hi All,
I'm grabbing the value of a UDF during PO Entry on the lines, and it's working with the below code, but I was looking for a way to access it using the ChildHanlde, but I haven't figured out how to do it. Any ideas out there? What would I fill in the XXXX here with? SET oChild = oBusObj.AsObject(oBusObj.GetChildHandle ("XXXX"))
oItemVends = oSession.GetObject("IM_ItemVendor_svc")
if oItemVends <> 0 then 'oItemVends would be zero if insufficient security - will not proceed
Set oItemVends = oSession.AsObject(oItemVends)
retVal = oItemVends.SetKeyValue("APDivisionNo$", sDiv)
retVal = oItemVends.SetKeyValue("VendorNo$", sVendor)
retVal = oItemVends.SetKeyValue("ItemCode$", sItemCode)
retVal = oItemVends.Find()
retval = oItemVends.GetValue("UDF_Inspection$", sInspectionUDF)