i have another issue today, this time i need to catch an Raise Exception from BPM (or know that the BPM execute a Raise Exception somehow) inside of Form Customization. for then stop custom code execution.
When debugging, epicor show the exception raised, but wont stop the execution of custom code calling the BPM Method.
Raise Exception BPM will actually display an exception error and not necessarily throw it back to the calling code, you can get around some of this by invoking the BO’s yourself. If you invoke the BO it will (generally) throw an actual exception back at you
oTrans.Update() is invoking the built in adapters so it will handle the popup the normal way that it does.
If you were to create an instance of the BO in your code and invoke Update method directly then you would receive the exception
Ok, so, how can i get the DataSet? i know the GetById on custom code outside of epicor… now im inside on a custom form, dont have a Session object from Ice.Core, or impl class instanciated, have an example to show? i just using adapters cause im dont know hoy get the impl class inside form customization.