Hi, Currently migrating MINT scripts into BOC, anything MSQ related has worked well with no problems to date. However just started on the first MSO BOC script and have got stuck with error handling.
The Program is MSO700, option 2 amend MST record.
On Second Window MSM700B you have to Validate then Confirm if I have an error that falls over at the final Confirm stage then no problems all works well. However if I have a field that returns an error at the Validate stage then I get stuck. I get the error message continued onto the next record I process even though there is nothing wrong with the record.
I believe the problem is that when you validate and get an error you get a message display window with an edit / close button. I cannot seem to find the Object / methods applicable to these windows to enable me to handle these in the error trapping.
I think this what is causing my gobjMIMS.Screen.MSO.Error.Name etc to retain error values onto the next record.
Any help or advice / code samples on the correct way to handle error trapping in a MSO BOC script would be very helpful and greatly appreciated.
Regards
Glen
The Program is MSO700, option 2 amend MST record.
On Second Window MSM700B you have to Validate then Confirm if I have an error that falls over at the final Confirm stage then no problems all works well. However if I have a field that returns an error at the Validate stage then I get stuck. I get the error message continued onto the next record I process even though there is nothing wrong with the record.
I believe the problem is that when you validate and get an error you get a message display window with an edit / close button. I cannot seem to find the Object / methods applicable to these windows to enable me to handle these in the error trapping.
I think this what is causing my gobjMIMS.Screen.MSO.Error.Name etc to retain error values onto the next record.
Any help or advice / code samples on the correct way to handle error trapping in a MSO BOC script would be very helpful and greatly appreciated.
Regards
Glen