Identify ways to ensure that scripts function properly across different environments. Flashcards

1
Q

The N/runtime module can be used to get runtime settings for what 3 things?

A

Can be used to view the runtime settings for the script, session, or the user.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How would we use the N/runtime module to get the script parameters?

A

We would use the function: getCurrentScript().getParameter()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

True or False?

We can use the N/runtime module to get data related to the current user (e.g. role, id, name, etc…)

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

True or False?

We are unable to get check the current user’s permission level for a specific permission using the N/runtime module

A

False

We CAN check the current user’s permission level for a specific permission

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

True or False?

We can get user preferences using the N/runtime module

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What N/runtime module function would we use to check for the enabled status of an account wide enabled feature?

A

isFeatureInEffect()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

N/config can be used to what?

A

Can be used to access NetSuite config settings

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What kind of config records is the N/config module capable of loading?

A

◦ User Preferences
◦ Company Information
◦ Company Preferences
◦ Features

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

When using the config.load function of the N/config module, what object is returned?

A

A record.Record object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

True or False?

Despite loading config records, when using the N/config module, we do not need to load the N/record module.

A

True.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly