Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
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