-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add NetSuite integration configuration
- Loading branch information
Showing
29 changed files
with
190 additions
and
17 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"label": "Master data hub", | ||
"position": 1, | ||
"link": { | ||
"type": "generated-index", | ||
"description": "TODO" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
sidebar_position: 1 | ||
--- | ||
|
||
:::warning[WORK IN PROGRESS] | ||
|
||
::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"label": "Coupa", | ||
"position": 2, | ||
"link": { | ||
"type": "generated-index", | ||
"description": "TODO" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"label": "NetSuite", | ||
"position": 1, | ||
"link": { | ||
"type": "generated-index", | ||
"description": "5 minutes to learn the most important NetSuite concepts." | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
--- | ||
title: 'Configuration' | ||
sidebar_position: 1 | ||
--- | ||
|
||
To configure an access token in NetSuite for SOAP communication, especially when there is no integration user yet, involves several steps that include creating an integration record in NetSuite, setting up a role with the necessary permissions, creating an integration user, and then generating the access token. Below is a step-by-step guide: | ||
|
||
## 1. Create an Integration Record in NetSuite | ||
|
||
1. **Log in to your NetSuite account** as an administrator (https://system.netsuite.com/). | ||
1. Navigate to **Setup > Integrations > Manage Integrations > New**. | ||
1. Fill in the **Name** of the integration and ensure that **State** is enabled. | ||
1. Check the **Token-Based Authentication** to use token-based auth along with SOAP. | ||
1. **Save** the integration. Note the **Consumer Key** and **Consumer Secret** presented upon saving; these are important for authentication. | ||
|
||
![NetSuite Integration configuration](./img/netsuite-integration.png) | ||
|
||
## 2. Create a Role with Necessary Permissions | ||
|
||
1. Navigate to **Setup > Users/Roles > Manage Roles > New**. | ||
1. Provide a **Name** for the role and assign it permissions necessary for the operations the integration will perform. At a minimum, for SOAP communication, you might need permissions like **SOAP Web Services, Log in using Access Tokens**, and any specific permissions related to the data you wish to access or modify (Lists). | ||
1. **Save** the role. | ||
|
||
![NetSuite Role configuration](./img/netsuite-role.png) | ||
|
||
## 3. Create an Integration User | ||
|
||
1. Go to **Lists > Employees > Employees > New**. | ||
1. Fill in the necessary information for the user. Under the **Access** tab, ensure you **Check** the **Give Access** option, set a **Password**, and **Assign the Role** you created earlier. | ||
1. **Save** the employee record. | ||
|
||
## 4. Generate the Access Token | ||
|
||
1. Log in as the user who will be the integration user, or have them log in. | ||
1. Navigate to **Setup > Users/Roles > Access Tokens > New**. | ||
1. Select the **Application Name** (the integration you created in Step 1), the **User**, and the **Role** you've assigned to this integration. | ||
1. **Save** to generate the Token ID and Token Secret. | ||
|
||
## 5. Use the Access Token in SOAP Communication | ||
|
||
With the Consumer Key, Consumer Secret, Token ID, and Token Secret, you can now configure Rossum.ai SOAP client for communication with NetSuite: | ||
|
||
```json | ||
{ | ||
"ACCOUNT": "__change_me__", | ||
"API_URL": "__change_me__", | ||
"WSDL_URL": "https://webservices.netsuite.com/wsdl/v2022_1_0/netsuite.wsdl", | ||
"CONSUMER_KEY": "__change_me__", | ||
"CONSUMER_SECRET": "__change_me__", | ||
"TOKEN_KEY": "__change_me__", | ||
"TOKEN_SECRET": "__change_me__", | ||
"ROSSUM_PASSWORD": "__change_me__", | ||
"ROSSUM_USERNAME": "__change_me__" | ||
} | ||
``` | ||
|
||
Account ID (`ACCOUNT`) can be found under **Setup > Company > Company Information**. | ||
|
||
## Important Notes | ||
|
||
- Ensure your NetSuite account has the **Token-Based Authentication** feature enabled. This can be checked and enabled under **Setup > Company > Enable Features > SuiteCloud**. | ||
- The permissions assigned to the role will dictate what operations can be performed through the SOAP API. Make sure to adjust these according to the least privilege principle, granting only the permissions necessary for the tasks the integration will perform. | ||
|
||
This process sets up a secure method for your application or integration to communicate with NetSuite using SOAP. If you encounter any specific issues during setup or need more detailed instructions, NetSuite's official documentation and support resources can provide additional guidance tailored to the latest platform updates and best practices. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: 'Export webhook' | ||
sidebar_position: 3 | ||
--- | ||
|
||
:::warning[WORK IN PROGRESS] | ||
|
||
TODO: describe how to configure exports of VendorBills, VendorCredits, ... (common use-cases) | ||
|
||
::: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
title: 'Import webhook' | ||
sidebar_position: 2 | ||
--- | ||
|
||
:::warning[WORK IN PROGRESS] | ||
|
||
TODO: describe how to configure full and differential imports or various types | ||
|
||
::: | ||
|
||
## Full data imports | ||
|
||
Schedule: `0 0 * * 6` | ||
|
||
```json | ||
{ | ||
"import_config": [ | ||
{ | ||
"ns_type": "Item", | ||
"search_type": "search", | ||
"master_data_name": "NS_InventoryItem", | ||
"basic_search_config": { | ||
"attributes": [ | ||
{ | ||
"ns_type": "SearchEnumMultiSelectField", | ||
"operator": "anyOf", | ||
"searchValue": "_inventoryItem", | ||
"attribute_name": "type" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"concurrency_limit": 1 | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
module.exports = { | ||
bracketSpacing: true, | ||
printWidth: 100, | ||
singleQuote: true, | ||
tabWidth: 2, | ||
trailingComma: 'all', | ||
quoteProps: 'consistent', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,5 @@ | |
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
gap: 1rem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters