Fixing the Plug-in Script

If the job execution in NetSuite ends with Plugin Error, you need to fix the plug-in script that the job uses to import data.

To start with, check that the following details are identical in the generated CSV file and the failing script file:

If you discover any mismatches, you need to resolve them in the script file or in the CSV file.

Tip:

Use any plain text editor, for example Notepad++, to open and update either of the files.

To fix the script file:

  1. In your Planning and Budgeting environment, do the following:

    1. Download the generated CSV file from Inbox/Outbox Explorer or File Browser's inbox. For instructions, see Uploading and Downloading Files Using the Inbox/Outbox Explorer or Using the File Browser in the Oracle Help Center.

    2. Open the downloaded CSV file.

  2. In NetSuite, go to Customization > Plug-ins > Plug-in Implementations, and then do the following:

    1. In the displayed list, find the plug-in script that you want to fix.

      Tip:

      If NetSuite displays a long list of plug-in scripts, you can narrow the list by doing the following:

      1. Expand the Filters area if the filters are not displayed.

      2. From the Script File filter, select the script file name.

    2. In the Script column, click the link to the script file details, and then do one of the following:

      • Click Download to save the script file to disk. Then, do the following:

        1. Use any plain text editor, for example Notepad++, to open the downloaded script file.

        2. Compare the script file with the generated CSV file, and fix any mismatches in the script file.

        3. Upload the script file as described in Using Custom Plug-ins with Planning and Budgeting Sync.

      • Click Edit next to the script file name if you want to update the script file directly in NetSuite. Then, do the following:

        1. Compare the script file with the generated CSV file, and fix any mismatches in the script file.

        2. When finished, click Save to submit your changes.

Related Topics

General Notices