37 Oracle NetSuite
It is important to understand how to work with Oracle NetSuite in Oracle Data Integrator.
This chapter includes the following sections:
37.1 Introduction
Oracle NetSuite is the world’s leading provider of cloud-based business management software. Oracle NetSuite helps companies manage core business processes with a single, fully integrated system covering ERP/financials, CRM, ecommerce, inventory and more.
Oracle Data Integrator (ODI) seamlessly integrates with Oracle NetSuite. Oracle Data Integrator features are designed to work best with Oracle NetSuite, including reverse-engineering and mappings.
37.1.1 Concepts
The Oracle NetSuite technology concepts map the Oracle Data Integrator concepts as follows: An Oracle NetSuite Instance corresponds to a data server in Oracle Data Integrator. Within this instance, a schema maps to an Oracle Data Integrator physical schema.
37.1.2 Knowledge Modules
Oracle Data Integrator provides the Knowledge Modules (KM) listed in the following table for handling Oracle NetSuite data. It is also possible to use the generic SQL KMs with Oracle NetSuite. See Generic SQL for more information.
Table 37-1 Oracle NetSuite Knowledge Modules
Knowledge Module | Description |
---|---|
LKM NetSuite to Oracle |
Loads data from Oracle NetSuite to an Oracle staging area. |
RKM Oracle NetSuite |
Reverse-engineers tables, views, columns, saved searches and creates data models to use as sources in Oracle Data Integrator mappings. |
37.2 Installation and Configuration
Make sure you have read the information in this section before you start working with the Oracle NetSuite technology:
37.2.1 System Requirements and Certifications
Before performing any installation, you should read the system requirements and certification documentation to ensure that your environment meets the minimum installation requirements for the products you are installing.
The list of supported platforms and versions is available on Oracle Technical Network (OTN):
http://www.oracle.com/technetwork/middleware/data-integrator/documentation/index.html
37.2.2 Technology Specific Requirements
There are no technology-specific requirements for using Oracle NetSuite in Oracle Data Integrator.
37.2.3 Connectivity Requirements
This section lists the requirements for connecting to the Oracle NetSuite database.
Oracle Data Integrator uses the Oracle NetSuite JDBC Driver to connect to the Oracle NetSuite database.
Installing Oracle NetSuite JDBC driver
To install the Oracle NetSuite JDBC driver, perform the following steps:
-
Download the JDBC driver installer from NetSuite and install it.
-
Copy the
NQjc.jar
file into theuserlib
directory. For more information on adding third-party libraries to ODI studio, refer Adding Libraries to ODI studio section of Installing and Configuring Oracle Data Integrator.
Gathering parameters from NetSuite Webpage
In order to define the JDBC connection, you need to retrieve certain parameters from Netsuite. The information required to populate the NetSuite JDBC connection string is available on the NetSuite webpage - Home/Dashboard/Set Up SuiteAnalytics Connect
. On this page, you can view the following information for the user that you logged in with:
- Service Host
- Service Port
- Service Datasource
- Account ID
- Role ID
37.3 Setting up the Topology
Setting up the topology consists of:
37.3.1 Creating an Oracle NetSuite Data Server
37.3.2 Creating an Oracle NetSuite Physical Schema
37.4 Creating and Reverse-Engineering an Oracle NetSuite Model
This section contains the following topics:
37.4.1 Creating an Oracle NetSuite Model
37.4.2 Reverse-engineer an Oracle NetSuite Model
Oracle NetSuite supports only Customized reverse-engineering - which uses a RKM to retrieve the metadata.
To perform a Customized reverse-engineering on an Oracle NetSuite model, use the usual procedure, as described in Reverse-engineering a Model of Developing Integration Projects with Oracle Data Integrator.
Oracle Data Integrator provides the 'RKM Oracle NetSuite' knowledge module for reverse-engineering purposes. If you want to reverse engineer only the tables, you need to select 'Tables' in the 'Types' section. If you want to reverse engineer a Saved Search, you need to select 'Saved Search' and then the 'Type' of the saved search must be selected.
37.5 Designing a Mapping
You can use Oracle NetSuite as a source of a mapping. The KM choice for a mapping determines the abilities and performance of this mapping.
If only JDBC sources are used (that is, no saved searches), you can use the generic JDBC KMs. However, if any of the sources is a saved search, you need to use the 'LKM NetSuite to Oracle' knowledge module.