SuiteQL
SuiteQL is the newer of the two connection methods. This method offers much better performance, especially when you issue large queries. It also supports rich join support, grouping, aggregation, custom list tables, and retrieval of specific columns in your data. However, SuiteQL only supports SELECT queries. As a result, you cannot issue INSERT, UPDATE, or DELETE queries to NetSuite when you are connected via SuiteQL.SuiteTalk
SuiteTalk is the older of the two connection methods. This method provides broad entity support and full support for INSERT, UPDATE, and DELETE queries. However, it often performs poorly during large SELECT queries and lacks reliable table joining capabilities. You also cannot group or aggregate data using SuiteTalk. For performance and reliability reasons, CData recommends using SuiteTalk only if you require access to INSERT, UPDATE, and DELETE queries for your connection to NetSuite.Setup Guide
To configure your NetSuite connection, follow these steps:Configure user roles.
Choose a connection method (SuiteQL/OAuth or SuiteTalk/Token). Note that NetSuite does not support basic authentication through username and password credentials in recent versions. Connect AI recommends using OAuth or Token authorization.
Follow the steps under Connect to NetSuite to establish the connection.
Configure Roles
Connect AI communicates with NetSuite through NetSuite Web services. If the user account that you will use for establishing the connection does not have NetSuite Web services permissions, follow these steps to create them:Log in to NetSuite as an administrator. From the navigation bar, select Setup > Users/Roles > Manage Roles.
Add additional permissions.
- If you plan to connect to NetSuite via SuiteQL/OAuth, add the OAuth 2.0 Authorized Applications Management permission.
- If you plan to connect to NetSuite via SuiteTalk/Token add the User Access Token and Access Token Management permissions.
From the navigation bar, select Lists > Employees > Employees. Select an employee or add a new one.
Connect to NetSuite
Type NetSuite in the Add Connection dialog that opens. Click the data-source name when it is displayed.
For the Schema field, select either SuiteQL or SuiteTalk.
Note: CData recommends SuiteQL for most use cases. Click here for information on the differences between SuiteQL and SuiteTalk.
Authentication Methods
- OAuth
- Token
- Basic
Connect AI Connection ページ上部の、Save & Test をクリックします。
- 接続テストに成功すると、コネクションが作成されたことを示すConnection successfully saved というメッセージが表示されます。Edit Connection ページのStatus もAuthenticated に変わります。Edit Connection ページの右ペインにあるData Model タブで、成功したコネクションのデータモデルを表示します。
- 接続テストに失敗した場合は、入力したログイン情報に余分なスペースや文字がないかを確認してください。Connect AI は、データが不足している必須フィールドの下にエラーメッセージを表示します。一部のデータソースでは、ソースのWeb サイトに直接サインインする必要があります。サインインしていない場合は、Sign in ボタンの下にエラーメッセージが表示されます。エラーを修正し、もう一度試してください。
- 失敗したコネクションは下書きとして保存され、Status はNot Authenticated になります。後でコネクションに戻って認証することができます。