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!
Pass functions or Global Variables across entrypoints
In SS1 I remember declaring global variable outside of entry points (e.g pageinit, fieldchanged, saverecord) - with these variables and functions I used to process common business logic and then use the values across all entry points. E.G. Calculate and declare summarized value and keep it stored in a variable, then can use this variable in pageinit or saverecord or fieldchanged - this was useful to have common variables and calculations done and populated.
With SS2 however am unable to do this as we do not have objects like scriptContext etc. available outside of entrypoints, thus unable to create global variables.