Skip to Content
0
Former Member
Oct 27, 2010 at 12:43 PM

How to Raise error as a result of a check in ON_SAVE method...

16 Views

Within the BP_HEAD/AccountDetails component/view we have some code in the ON_SAVE method of the vliew controller class. The code within this method makes a call to ERP to perform some processing. However, if an error is returned I need to raise an error on the WebUI. The data being entered is via the WebUI Account screen.

How does one raise an error to be display in the top/right of the WebUI screen, as per the standard?.

Jason