ShipHawk Guide

ShipHawk-Acumatica Connector Installation Guide

The ShipHawk-Acumatica connector is a solution designed to allow users to install the ShipHawk app for Acumatica. The app is an Acumatica Certified Application (ACA), meaning it adheres to standards set for Acumatica integration and functionality. When the application is successfully installed and configured, ShipHawk is able to sync Acumatica shipments as orders in the ShipHawk platform and complete the order fulfillment process.

With the ShipHawk-Acumatica connector, users are able to:

  • Manually import, publish, upgrade, and delete the ShipHawk app into Acumatica

  • Export shipments and sales orders from Acumatica to the ShipHawk platform, where they register as orders

  • Import ShipHawk confirmed shipments into Acumatica

  • Import ShipHawk created labels into Acumatica

Communication between Acumatica and ShipHawk allows your organization to access ShipHawk services to  fulfill shipments created in Acumatica.

This guide covers the following topics:

Installing the Shiphawk Application

This chapter provides a broad outline of the steps necessary to install the ShipHawk Application in your Acumatica environment. Should you need to in the future, this chapter also outlines the steps required to update, unpublish, or delete the ShipHawk package from the Customization Projects page in Acumatica.

Installation Prerequisites

To install the ShipHawk Application in your instance of Acumatica, you must first ensure you have met the following requirements, listed below:

✔︎ Access to the ShipHawk package file

✔︎ Distribution module is enabled in your Acumatica environment

✔︎ Have minimum S License Tier Acumatica ERP license restriction applied to function in alignment with license tier restrictions

✔︎ Appropriate permissions enabled for the user importing the ShipHawk package

 

Terminology

Term

Definition

App / Connector 

The package that can be installed and loaded into Acumatica. It contains the code that enables integration and interaction between Acumatica and ShipHawk. 

Orders

The object in ShipHawk that represents an order.

Shipments (ShipHawk)

The object in ShipHawk that represents a shipment. Shipments in ShipHawk are created automatically after an order is set to ship.

Sales Orders

The object in Acumatica that represents an order.

Shipments (Acumatica)

The object in Acumatica that represents a shipment. Users sync Shipments in Acumatica to ShipHawk as an Order. 

 

Installation Procedures

You may begin the installation process if you have reviewed the prerequisites and determined they have been met by your organization. 

This section describes the process for manually importing and publishing the ShipHawk package to your Acumatica platform. You will also find instructions for uninstalling, upgrading, and deleting the application from Acumatica. Once you have successfully imported and published the ShipHawk application, you will still need to configure your ShipHawk workspace so that ShipHawk can communicate with your Acumatica platform to fulfill orders. These procedures are intended for your organization’s system administrator.

Importing ShipHawk package 

To import the ShipHawk package into your Customization Projects page

  1. Log in to Acumatica, navigate to  Configuration> Customization > Customization Projects

  2. The Customization Projects page will appear, with a list of the customization projects available for the current application instance.

     

  3. Click the Import button in the form toolbar.  A drop-down menu will appear. 

  4. Select Import New Project from the drop-down menu.

     

  5. Select the Choose File button in the Open Package pop-up window.

     

  6. Select the ShipHawk package file from your computer’s file manager.

  7. Click Open

     

  8. The selected package will display in the open package popup. Click the Upload button to upload the file. It may take a few moments to load on the screen.

If executed correctly, you will see the imported package in the grid.

 

To publish the imported package into Acumatica

  1. Locate the ShipHawk package you imported to the Customization Projects page, displayed as a row in the grid.

  2. Ensure the row containing the ShipHawk solution is selected.

  3. Select the checkbox to the left of the Published column.

    1. You can publish multiple packages by selecting the checkbox for each respective package.

       

  4. Click the Publish button in the form toolbar. A drop-down menu will appear. 

  5. Select the ‘Publish to Multiple Tenants’ option from the menu.

     

  6. A pop-up window will appear titled Publish to Multiple Tenants. From this window, select the Selected checkbox, located in the same row as the Tenant Name ‘ShipHawk’ .

  7. Select the ‘Execute All Database Scripts’ checkbox. Then, click OK.

     

  8. Following the Publish to Multiple Tenants pop-up, the Publish Customization pop-up will appear. When prompted, click Publish.

     

  9. If the package is successfully published, the checkbox under the Published column will display as selected against the ShipHawk package in the Customization Projects grid.

  10. To unpublish your solution, deselect the Published checkbox and click the Unpublish All button in the form toolbar.

