Oracle NetSuite
How to connect Oracle NetSuite data to RevOS platform
Prerequisites
- Oracle NetSuite account
- Allowed access to all Account permissions options
- Realm (Account ID)
- Consumer Key
- Consumer Secret
- Token ID
- Token Secret
Setup guide
Step 1: Create NetSuite account
- Create account on Oracle NetSuite
- Confirm your Email
Step 2: Setup NetSuite account
Step 2.1: Obtain Realm info
- Login into your NetSuite account
- Go to Setup ยป Company ยป Company Information
- Copy your Account ID (Realm). It should look like 1234567 for the
Production
env. or 1234567_SB2 - for aSandbox
Step 2.2: Enable features
- Go to Setup ยป Company ยป Enable Features
- Click on SuiteCloud tab
- Scroll down to SuiteScript section
- Enable checkbox for
CLIENT SUITESCRIPT
andSERVER SUITESCRIPT
- Scroll down to Manage Authentication section
- Enable checkbox
TOKEN-BASED AUTHENTICATION
- Scroll down to SuiteTalk (Web Services)
- Enable checkbox
REST WEB SERVISES
- Save the changes
Step 2.3: Create Integration (obtain Consumer Key and Consumer Secret)
- Go to Setup ยป Integration ยป Manage Integrations ยป New
- Fill the Name field (we recommend to put
revos-rest-integration
for a name)
- Make sure the State is
enabled
- Enable checkbox
Token-Based Authentication
in Authentication section
- Save changes
- After that, Consumer Key and Consumer Secret will be showed once (copy them to the safe place)
Step 2.4: Setup Role
- Go to Setup ยป Users/Roles ยป Manage Roles ยป New
- Fill the Name field (we recommend to put
revos-integration-role
for a name)
- Scroll down to Permissions tab
- (REQUIRED) Click on
Transactions
and manuallyadd
all the dropdown entities with eitherfull
orview
access level. For more information see FAQ section below.
- (REQUIRED) Click on
Reports
and manuallyadd
all the dropdown entities with eitherfull
orview
access level. For more information see FAQ section below.
- (REQUIRED) Click on
Lists
and manuallyadd
all the dropdown entities with eitherfull
orview
access level. For more information see FAQ section below.
- (REQUIRED) Click on
Setup
and manuallyadd
all the dropdown entities with eitherfull
orview
access level. For more information see FAQ section below.
- Make sure you've done all
REQUIRED
steps correctly, to avoid sync issues in the future, for more information see FAQ section below.
- Please edit these params again when you
rename
orcustomise
anyObject
in Netsuite forrevos-integration-role
to reflect such changes.
Step 2.5: Setup User
- Go to Setup ยป Users/Roles ยป Manage Users
- In column
Name
click on the userโs name you want to give access to therevos-integration-role
- Then click on Edit button under the userโs name
- Scroll down to Access tab at the bottom
- Select from dropdown list the
revos-integration-role
role which you created in step 2.4
- Save changes
Step 2.6: Create Access Token for role
- Go to Setup ยป Users/Roles ยป Access Tokens ยป New
- Select an Application Name
- Under User select the user you assigned the
revos-integration-role
in the step 2.4
- Inside Role select the one you gave to the user in the step 2.5
- Under Token Name you can give a descriptive name to the Token you are creating (we recommend to put
revos-rest-integration-token
for a name)
- Save changes
- After that, Token ID and Token Secret will be showed once (copy them to the safe place)
Step 3: Set up the credentials
Now use following data to configure your integration in RevOS
- Realm (Account ID)
- Consumer Key
- Consumer Secret
- Token ID
- Token Secret Also you have properly Configured Account with Correct Permissions and Access Token for User and Role you've created early.
- As a start date you can use
2024-01-01T00:00:00Z
Frequently Asked Questions
Can I limit access to specific data my NetSuite account?
Yes, you can limit access to specific areas of your data in NetSuite by customizing the roles and permissions assigned to the user. This is done during Step 2.4: Setup Role above. Here's how you can limit access to specific areas:
Steps to Limit Access:
- Create a Role with Restricted Permissions:
When you create a new role (e.g.,
revos-integration-role
), you can control which data and areas the user can access by setting specific permissions. Instead of giving the user full access to every aspect of NetSuite, you can granularly manage permissions. - Transactions Tab: You can restrict access to specific transaction types like Sales Orders, Purchase Orders, Invoices, etc. by only adding the required entities to the role.
- Reports Tab: Limit access to specific reports by selecting only the necessary reports or providing view access rather than full access.
- Lists Tab: Control which lists the user can view or modify, such as customer data, items, vendors, etc.
- Setup Tab: Only grant permissions for specific setup-related tasks if necessary. You can withhold access to high-level admin functions that are not relevant to the user.
- Fine-Tune Access Levels: Each permission you grant can have different access levels:
- View: The user can only view the data but not make any changes.
- Create: The user can create new records but cannot modify existing records.
- Edit: The user can edit existing records but may not have access to delete or create.
- Full: The user has full control over the data, including viewing, editing, creating, and deleting records.
- Custom Record Types: If you have custom record types or fields, ensure that you only grant access to those custom records that are necessary. This way, the user wonโt see or modify any custom data that they are not authorized to access.
- Restrict Access to Specific Subsidiaries or Departments: If you use subsidiaries or departments in NetSuite, you can restrict a role's access to only data related to specific subsidiaries or departments. This can be particularly helpful in large organizations where certain users should only have access to a particular segment of the business.
- Subsidiary Restrictions: This can be done under the Subsidiary Restrictions tab when editing a role, which limits the data visibility to a particular subsidiary.
- Department/Location Restrictions: You can also apply restrictions based on departments, locations, or classes.
- Limit SuiteScript and SuiteTalk Access: When setting up integration roles, ensure that you only grant access to the specific script or integration endpoint. This is important when you are using SuiteScript or REST APIs to pull data, as you donโt want the user to have broader access than needed.
- Monitor Role Usage: After setting up the restricted role, itโs important to monitor the usage. You can regularly check role-based access logs to ensure that the user is only accessing the areas you intended.
Example Scenario:
If you want the user to access only Sales Orders and Customer data:
- In the Transactions Tab, add
Sales Order
with View or Edit permissions.
- In the Lists Tab, add
Customer
with View permissions.
- Do not add permissions for other transaction types, such as invoices or purchase orders, so that the user wonโt be able to access or modify these areas.
By carefully managing the permissions in this way, you can tailor the user's access to exactly what is required for their role while protecting sensitive data in other areas of your NetSuite account.
If you have any more specific requirements or areas you need help with in terms of permission setup, let me know!
Last updated on August 26, 2024