Discover how a bimodal integration strategy can address the major data management challenges facing your organization today.
Get the Report →Connect to NetSuite Data in HULFT Integrate
Connect to NetSuite as a JDBC data source in HULFT Integrate
HULFT Integrate is a modern data integration platform that provides a drag-and-drop user interface to create cooperation flows, data conversion, and processing so that complex data connections are easier than ever to execute. When paired with the CData JDBC Driver for NetSuite, HULFT Integrate can work with live NetSuite data. This article walks through connecting to NetSuite and moving the data into a CSV file.
With built-in optimized data processing, the CData JDBC driver offers unmatched performance for interacting with live NetSuite data. When you issue complex SQL queries to NetSuite, the driver pushes supported SQL operations, like filters and aggregations, directly to NetSuite and utilizes the embedded SQL engine to process unsupported operations client-side (often SQL functions and JOIN operations). Its built-in dynamic metadata querying allows you to work with and analyze NetSuite data using native data types.
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
Enable Access to NetSuite
To enable access to NetSuite data from HULFT Integrate projects:
- Copy the CData JDBC Driver JAR file (and license file if it exists), cdata.jdbc.netsuite.jar (and cdata.jdbc.netsuite.lic), to the jdbc_adapter subfolder for the Integrate Server
- Restart the HULFT Integrate Server and launch HULFT Integrate Studio
Build a Project with Access to NetSuite Data
Once you copy the JAR files, you can create a project with access to NetSuite data. Start by opening Integrate Studio and creating a new project.
- Name the project
- Ensure the "Create script" checkbox is checked
- Click Next
- Name the script (e.g.: NetSuitetoCSV)
Once you create the project, add components to the script to copy NetSuite data to a CSV file.
Configure an Execute Select SQL Component
Drag an "Execute Select SQL" component from the Tool Palette (Database -> JDBC) into the Script workspace.
- In the "Required settings" tab for the Destination, click "Add" to create a new connection for NetSuite. Set the following properties:
- Name: NetSuite Connection Settings
- Driver class name: cdata.jdbc.netsuite.NetSuiteDriver
- URL: jdbc:netsuite:Account Id=XABC123456;Password=password;User=user;Role Id=3;Version=2013_1;
Built-in Connection String Designer
For assistance constructing the JDBC URL, use the connection string designer built into the NetSuite JDBC Driver. Either double-click the JAR file or execute the JAR file from the command-line.
java -jar cdata.jdbc.netsuite.jar
Fill in the connection properties and copy the connection string to the clipboard.
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.
- Write your SQL statement. For example:
SELECT CustomerName, SalesOrderTotal FROM SalesOrder
- Click "Extraction test" to ensure the connection and query are configured properly
- Click "Execute SQL statement and set output schema"
- Click "Finish"
Configure a Write CSV File Component
Drag a "Write CSV File" component from the Tool Palette (File -> CSV) onto the workspace.
- Set a file to write the query results to (e.g. SalesOrder.csv)
- Set "Input data" to the "Select SQL" component
- Add columns for each field selected in the SQL query
- In the "Write settings" tab, check the checkbox to "Insert column names into first row"
- Click "Finish"
Map NetSuite Fields to the CSV Columns
Map each column from the "Select" component to the corresponding column for the "CSV" component.
Finish the Script
Drag the "Start" component onto the "Select" component and the "CSV" component onto the "End" component. Build the script and run the script to move NetSuite data into a CSV file.
Download a free, 30-day trial of the CData JDBC Driver for NetSuite and start working with your live NetSuite data in HULFT Integrate. Reach out to our Support Team if you have any questions.