Upgrading your ShipHawk Package

To upgrade your ShipHawk package in Acumatica

  1. Log in to the Acumatica instance that contains the published ShipHawk solution.

  2. Navigate back to the Customization projects page. Click Configuration> Customization > Customization Projects

  3. The Customization Projects page will appear. This page should have the published ShipHawk solution displayed as a row in the grid.

  4. Ensure the row containing the ShipHawk solution is selected.

  5. From the form toolbar at the top of the grid, select the Import button. The Import drop-down menu will appear.

  6. Select the ‘Replace Highlighted Project Content’ option from the drop-down menu.

     

  7. Select the Choose File button from the Open Package pop-up window.

  8. Locate and select the updated file from your Computer’s file manager.

  9. Verify that the correct file appears in the Open Package pop-up. Click Upload.

  10. Navigate back to the Custom Projects page and select the recently uploaded file.

  11. Select both versions of the ShipHawk package.

  12. Click on the Publish button, then select the Publish with Cleanup option.

If executed correctly, the new version of the ShipHawk package will have the Publish checkbox selected and the other version will be unselected.

Deleting your ShipHawk Package

If necessary, you can entirely remove the ShipHawk solution from your instance of Acumatica. 

To delete your ShipHawk Package

  1. Log in to the Acumatica instance that contains the ShipHawk solution.

  2. Navigate back to the Customization projects page. Click Configuration > Customization > Customization Projects

  3. The Customization Projects page will appear. This page should contain the ShipHawk solution.

  4. If selected, clear the checkboxes for the ShipHawk package.

  5. Click the Publish button located in the form toolbar. The Compilation pop-up window will appear.

     

  6. Click Publish in the Compilation window.

  7. Sequentially select and delete the rows with the solution packages unpublished. This can be done by highlighting the row containing the package, then clicking the X button in the toolbar to delete the row.

     

If executed correctly, you will no longer see the ShipHawk package in the Customization Projects grid.

Configuring the Shiphawk Workspace

After you have installed and published the ShipHawk application to your instance of Acumatica, you must set up your ShipHawk workspace in Acumatica and ensure the two solutions have successfully connected. The setup process is accomplished by using the ShipHawk Setup and ShipHawk Mapping screens in Acumatica. Both screens are described in detail below.

IMPORTANT: To avoid any issues, be sure to complete the steps described in this section as part of the installation process.

ShipHawk Setup Screen

This section describes how to configure the ShipHawk Setup screen in Acumatica, and provides definitions for each of the fields in the screen. This screen contains settings you can modify to alter the way ShipHawk processes orders from Acumatica. You can also use this screen to test the connection between both solutions. 

To update the ShipHawk Setup screen

  1. If your ShipHawk package was installed correctly, an icon for the ShipHawk application will appear on the More Items menu.

    1. The icon may also appear below the More Items menu, depending on your display size.

       

  2. Navigate to the ShipHawk Setup Screen by clicking More Items > ShipHawk > Setup Screens > ShipHawk Setup.

     

  3. You can modify the different fields in the ShipHawk Setup screen to better align with your organization’s needs. The fields on this screen are defined in the table below:

 

ShipHawk Setup Screen Field Definitions

IMPORTANT: Entering the API URL and API Key is required during the installation process. If you do not enter this information, the integration can stop working until those  fields are populated.

 

This screen includes fields for SHIPHAWK SETUP, PURGE LOG DETAILS, and IMPORT SHIPMENTS SETTINGS.

Allow Delete Sales Order/Shipment

If this field is enabled it means that a user can delete the sales orders that are already synced from Acumatica to ShipHawk, and can also delete shipments in the ShipHawk portal.

Syncing Entity

This drop-down allows you to select whether an order, shipment, or other entity is being synced to ShipHawk at any given time. You can return to this field and manually change the syncing option based on your business requirements at the time.

 

Days To Keep

Users can provide a number of days in the field to keep day logs in the ShipHawk Log Details screen. For instance, if a user enters the number 7, that means log details are purged every 7 days (or once a week).

 

API URL & API Key

Users retrieve this information from the ShipHawk platform connected to their Acumatica instance. The API key is used to test the connection between ShipHawk and Acumatica. This process is described in the following section.

 

Update Freight Cost and Freight Price Fields

Select this option to have ShipHawk write back the freight cost and freight price data to Acumatica.

Update Control Quantity Field

Select this option to have ShipHawk write back the control quantity data to Acumatica.

 

