Adding the Plug-in Implementation

After you create the plug-in implementation script file, create a new plug-in implementation. When you create the plug-in implementation, upload the script file and other utility files as required.

To add the script files and create the plug-in implementation:

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

  2. In the Script File field, open the script file or add a new file.

  3. Click Create Plug-in Implementation.

    Select Plug-in Type page
  4. On the Select Plug-in Type page, click Custom GL Lines Plug-in.

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

    Option

    Description

    Name

    User-friendly name for the implementation. The plug-in implementation appears in the following locations:

    • Manage Plug-ins page. Page used by administrators to enable/disable the plug-in implementation in their account.

    • Bundle Builder. Select this name in the Bundle Builder to distribute the plug-in implementation to other accounts.

    • GL Impact page. For each custom lines added by the plug-in implementation, the Custom Script column on the GL Impact page lists the plug-in implementation name.

    ID

    Internal ID for the implementation, used in scripting. If you don't provide one, NetSuite will provide an ID when you click Save.

    Status

    Current status for the implementation. Choose Testing to make it accessible only to the owner of the implementation. Choose Released to make it available to everyone in the account.

    Log Level

    Logging level for the script: select Debug, Audit, Error, or Emergency. These messages appear on the Execution Log subtab for the plug-in implementation.

    Execute As Role

    Role that the script runs as. The Execute As Role field controls the permissions and restrictions for the script. If you select Current Role, the script runs using the permissions of the user who is currently logged in.

    Note:

    You can create a custom role for testing, provided it has the SuiteScript permission. You can bundle the custom role with the plug-in implementation if you want to distribute it. See Test the Plug-in Implementation and Bundle the Plug-in Implementation.

    Description

    Optional description of the implementation that appears on the Plug-In Implementations page.

    Owner

    User account that owns the implementation. By default it's the name of the logged-in user.

    Inactive

    Indicates the plug-in implementation does not run in the account. Inactivate a plug-in implementation to temporarily disable it for testing.

  6. On the Scripts subtab, from the Implementation list, select the script file with the plug-in implementation.

  7. On the Scripts subtab, from the Library Script File list, select any utility script files needed by the plug-in script file.

  8. On the Unhandled Errors subtab, select who is notified if script errors occur. By default the Notify Script Owner box is checked.

    To add more than one email address in the Notify Emails box, separate them with a semicolon.

  9. Click Save. You can see all implementations by going to Customization > Plug-ins > Plug-in Implementations.

Before you can test the plug-in implementation, configure and enable it. See Configuring the Custom GL Lines Plug-in Implementation and Enabling the Custom GL Lines Plug-in Implementation.

Note:

You can use SuiteCloud Development Framework (SDF) to manage saved custom GL lines plug-in implementations as part of file-based customization projects. For information about SDF, see SuiteCloud Development Framework.

You can use the Copy to Account feature to copy one custom GL lines plug-in implementation to another account. When you edit a custom GL lines plug-in implementation, you'll see a Copy to Account option in the upper right corner. For more information, see Copy to Account.

Related Topics

General Notices