How to Import NetSuite Data into SQL Server using SSIS



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

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 NetSuite inside of a SQL Server SSIS workflow to transfer NetSuite data into a Microsoft SQL Server database.

About NetSuite Data Integration

CData provides the easiest way to access and integrate live data from Oracle NetSuite. Customers use CData connectivity to:

  • Access all editions of NetSuite, including Standard, CRM, and OneWorld.
  • Connect with all versions of the SuiteTalk API (SOAP-based) and SuiteQL, which functions like SQL, enabling easier data querying and manipulation.
  • Access predefined and custom reports through support for Saved Searches.
  • Securely authenticate with Token-based and OAuth 2.0, ensuring compatibility and security for all use cases.
  • Use SQL stored procedures to perform functional actions like uploading or downloading files, attaching or detaching records or relationships, retrieving roles, getting extra table or column info, getting job results, and more.

Customers use CData solutions to access live NetSuite data from their preferred analytics tools, Power BI and Excel. They also use CData's solutions to integrate their NetSuite data into comprehensive databases and data warehouse using CData Sync directly or leveraging CData's compatibility with other applications like Azure Data Factory. CData also helps Oracle NetSuite customers easily write apps that can pull data from and push data to NetSuite, allowing organizations to integrate data from other sources with NetSuite.

For more information about our Oracle NetSuite solutions, read our blog: Drivers in Focus Part 2: Replicating and Consolidating ... NetSuite Accounting Data.


Getting Started


Add the Components

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

Create a New Connection Manager

Follow the steps below to save NetSuite 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 NetSuite. The CData NetSuite Connection Manager is displayed.
  3. Configure connection properties.

    The User and Password properties, under the Authentication section, must be set to valid NetSuite user credentials. In addition, the AccountId must be set to the ID of a company account that can be used by the specified User. The RoleId can be optionally specified to log in the user with limited permissions.

    See the "Getting Started" chapter of the help documentation for more information on connecting to NetSuite.

Configure the NetSuite Source

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

  1. Double-click the NetSuite 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 Customer.FirstName AS CustomerName, SalesOrder.Total AS SalesOrderTotal FROM SalesOrder, Customer
  4. Close the NetSuite 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 NetSuite 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 NetSuite data.

Ready to get started?

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

 Download Now

Learn more:

NetSuite Icon NetSuite SSIS Components

Powerful SSIS Source & Destination Components that allows you to easily connect SQL Server with live NetSuite data through SSIS Workflows.

Use the NetSuite Data Flow Components to synchronize with Leads, Contacts, Opportunities, Accounts, etc. Perfect for data synchronization, local back-ups, workflow automation, and more!