To have ShipHawk write back the freight cost, freight price, and controlled quantity data to Acumatica, be sure to select the Update Freight Cost and Freight Price Fields option and the Update Control Quantity Field option.

 

To test your connection using your API Key

  1. Log in to your ShipHawk TMS platform.

  2. From the main menu, choose > Settings > Developer API.

  3. Get the API URL: On the Developer API screen, the field Use this URL for all API integrations provides the API URL.

  4. Get the API Key: To create a new API key, click CREATE API KEY. In the pop-up, enter a descriptive name for the API key.

  5. In Acumatica, go to the ShipHawk Setup screen.

  6. Paste the API URL and API Key details you copied from the ShipHawk TMS platform to their respective fields in Acumatica.

Entering the API URL and API Key is required during the installation process. If you do not enter this information, the integration can stop working until those  fields are populated.

  1. Click the TEST CONNECTION button located in the form toolbar. If your connection is successful a green checkmark will appear to the right of this button.

  2. If your connection is successful, you will get the following message:

  3. Finally, on the Acumatica ShipHawk Setup screen, in WEBHOOK INTEGRATIONS, click CREATE WEBHOOK.



ShipHawk Mapping Screen

Field mapping allows ShipHawk to extract data from specific Acumatica fields back to the ShipHawk platform. When the ShipHawk application is installed to your instance of Acumatica, this process is done automatically. However, you can use the ShipHawk Mapping screen to manually alter which fields in Acumatic map back to which specific fields in ShipHawk. This section describes how to override native field mappings using the ShipHawk Mapping screen.

 

It is important to note this is a one-time configuration process. Once changes are made they are irreversible. If you require assistance mapping the fields to your specifications, you can contact your ShipHawk Implementation manager.

To update the ShipHawk Mapping screen

  1. Navigate to the ShipHawk Mapping Screen by clicking More Items >ShipHawk > SetupScreens > ShipHawkMapping.

     

  2. The ShipHawk Mapping screen will appear. The screen contains a grid that specifies which fields in ShipHawk map to which fields in Acumatica. 

  3. Click on the Mapping Entity drop-down at the top of the grid. Select whether you would like to modify the Order or Shipment mapped fields.

     

  4. The grid will populate with the default field mappings of the entity you selected. To alter the default field mapping configuration, you must manually alter the fields in the grid.

  5. The ShipHawk Object and ShipHawk Field columns will appear as read-only, meaning they cannot be modified. You can still alter field mappings by modifying fields under the Acumatica View Name and Acumatica Field columns in the grid.

  6. Double-click a record under the Acumatica View Name or Acumatica Field column to alter it. A drop-down menu will appear prompting you to make a different selection.

    1. For example, if you want to alter the Acumatica Field that maps back to the ShipHawk Field ‘phone_number’:

      1. Locate the row the ShipHawk field is in.

      2. Double-click the Acumatica Field that corresponds to the ShipHawk Field ‘phone_number’, which would be Phone1.

      3.  Make a different selection from the drop down.

         

  7. Repeat this process for other fields in Acumatica you wish to change.

  8. If you made any changes to the grid, you can click the Save icon in the form toolbar to save them.


You have configured the Setup Screens in Acumatica to better align with your organization’s shipping process.

Exporting Shipments To ShipHawk

Now that you have confirmed a connection between ShipHawk and Acumatica, you can manually create shipments in Acumatica to be exported to ShipHawk as orders.

This section requires that you enter test data in the Acumatica system in order to verify that data is correctly transferred between your Acumatica and ShipHawk accounts. You will need to enter data in Acumatica that does not interfere with the rest of the processes in the system.


To create a shipment to export in Acumatica

  1. Before you begin creating sales orders, ensure the Syncing Entity field in the ShipHawk Setup screen is set to Order.

     

  2. Navigate to the Sales Order screen. From the menu, click Sales Orders >  New Sales Order. A blank sales order form will appear.

     

  3. In the Sales Order page, Enter an order number in the Order No: field. You can use the lookup icon in the field to select an existing order that has not yet been shipped.

  4. In the Line Details tab, verify there are multiple stock items associated with the sales order. 

    1. You can use the Add Items button at the top of the grid to add stock items if the Line Details grid is empty.

  5. Click the Save icon in the header to save your sales order.


    After you have successfully saved your sales order with multiple stock items, you must create a shipment.

  6. Click the Create Shipment button on the form toolbar of the Sales Order page. Verify the details in the Specify Shipment Parameters pop-up window. You will be redirected to the Shipments screen.

     

  7. Verify that the ShipHawk Shipment Details section is completely blank by default.

  8. Click on the ShipHawk Actions button in the header. Select ‘Export to ShipHawk’ from the drop-down.

