Connectors → NetSuite SuiteQL

About NetSuite

NetSuite creates products for enterprise resource planning, financial management, e-commerce, and customer relationship management.

About the NetSuite SuiteQL Connector

NetSuite SuiteQL is a query language that provides advanced query capabilities you can use to access your NetSuite records and data, and it supports querying the analytics data source.

The Incorta Netsuite SuiteQL web services connector supports REpresentational State Transfer (REST) and the following Incorta specific functionality:

FeatureSupported
Chunking
Data Agent
Encryption at Ingest
Incremental Load
Multi-Source
OAuth
Performance Optimized
Remote
Single-Source
Spark Extraction
Webhook Callbacks

Configure the NetSuite SuiteQL Connector in NetSuite

The NetSuite Administrator can configure the SuiteQL connector in NetSuite with the following steps:

Enable NetSuite Web Services

  • Select SetupCompanyEnable Features.
  • Select the SuiteCloud tab.
    • In the SuiteTalk section, select REST Web Services.
    • Select Save.

Create a New NetSuite Integration

  • Select SetupIntegrationManage IntegrationsNew.
  • On the Integration page:
    • Enter a Name for the integration
    • In the Authentication tab, in the OAuth 2.0 section:
      • Select the Authorization Code Grant checkbox.
      • Select the Restlets checkbox.
      • Select the Rest Web Services checkbox.
      • Enter the Redirect URI in the following format: https://<INCORTA_URL>/incorta/service/datasource/oauthRedirect
    • Select Save.
    • Note the Consumer Key and Consumer Secret for use when you create an external data source, as they are only displayed once.
  • Select SetupSetup ManagerCompany Information, and note the Account ID.

Steps to connect NetSuite SuiteQL and Incorta

To connect NetSuite SuiteQL and Incorta, here are the high-level steps, tools, and procedures:

Create an external data source

Here are the steps to create an external data source with the NetSuite SuiteQL connector:

  • Sign in to the Incorta Direct Data Platform™.
  • In the Navigation bar, select Data.
  • In the Action bar, select + NewAdd Data Source.
  • In the Choose a Data Source dialog, in Application, select NetSuite SuiteQL.
  • In the New Data Source dialog, specify the applicable connector properties.
  • To test, select Test Connection.
  • Select Ok to save your changes.

NetSuite SuiteQL connector properties

Here are the properties for the NetSuite SuiteQL connector:

PropertyControlDescription
Data Source Nametext boxEnter the name of the data source
Account IDtext boxEnter the NetSuite Account ID
Consumer Keytext boxEnter the NetSuite Integration Consumer Key
Consumer Secrettext boxEnter the NetSuite Integration Consumer Key
AuthorizebuttonSelect this button to connect to a NetSuite account with an email and password

Create a schema with the Schema Wizard

Here are the steps to create a NetSuite Web Services schema with the Schema Wizard:

  • Sign in to the Incorta Direct Data Platform™.
  • In the Navigation bar, select Schema.
  • In the Action bar, select + NewSchema Wizard.
  • In (1) Choose a Source, specify the following:
    • For Enter a name, enter the schema name.
    • For Select a Datasource, select the NetSuite SuiteQL external data source.
    • Optionally create a description.
  • In the Schema Wizard footer, select Next.
  • In (2) Manage Tables, in the Data Panel, first select the name of the Data Source, and then check the Select All checkbox.
  • In the Schema Wizard footer, select Next.
  • In (3) Finalize, in the Schema Wizard footer, select Create Schema.

Create a schema with the Schema Designer

Here are the steps to create a NetSuite SuiteQL schema using the Schema Designer:

  • Sign in to the Incorta Direct Data Platform™.
  • In the Navigation bar, select Schema.
  • In the Action bar, select + NewCreate Schema.
  • In Name, specify the schema name, and select Save.
  • In Start adding tables to your schema, select NetSuite.
  • In the Data Source dialog, specify the NetSuite SuiteQL table data source properties.
  • Select Add.
  • In the Table Editor, in the Table Summary section, enter the table name.
  • To save your changes, select Done in the Action bar.

NetSuite SuiteQL table data source properties

For a schema table in Incorta, you can define the following NetSuite SuiteQL specific data source properties as follows:

PropertyControlDescription
Typedrop down listThe default is NetSuite
Data Sourcedrop down listSelect the NetSuite SuiteQL external data source
IncrementaltoggleEnable the incremental load configuration for the physical schema table
Querytext boxEnter the query to retrieve data from NetSuite
Update Querytext boxEnable Incremental to configure this property. Define the SQL update query to use during an incremental load. The query and update query should be of the same structure, that is, the same selected columns.
CallbacktoggleEnable post extraction callback, that is, enable callback on the data source data set(s) by invoking a certain callback URL with parameters containing details about the load job
Callback URLtext boxEnable Callback to configure this property. Specify the callback URL.

View the schema diagram with the Schema Diagram Viewer

Here are the steps to view the schema diagram using the Schema Diagram Viewer :

  • Sign in to the Incorta Direct Data Platform™.
  • In the Navigation bar, select Schema.
  • In the list of physical schemas, select the NetSuite SuiteQL physical schema.
  • In the Schema Designer, in the Action bar, select Diagram.

NetSuite schema diagram

The following is an Accounting schema for an external data source that utilizes the NetSuite connector. This subset of the entire NetSuite entity-relationship diagram (ERD) is provided for brevity.

Load the schema

Here are the steps to perform a Full Load of the NetSuite SuiteQL schema using the Schema Designer:

  • Sign in to the Incorta Direct Data Platform™.
  • In the Navigation bar, select Schema.
  • In the list of physical schemas, select the NetSuite SuiteQL physical schema.
  • In the Schema Designer, in the Action bar, select LoadFull Load.
  • To review the load status, in Last Load Status, select the date.

Explore the schema

With the full load of the NetSuite SuiteQL schema complete, you can use the Analyzer to explore the schema, create your first insight, and save the insight to a new dashboard.

To open the Analyzer from the schema, follow these steps:

  • In the Navigation bar, select Schema.
  • In the Schema Manager, in the List view, select the NetSuite SuiteQL physical schema.
  • In the Schema Designer, in the Action bar, select Explore Data.