Adding the Plug-in Implementation

After you create the plug-in script file, upload the file to NetSuite.

To add the plug-in implementation:

  1. Go to Customization > Plug-ins > Plug-in Implementations > New.

    NetSuite displays the Upload Plug-in Implementation page.

  2. Beside the Script File field, click the plus icon.

  3. Click Choose File, then select the script file that contains your plug-in implementation.

  4. Click Save.

  5. Click Create Plug-in Implementation.

  6. On the Plug-in Implementation page, enter the following information:

    Field or Option

    Description

    Name

    User-friendly name for the implementation.

    This name appears in the plug-in implementation list.

    ID

    Internal ID for the implementation for use in scripting.

    If you do not provide an ID, NetSuite will provide one for you after you click Save. As a developer, when you write code that uses this implementation, you will reference the implementation using this ID.

    Status

    Current status for the implementation.

    Select Testing to have the implementation accessible to the owner of the implementation. Choose Released to have the implementation accessible in a production environment.

    Log Level

    Logging level for the script.

    Select Debug, Audit, Error, or Emergency. The log information appears on the Execution Log subtab for the implementation after you create it.

    Execute As Role

    Role that the script runs as.

    The Execute As Role field provides role-based granularity in terms of the permissions and restrictions of the executing script. Select Current Role to execute the script with the permissions of the currently logged-in NetSuite user.

    If you created a custom role, be sure to test using that role. You can then bundle the custom role to distribute it with the plug-in implementation.

    Description

    Description of the implementation.

    This field is optional.

    Owner

    User account that owns the implementation.

    The default value is the current user’s account.

    Inactive

    Indicates whether the plug-in implementation is inactive and does not run in the account.

    For example, you can make a plug-in implementation inactive to temporarily disable it for testing purposes.

  7. On the Unhandled Errors subtab, select which individual or individuals are notified if script errors occur. By default, the Notify Script Owner box is checked.

    Tip:

    To enter multiple email addresses in the Notify Emails box, separate email addresses with a semicolon.

  8. Click Save.

Related Topics

Administering a Dataset Builder Plug-in

General Notices