You have exported the shipment you created in Acumatica to ShipHawk.


Verify the shipment was exported to ShipHawk as an Order

  1. Log in to your ShipHawk account. Confirm the account you are using is the same account that is linked to Acumatica.

  2. Click the Orders button in the top menu bar. This will bring you to the Orders page.

  3. If your shipment was exported successfully, your shipment number should appear as an Order number on the Orders page.

    1.  You can verify this by entering the order number from the Acumatica Sales Order page into the search box on the ShipHawk Orders page.

       

  4. Click on the Order #.

  5. In the expanded Order page, verify the details of your shipment populated correctly:

    1. Stock item details

    2. Warehouse

    3. Shipping address

    4. Product dimensions

       

  6. You can click on the Print Labels button in the Order Details page to generate the labels associated with your order.

  7. Click Ship. Your Order details page will be updated after you opt to ship your order. 

  8. Click on the Shipment number, located on the title card under the Order number. This will redirect you to the Shipment page.

  9. In the Shipment page, locate the Status field.

  10. Set the Shipment status to Confirmed.

 

Confirm the shipment in Acumatica

  1. Navigate back to the Shipments screen in Acumatica.

  2. The fields in the ShipHawk Shipment Details section should populate the following information accordingly:

    1. Sent to ShipHawk checkbox is selected.

    2. Last Sync Date is no longer blank.

  3. Click the ShipHawk Actions button on the form toolbar. Select the Get Shipment Confirmation action from the drop-down.

     

  4. Click on the ShipHawk Info tab near the grid at the bottom of the Shipments page. The data from the ShipHawk Order details screen should be displayed in the grid below the tab.

     

  5. Click on the Packages tab to the right of the ShipHawk Info tab. The shipment details you confirmed in ShipHawk, along with the order tracking number, should be displayed in the grid below the tab.

Webhooks for Shipment Data 

For performance,  webhooks are used to get the shipment information rather than API calls.

(Note that if an Acumatica user working on a Shipment record selects Actions > Get Shipment Confirmation, an API call is still used on a one-time basis to get the information immediately.)

To configure the webhook, you first create the webhook URL in Acumatica and then set up the webhook in ShipHawk.

Creating Webhook URL in Acumatica

To create a webhook URL in Acumatica:

  1. On the Acumatica user interface, open the Webhooks page.

  2. In the Webhook Name field, enter a name for the ShipHawk webhook, such as “SHWebook”.

  3. Make sure the Active checkbox is selected.

  4. In the Implementation Class field, enter the implementation class, such as “ShipHawk SHWKWebhookHander”.

  5. Upon saving, a URL is generated and displayed in the URL field:



  6. Copy this URL so that you can use it to set up the webhook in ShipHawk.

 

Setting Up Webhook in ShipHawk

To set up the webhook in ShipHawk:

  1. On the ShipHawk user interface, select Settings (gear icon) > Settings > Webhooks to view the Webhooks Management page.

  2. Select Actions > Create New Webhook:



  3. In the Create a new webhook window, in the Callback URL field at the top, paste the URL you copied from Acumatica.
    NOTE: Make sure Use Basic Authentication is not selected.



  4. Under Events, select the shipment.create_from_order event checkbox.

  5. Click Create to save the new webhook setting.

Now, when a shipment is completed, the webhook will be triggered and the response will be sent to Acumatica.

On the Acumatica user interface, on the Webhooks page for the ShipHawk webhook, you can see the activity in the REQUEST HISTORY tab. You can click on a POST request to view the Request Details window.

Additional ShipHawk Screens

In addition to the setup screens, the ShipHawk app contains several other screens that allow you to fully integrate your ShipHawk and Acumatica platforms. This section describes how and when to use these additional screens.

Process Screens

There are two process screens included in the ShipHawk application. These screens allow you to perform bulk functions, such as mass import and export shipments to ShipHawk.

Send Orders/Shipments To ShipHawk screen

