Setting Up Your SuiteScript Environment

Before working with SuiteScript, you must configure both your NetSuite account and SuiteScript development environment. To do so, see the following:

Enabling SuiteScript

Before you can use SuiteScript, a user with the Administrator role must enable the SuiteScript features that you plan to use.

To enable SuiteScript:

  1. Go to Setup > Company > Enable Features.

  2. Click the SuiteCloud subtab.

  3. Under SuiteScript, check the Client SuiteScript or Server SuiteScript box (or both, depending on the scripts you want to run).

  4. Click Save.

Note:

If the Client SuiteScript feature is enabled, the Custom Code subtab becomes available on entry and transaction forms (see the following screenshot). On this subtab, you select the client script that you want to associate with the current form. For information about attaching client scripts to NetSuite forms, see Associating Custom Code (Client SuiteScript) Files With Custom Forms.

The Custom Code tab on entry and transaciotn forms.

After enabling SuiteScript, continue configuring your NetSuite account to:

After completing the SuiteScript environment setup, see the tutorial in SuiteScript 2.x Hello World for a sample SuiteScript implementation.

Related Topics:

General Notices