Identify ways to ensure that scripts function properly across different environments. Flashcards
The N/runtime module can be used to get runtime settings for what 3 things?
Can be used to view the runtime settings for the script, session, or the user.
How would we use the N/runtime module to get the script parameters?
We would use the function: getCurrentScript().getParameter()
True or False?
We can use the N/runtime module to get data related to the current user (e.g. role, id, name, etc…)
True
True or False?
We are unable to get check the current user’s permission level for a specific permission using the N/runtime module
False
We CAN check the current user’s permission level for a specific permission
True or False?
We can get user preferences using the N/runtime module
True
What N/runtime module function would we use to check for the enabled status of an account wide enabled feature?
isFeatureInEffect()
N/config can be used to what?
Can be used to access NetSuite config settings
What kind of config records is the N/config module capable of loading?
◦ User Preferences
◦ Company Information
◦ Company Preferences
◦ Features
When using the config.load function of the N/config module, what object is returned?
A record.Record object
True or False?
Despite loading config records, when using the N/config module, we do not need to load the N/record module.
True.