The Send Orders/Shipments To ShipHawk screen allows a user to manually send shipments created in Acumatica, one by one. This screen also allows users to set a scheduler to automatically sync shipments as Orders to ShipHawk. Both methods for sending shipments are described below:

  1. Before you begin creating Shipments, ensure the Syncing Entity field in the ShipHawk Setup screen is set to Shipment.

     

  2. In Acumatica, navigate to Sales Orders > New Sales Order.

  3. Follow the instructions for creating a new sales order and shipment as detailed in steps 2-5 of the ‘To create a shipment to export in Acumatica:’ section of this guide.

  4. Before saving your shipment in the Shipments screen, ensure the Status field is set to On Hold. When a shipment is set to On Hold, it can be exported from the Send Orders/Shipments To ShipHawk screen.

     

  5. Navigate back to the Send Orders/Shipments to ShipHawk screen by clicking Other Items > ShipHawk Send Orders/Shipments To ShipHawk. You should see the shipment you placed on hold in the grid.

  6. If you select the checkbox in the same row as the shipment, and click the Process button, the shipment will be exported to ShipHawk from this screen. You can also send shipments in bulk by clicking the Process All button at the top of the grid to send every shipment displayed on the page.

  7. You can log in ShipHawk and verify the shipments were exported by going to the Orders screen in ShipHawk and cross referencing order numbers with the shipment number in Acumatica.

 

To set up an Automation Schedule for syncing orders

  1. From the Send Orders/Shipments To ShipHawk. Screen, click the Timer icon located in the form toolbar. 

  2. The Schedules drop-down will appear. Click Add to add a new scheduler.

     

  3. Clicking Add will take you to the Automation Schedules pop-up window. Here you can specify an interval period for how often orders are automatically sent to ShipHawk.

     

  4. From the Automation Schedules window, enter ‘Automatically Send New Orders to ShipHawk in the Description field.

  5. Click the Schedule tab at the bottom of the screen.

  6. You can set the following parameters for your interval:

    1. Schedule Type: Daily

    2. Starts On: 8:00 AM

    3. Stops On: 9:00 PM 

    4. Every: 00:15 minutes
      You can alter the execution time if you find you do not need your orders to sync so frequently.

       

  7. Click the Save icon in the form toolbar.

You have created a schedule that automatically sends orders to ShipHawk during specified periods of time.

Import ShipHawk Confirmed Shipments screen

From the Import ShipHawk Confirmed Shipments screen. Users can manually import Shipments that have already been confirmed in ShipHawk to Acumatica.

  1. Log in to your ShipHawk account. Confirm the account you are using is the same account that is linked to Acumatica.

  2. Click the Shipments button in the top menu bar. This will bring you to the Shipments page.

     

  3. Verify you have a shipment with Confirmed status by setting the Group By filter to Status.

    1. A list of Shipments should appear under the Confirmed group in the Shipments grid.

    2. If no shipments appear, you can manually change a shipment status to Confirmed by selecting a shipment from the grid and manually changing the status in the Shipment details page.

  4. Return to Acumatica, navigate to Other Items > ShipHawk > Import ShipHawk Confirmed Shipments. The Import ShipHawk Confirmed Shipments screen will appear.

     

  5. The grid should contain all the Confirmed but not Shipped shipments you verified in the ShipHawk Shipments page.

  6. To import a shipment into Acumatica, select the checkbox in the same row as the shipment and click the Process button. You can also perform a bulk import by clicking the Process All button.

     

  7. If you click the Timer icon located to the right of the Process All button, you can schedule the shipments on the grid to be imported automatically.

  8. A processing pop-up window will appear if you opt to import the shipment. When the process is complete it will be confirmed in the window.

Log Details Screen

An additional function supported by the ShipHawk application is the ability to track the  API interactions between the ShipHawk-Acumatica connector and ShipHawk’s API. Visibility regarding this process is provided by the ShipHawk Log Details screen in Acumatica.

To access the ShipHawk Log Details screen

  1. In Acumatica, navigate to Other Items > ShipHawk > ShipHawk Log Details

  2. The API interactions should be displayed as rows in the grid on the ShipHawk Log Details screen.

  3. You can filter the type of interaction by selecting an Entity Type at the top of the grid.

     

  4. You can view the API Request and API Response as columns in the grid. 

  5. When a user exports a shipment from Acumatica to ShipHawk, a new record should display as an Export Entity type. 

  6. You can view the Request from ShipHawk and Response from Acumatica in this grid in the API Request and API Response columns.

     

  7. You can also view whether an API interaction was successful in the Success or Error Msg column in the same grid.

 

 

Contact Technical Support
© ShipHawk 2024. All Rights Reserved.