1. Docs
  2. arrow-right
  3. Variance Overview
  4. arrow-right
  5. Configure a Variance Integration

Configure a Variance Integration

The major steps to configuring Variance are:

  1. Create the Connection in ItemPath's Settings.
  2. Create an integration in Variance that uses the connection and an appropriate report theme.
  3. Configure any additional integration settings regarding your data (e.g., time zones, tables, data caching).
  4. Map fields to be joined from the two tables (the Power Pick table and the external system).
  5. Create a report that includes the relevant information from the joined tables.

This page will cover the first three steps.

Connection

For details about setting up a connection, see the Connections overview. Variance can use an existing connection to access and retrieve data, but you may need to create a new connection:

  1. Scroll to the bottom of the list of existing connections. Select + to create a new connection.
  2. Enter a Name for this connection.
  3. Select the Type of connection from the menu.
  4. Select the Authentication used for this connection. The kind of authentication used and details required are determined by the system you will be connecting with.
  5. Enter an Address for the connection.
  6. Save your connection.

Create the integration

Next, navigate to the Apps tab of ItemPath and select Variance. The app will display a list of integrations (if any exist) that can be searched or filtered by Report Theme. The theme is the table from Power Pick that will be used to build the Variance report.

There are two workflows for creating a new integration. You can manually fill out the information for an integration inside of the app, or load an integration from a JSON template. This latter workflow is helpful for moving integrations from a development environment to production.

To create a new Variance integration:

  1. Select New Integration.
  2. Enter a name for the integration.
  3. Select the theme to be used for the integration (frequently Materials, but you may need more specific data if your inventory table includes details like lot and serial numbers).
  4. Select the connection from the list of available connections.
  5. Select Create Integration.

This will create a new integration in the Variance app, and you will be brought to the Variance integration page, where you can specify further configuration settings.

 Item Path Variance new integration

Configure the integration

The Variance Integration page allows you to configure the specific details of your Variance integration. Each integration is a scheduled job to retrieve and join data from the external source. 

The main Settings tab allows you to change the following:

  • The integration name.
  • The time zone for any dates or times retrieved by the integration.
  • For how long data should be cached by the Variance app. This is important if the report is running with a workflow, or you are not working with live data that is constantly refreshing in both tables. For example, you can set the cache to reset every day following an inventory update in the ERP. 

Be sure to save any changes made on this tab.

If you need to bring a template from a development or test environment to a production environment, or make a copy, you can use the Download Template button to export a JSON file detailing your configuration for the integration.

The Connections tab allows you to modify or update the connection. You will need to specify the table that is used to store the data in your external system on this tab, as a connection can be used for multiple integration purposes. At the point of time when we are writing, Variance only support integrations that connect to a SQL table in a database. 

After saving mappings to your integration, you have the option to filter the data retrieved by various column values from the SQL database. Multiple filters will use "AND" logic. Note: You will not be able to do this until you have specified the mappings for your integration.