Discussions
Can you detect when Client Script nlapiLoadRecord triggers BeforeLoad User Event?
I should preface this by saying that I know a call to nlapiLoadRecord in client script will run BeforeLoad User Event code under the context of userinterface and with a type = view.
So here's my problem, our Customer record has a BeforeLoad UE that does a number of things, one of which is creates some custom UI fields for displaying a variety of things on the form. Those bits of code run when the context is userinterface and type is view (or edit). That's been working fine. Now I'm writing a suitelet that has a client script which needs to load a Customer record and I'm encountering an error that I traced back to one of my BeforLoad functions...anyway my question isn't about the error.....I'm wondering is there's a simple way of