Pacejet

NET20.x: Troubleshooting, Explanation of Scripts

Overview

This article is part of a four-article collection that provides a high-level overview of how to troubleshoot common issues with the Pacejet Shipping For NetSuite Bundle 20.x and higher. If you are still unable to resolve an issue after consulting these documents, please contact your Pacejet support representative.


Other Troubleshooting Topics


Explanation of Scripts

All scripts can be found in Customization, Scripting, Scripts.


Script Name

Definition

customscript_pacejet_integration

A script that loads the Quote and Ship button. It is also run on every Pacejet transaction.

This script also performs background integration with Pacejet that pertains to automatic importing and automatic rating.

customscript_pacejet_integration_util

This script is called from the customscript_pacejet_integrationrestlet script to help build the import for users with lower access rights as this script has administrator privileges. These privileges are required to obtain details a user with more limited roles may not have access to.

customscript_pacejet_integrationrestlet

This script builds the import entity for the API call.

customscript_pacejet_queue_mapreduce

The customscript_pacejet_queue_mapreduce process is a background job that picks up jobs in the Pacejet Queue Handler list that need to be fulfilled (you can find this queue under Pacejet, Configure Pacejet, Queue).

customscript_pacejet_integration_webhook

This script handles the updates sent from Pacejet into NetSuite. It will review the size of the update and either immediately update the transaction in NetSuite or add it to the Pacejet Queue Handler if the update has a large number of packages.

customscript_pacejet_schedule_int

This process enables data to be processed that would otherwise not be processed because of NetSuite's data governance.


Script Deployments for customscript_pacejet_schedule_int

The customscript_pacejet_schedule_int script has several different deployments.
You can find these deployments under the Deployments tab.

Deployments.png


Reordering NetSuite Script Execution


Item fulfillment scripts can be ordered from top to bottom. In other words, you can select the order in which the scripts execute.


Follow the steps below to select the order for the scripts:

  1. From the main menu, click Customization, Scripting, and then Scripting Records.

  2. On the Item Shipment row, click Edit.

  3. Click to select the row whose order placement you plan to change.

  4. Do one of the following:

      • Click the dots at the beginning of the selected row, and drag the row up or down.
        dots_move.png

      • Click Move to Top or Move to Bottom.
        move_top_bottom.png

  5. Click Save.