Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Tip: NetSuite will call your static methods
I'm always trying to avoid globals wherever I can, they can introduce very hard to find bugs when you stomp on another piece of code because of name conflicts, don't promote well organized code and make it more difficult to separate subsystems from one script file into another (when we have support for multiple files... hint hint NetSuite)
This might not be news but I wasn't sure if it work so I tried specifying a static object method in the script record and it works.
So instead of just have a global method: OnInit() you can have MyObjectName.OnInit
If your client object is stateful and requires an instance to function correctly you can still define static "entry point" methods that call instance methods internally.
Steve Klett | Senior Developer
NetValue Technology