Integrating Oracle NetSuite
Capabilities
DataGrail's Oracle NetSuite integration provides the following capabilities:
| Product | Capability | ||||
|---|---|---|---|---|---|
| Request Manager |
|
Before You Start
To successfully configure this integration, please ensure you have sufficient privileges:
- DataGrail User Role: Super Admin, Connections Manager
- Oracle NetSuite User Role: Admin
Locate NetSuite Account ID
- Log in to Oracle NetSuite.
- Identify the subdomain in your browser, test12345 in this example:

Enable OAuth 2.0
Follow NetSuite's instructions to Enable the OAuth 2.0 Feature:
- Select Setup, Company, and then Enable Features.
- Select the SuiteCloud subtab.
- In the SuiteScript section, agree to the SuiteCloud Terms of Service for Client SuiteScript and Server SuiteScript.
- In the Manage Authentication section, enable OAuth 2.0 and agree to the SuiteCloud Terms of Service.
- Select Save.
Create a Custom Role
- Navigate to Setup, Users/Roles, Manage Roles, and then New.
- Enter a name for the role and select
ALLunder Subsidiary Restrictions. - In the Permissions section, configure the following permissions with
EditorFullaccess:
Required Permissions
The following permissions are required on the role used for this integration.
Setup:
- Log in using OAuth 2.0 Access Tokens
Transactions:
- Find Transaction
- Override Payment Hold
- Purchase Order
- Track Time
- Credit Memo
- Sales Order
- Invoice
- Cash Sale
- Vendor Bill Approval
- Bills
Reports:
- SuiteAnalytics Workbook
Lists:
- Contacts
- Customer Profile
- Customers
- Employee Record
- Employees
- Events
- Phone Calls
- Tasks
- Track Messages
- Vendors
Setup:
- REST Web Services
- Select Save.
Connect to DataGrail
Create an Integration
- Navigate to Setup, Integration, Manage Integrations, and then New.
- Enter a name for the integration and set STATE to
Enabled - Uncheck all options from Token-based Authentication, if any.
- Under OAuth 2.0, select the following:
OAuth 2.0 Configuration
CLIENT CREDENTIALS (MACHINE TO MACHINE) GRANTREST WEB SERVICESSUITEANALYTICS CONNECTRESTLETS
- Select Save and copy your Consumer Key and Consumer Secret. Store these credentials in a secure, temporary location.
Create Client Credentials Mapping
- Use OpenSSL to generate an SSL Certificate. Store the generated certificate in a secure, temporary location.
openssl req -x509 -newkey rsa:4096 -sha256 -keyout auth-key.pem -out auth-cert.pem -nodes -days 730
- Navigate to Setup, Integration, and OAuth 2.0 Client Credentials (M2M) Setup.
- Select Create New and configure the the Client Credentials Mapping:
Client Credentials Mapping Configuration
- ENTITY: Select a user with an administrator role
- APPLICATION: Select the newly created integration
- ROLE: Select the newly created role.
- CERTIFICATE: Upload the newly created
auth-cert.pem
- Select Save and copy your Certificate ID.
Connect to DataGrail
- In DataGrail, navigate to Integrations and select Configure New Integration to search for Oracle NetSuite.
- Enter the Account ID.
- Select Client Credentials Flow.
- Enter the Consumer Key and Certificate ID.
- For Private Key, copy the contents of the
auth-key.pemcertificate file. - Select Configure Integration.
Next Steps
Now that you've successfully connected the integration, check out the following resources:
Troubleshooting
If you are unable to successfully connect the integration, review these common troubleshooting steps:
Ensure Required Permissions Are Granted on API Keys/Resources
DataGrail checks required permissions and scopes on API keys/resources used by each integration. If all necessary permissions are not granted, new connections will fail.
Review Required Account Types and User Roles
If users do not have the necessary permissions or the minimum required user role in the connecting system, the connection to DataGrail will fail. Additionally, connections will fail if your account type does not match the one required by the integration.
See Before You Start to review these requirements.
Technical Details
The Oracle NetSuite integration uses the NetSuite V1 REST API:| Access Type | Synchronous |
|---|---|
| Deletion Type | Synchronous |
API Documentation
Learn more about this API implementation and DataGrail functionality in our API Integration Documentation.
Disclaimer: The information contained in this message does not constitute as legal advice. We would advise seeking professional counsel before acting on or interpreting any material.