Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Trouble with setScript and record level client scripts
I've created a "SuiteLet" (actually just a class that take an nlobjForm and adds controls) and I'm having some trouble running it in a BeforeLoad UE script.
Here is the scenario: I want to display the same SuiteLet ("Address View") on my customized Customer form as well as in a totally different, pure SuiteLet ("Assessment View") form.
This is working just find, in the Customer UE BeforeLoad event I pass the nlobjForm instance to the AddressView class and it builds itself on a new tab. In the AssessmentView SuiteLet I create the nlobjForm instance in the main Run() method then pass it to the AddressView class so it can build itself up. This works great and I was really happy with it.
Steve Klett | Senior Developer
NetValue Technology