Error 88 and UDS - In Sales Order Entry I have two scripts running at Pre-Totals. Most of the time they work without error, however I've found that if a user adds a new shipping address to an existing customer through Sales Order Entry, when they click on the totals tab, they get this error: Error 88, Object doesn't support this property or method: 'oBusObj.GetValue'
Program = sy_maint.pvc and then the order is deleted.
Both scripts seems to generate the error together or alone, right now I just have this one running at pre-totals:
soTotal = 0
canApp = """"
retVal = oBusObj.GetValue(""UDF_SO_TOTAL_2"",soTotal)
retVal = oBusObj.GetValue(""UDF_CAN_APPROVE_SO$"",canApp)
if soTotal < 15000 then retVal = oBusObj.SetValue(""UDF_APPROVED$"",""Y"")end if
if soTotal > 15000 and canApp = ""N"" then retVal = oBusObj.SetValue(""UDF_APPROVED$"",""N"") end if
Any help would be greatly appreciated!