I'm writing some extensive SuiteScript that executes AfterSubmit on contact records, and I'm trying to figure out how I can alert the person who's creating/editing a contact when (I mean If <g>) the SuiteScript throws an error.
e.g. Maggie May, one of our customer care specialists, is creating a new contact for a customer she's on the phone with. Something she entered into a field caused my SuiteScript to fail and she needs to know so she can tell the customer that something went wrong, our NetSuite Admins (i.e. me) have been informed, and sorry I cannot complete this 'thing' at this time.
Can I add an Alert (tried and failed, but maybe there's a trick to it) or some other kind of on-screen display that Maggie May has to acknowledge before she can continue?
Cheers