Forum Discussion
vinodtc
14 years agoContributor
Hi Helen,
I have changed my script as you suggested. No error is returning now and getting into if condition as return value of Err value is 0 , but attribute values are not displaying. At the end, script execution is successful without any errors. Please find the screenshots.
changed code:
On Error Resume Next
set obj= webservices.TMI_EU_Status.getBDRStatusByBDRID(129409981,"testtest1",0,449048011)
msgbox "Err:" & Err
If Err = 0 Then
msgbox "Pass"
MsgBox obj.BDRID
msgbox obj.price
Else
Log.Error "The web service returned an error (see Additional Info).", Err.Description
End If
Regards,
Vinod
I have changed my script as you suggested. No error is returning now and getting into if condition as return value of Err value is 0 , but attribute values are not displaying. At the end, script execution is successful without any errors. Please find the screenshots.
changed code:
On Error Resume Next
set obj= webservices.TMI_EU_Status.getBDRStatusByBDRID(129409981,"testtest1",0,449048011)
msgbox "Err:" & Err
If Err = 0 Then
msgbox "Pass"
MsgBox obj.BDRID
msgbox obj.price
Else
Log.Error "The web service returned an error (see Additional Info).", Err.Description
End If
Regards,
Vinod