Adding an Alternate Implementation to NetSuite
Alternate implementations are stored in the New Plug-in Implementation record type, which is a child record to the Custom Plug-in Type record. Before performing the steps in this procedure, see Creating a Custom Plug-in Alternate Implementation
To create a New Plug-in Implementation record:
-
Go to Customization > Plug-ins > Plug-in Implementations > New.
-
Select the script file that contains your alternate implementation, and then click Create Plug-in Implementation.
-
On the New Plug-In Implementation record, enter the following:
-
Name: Enter a user-friendly name for your implementation. This name appears on the Manage Plug-In Implementations page where administrators activate/deactivate the implementations. For more information, see Managing Custom Plug-in Implementations.
-
ID: Enter an internal ID for the implementation. If you do not enter an ID, NetSuite creates one for you when you click Save.
-
Status: Set this to either Testing or Release. Set it to Released when you're ready for the implementation to go live in production.
-
Log Level: Set to the logging level you want for the script.
-
Description: If you want, add a short description of what the alternate implementation includes.
-
Owner: This field defaults to the name of the user who's logged in.
-
Inactive: Specify whether you want the custom plug-in type to be active or inactive.
-
On the Scripts tab, enter the following:
-
Implementation (SuiteScript 1.0 scripts only): Select the script file that has your alternate implementation of the custom plug-in type.
-
Libraries (SuiteScript 1.0 scripts only): If you have a library file with utility functions for your alternate implementation, add it here.
-
-
On the Unhandled Errors tab, specify who to notify if script errors occur. By default, the Notify Script Owner box is checked.
-
-
Click Save.
You can access all your implementations by going to Customization > Plug-ins > Manage Plug-ins.
You can use SuiteCloud Development Framework (SDF) to manage alternate custom plug-in implementations as part of file-based customization projects. For information about SDF, see SuiteCloud Development Framework.
You can use Copy to Account to copy an individual alternate custom plug-in implementation to another account. When you edit an alternate custom plug-in implementation, you'll see a Copy to Account option in the upper right corner. For information about Copy to Account, see Copy to Account.