Ready to get started?

Download a free trial of the Sage 300 SSIS Component to get started:

 Download Now

Learn more:

Sage 300 Icon Sage 300 SSIS Components

Powerful SSIS Source & Destination Components that allows you to easily connect SQL Server with Sage 300 through SSIS Workflows.

Use the Sage 300 Data Flow Components to synchronize with Sage 300 Invoices, Receipts, Refunds, and more. Perfect for data synchronization, local back-ups, workflow automation, and more!

How to Import Sage 300 Data into SQL Server using SSIS



Easily back up Sage 300 data to SQL Server using the SSIS components for Sage 300.

Using SQL Server as a backup for critical business data provides an essential safety net against loss. Backing up data to SQL Server enables business users to more easily connect that data with features like reporting, analytics, and more.

This example demonstrates how to use the CData SSIS Tasks for Sage 300 inside of a SQL Server SSIS workflow to transfer Sage 300 data into a Microsoft SQL Server database.

Add the Components

To get started, add a new Sage 300 source and SQL Server ADO.NET destination to a new data flow task.

Create a New Connection Manager

Follow the steps below to save Sage 300 connection properties in a connection manager.

  1. In the Connection Manager window, right-click and then click New Connection. The Add SSIS Connection Manager dialog is displayed.
  2. In the Connection Manager type menu, select Sage300. The CData Sage 300 Connection Manager is displayed.
  3. Configure connection properties.

    Sage 300 requires some initial setup in order to communicate over the Sage 300 Web API.

    • Set up the security groups for the Sage 300 user. Give the Sage 300 user access to the option under Security Groups (per each module required).
    • Edit both web.config files in the /Online/Web and /Online/WebApi folders; change the key AllowWebApiAccessForAdmin to true. Restart the webAPI app-pool for the settings to take.
    • Once the user access is configured, click https://server/Sage300WebApi/ to ensure access to the web API.

    Authenticate to Sage 300 using Basic authentication.

    Connect Using Basic Authentication

    You must provide values for the following properties to successfully authenticate to Sage 300. Note that the provider reuses the session opened by Sage 300 using cookies. This means that your credentials are used only on the first request to open the session. After that, cookies returned from Sage 300 are used for authentication.

    • Url: Set this to the url of the server hosting Sage 300. Construct a URL for the Sage 300 Web API as follows: {protocol}://{host-application-path}/v{version}/{tenant}/ For example, http://localhost/Sage300WebApi/v1.0/-/.
    • User: Set this to the username of your account.
    • Password: Set this to the password of your account.

Configure the Sage 300 Source

Follow the steps below to specify the query to be used to extract Sage 300 data.

  1. Double-click the Sage 300 source to open the source component editor.
  2. In the Connection Manager menu, select the connection manager previously created.
  3. Specify the query to use for the data extraction. For example: SELECT InvoiceUniquifier, ApprovedLimit FROM OEInvoices WHERE AllowPartialShipments = 'Yes'
  4. Close the Sage 300 Source control and connect it to the ADO.NET Destination.

Configure the SQL Server Destination

Follow the steps below to specify the SQL server table to load the Sage 300 data into.

  1. Open the ADO.NET Destination and add a New Connection. Enter your server and database information here.
  2. In the Data access mode menu, select "table or view".
  3. In the Table Or View menu, select the table or view to populate.
  4. Configure any properties you wish to on the Mappings screen.

Run the Project

You can now run the project. After the SSIS Task has finished executing, your database will be populated with Sage 300 data.