NetSuite

Section header image mobile

Coefficient's NetSuite integration is designed to supercharge your workflows and streamline your business operations like never before. With this powerful integration, you can seamlessly connect your NetSuite account with Coefficient, unlocking a world of possibilities for enhanced efficiency, productivity, and collaboration.

Whether you manage finances, track inventory, or streamline customer relationships, our NetSuite integration empowers you to do it all from within Coefficient's intuitive platform. Say goodbye to manual data entry and tedious toggling between systems – and hello to a seamless, unified experience that simplifies your day-to-day tasks and accelerates your business growth.

Configuring NetSuite OAuth (For NetSuite Administrators Only)

Connecting to NetSuite

Import from NetSuite

Records & Lists

Datasets

Saved Searches

SuiteQL Query

Updating your RESTLet Script

Schedule your Import, Snapshots, and Add Automations

FAQs for NetSuite

 

Configuring NetSuite OAuth (For NetSuite Administrators Only)

ℹ️ NOTE: To use this feature, Your NetSuite Admin must first configure the NetSuite OAUTH for your domain. 

1. Open the Coefficient Sidebar and click on the Menu.

MenuIconUpdated.png

2. Select “Connected Sources”.

Connected_Sources.png

3. Select "Add Connection" at the bottom and then "Connect" to NetSuite. 

Screenshot 2024-05-22 at 11.20.23 AM.png

4. From here, select the "Configure" link below. 

Screenshot 2024-06-21 at 10.44.10 AM.png

5. You will be redirected to our NetSuite OAuth configuration page.

Screenshot 2024-06-21 at 10.46.20 AM.png

6. Log into your Netsuite account and copy the Account ID from the URL. Then, toggle back to the NetSuite OAuth configuration page for Coefficient and enter your Account ID in the field provided. Click Next to proceed. 

ℹ️ EXAMPLE: URL: https://tstdrv1394275.app.netsuite.com. The ID is tstdrv1394275.Screenshot 2024-06-21 at 10.58.33 AM.png7. Click on "Download (.zip)" to download the RESTLet script. Open the file and unzip it. You will need this script later for step 10 below. Screenshot 2024-06-21 at 11.00.08 AM.png8. Open the Configuration Steps and follow the detailed instructions.  Trust us - you will need this!

(You will come back to this screen once the configuration in the NetSuite UI is complete)Screenshot 2024-06-21 at 12.13.47 PM.png9. Next, you will need to enable a few settings for Coefficient. Toggle back to your NetSuite account and click Setup -> Company -> Enable Features. Then click on SuiteCloud.Screenshot 2024-06-13 at 3.17.45 PM.png10. Under "SuiteScript" check the boxes for Client Suitescript and Server Suite Script. Screenshot 2024-06-13 at 3.31.05 PM.png11. Scroll down and under "SuiteTalk(Web Services)" check the box for "REST WEB SERVICES".Screenshot 2024-06-13 at 3.23.17 PM.png12. Under "Manage Authentication", check the box for OAuth 2.0. Then scroll down to Save. 

Screenshot 2024-06-13 at 3.27.20 PM.png13. Now, you will need to configure the RESTLet in your NetSuite account. In NetSuite, click on Customization -> Scripting -> Scripts -> New.

Screenshot 2024-06-13 at 3.37.09 PM.png14. Hover to the right of the SCRIPT FILE and click the "+" to add new.Screenshot 2024-06-13 at 3.47.46 PM.png15. Provide a File Name (REQUIRED). 

🛑 The File Name is REQUIRED and MUST end with ".js"; otherwise, you will encounter an Internal Server Error. 🛑Screenshot 2024-06-13 at 3.56.33 PM.png16. Now, you will need to select the RESTLet script file you downloaded from Coefficient (back in Step 7). The file should end with .js. If the file was downloaded as a .zip file, it must be unzipped BEFORE you can attach it. 

(Example: NetSuiteCoefficient.js)

🛑 The RESTLet script MUST end with ".js". The File MUST be unzipped to work with Coefficient.

(.zip will not work)🛑Screenshot 2024-06-13 at 4.05.32 PM.png17. Check the box for "Company-wide usage" then click Save.Screenshot 2024-06-13 at 4.09.31 PM.png18. Click on Create Script RecordScreenshot 2024-06-13 at 4.11.42 PM.png19. Name your Script (REQUIRED), then click the arrow on the Save button and select the option to "Save and Deploy".Screenshot 2024-06-13 at 4.14.16 PM.png20. On the Script Deployment screen, update the Status to "Released" and the Log Level to "Debug." Make sure that you check the all boxes/enable this for all Roles, Groups, Employees, etc., making sure to highlight each Department. DON'T FORGET TO click Save. 

Screenshot 2024-06-13 at 4.18.27 PM.pngℹ️ NOTE: The following standard roles have the SuiteAnalytics Workbook Log In using access tokens and REST Web Services permissions assigned by default. Please click here for more information.

Screenshot 2024-05-24 at 4.58.14 PM.pngℹ️ NOTE: If you create a new role or use an existing custom role/standard role that does not have the required permissions (by default), you can assign the permissions manually. 

💡How to Assign the Required Permissions to a User's Role:Screenshot 2024-09-06 at 3.41.56 PM.png

21. The next screen will contain your External URL. Copy this URLScreenshot 2024-05-22 at 12.32.02 PM.png22. Navigate back to the Coefficient Netsuite OAuth Screen. Check the box "I have configured in Netsuite." Click Next. Screenshot 2024-06-21 at 12.17.23 PM.png

23. Paste the External URL (copied in step 21) into the field provided. Then click Save.Screenshot 2024-06-21 at 12.21.29 PM.pngℹ️ NOTE: If you receive an error here, please return to the NetSuite Script Deployment screen, confirm you copied the entire URL, and try adding it to this field again.  

You will see a confirmation on your screen that the URL was saved. Screenshot 2024-06-13 at 4.35.23 PM.png

24. Congratulations on setting up your NetSuite OAuth with Coefficient! 🤩

 

 

Connecting to NetSuite

1. Open the Coefficient Sidebar and click on the Menu.

MenuIconUpdated.png

2. Select "Connected Sources".

Connected_Sources.png

3. Select "Add Connection" at the bottom and then "Connect" to NetSuite. 

Screenshot 2024-05-22 at 11.20.23 AM.png

4. Select your Account and click Authorize.

Screenshot 2024-06-21 at 1.28.47 PM.png

5.  You will be redirected to a NetSuite login page to enter your credentials. Review the permissions and click Continue. 

Netsuite123.png

Screenshot 2024-05-22 at 3.23.43 PM.png

6. Once confirmed, you will be redirected back to Coefficient to begin your first import with NetSuite.  

Import from NetSuite

There are several ways to import data from NetSuite. Let's go through each one!

  • Records & Lists
  • Datasets
  • Saved Searches
  • SuiteQL Query

Records & Lists

1. Open the Coefficient Sidebar and click on the “Import from…” button.

Screenshot 2024-05-23 at 11.30.45 AM.png

2. Select "NetSuite" from the list. 

Screenshot 2024-05-23 at 11.31.49 AM.png

3. Select "Records & Lists".

 

Screenshot 2024-05-28 at 9.25.12 AM.png

4. The Import Preview window opens, allowing you to select Records or Lists. Select either Record or List, and then pick one of the options that appear below. (Example: Records -> Account)Screenshot 2024-06-21 at 1.35.55 PM.png5. Select/Unselect the fields you need for your import on the left side of the Import Preview window. The data preview section updates as you change your settings (the first 50 rows of data are shown). You can drag and drop column headers to change their order in your import. You can further customize your import by adding filters, sorts, and limits here as well.  When done, click "Import".Screenshot 2024-05-23 at 11.51.50 AM.png

6. Congratulations on your successful Records & Lists import with NetSuite. 🎉Screenshot 2024-05-24 at 2.17.22 PM.png

Datasets

1. Open the Coefficient Sidebar and click on the “Import from…” button.Screenshot 2024-05-23 at 11.30.45 AM.png

2. Select "NetSuite" from the list. 

Screenshot 2024-05-23 at 11.31.49 AM.png

3. Select "Datasets".

Screenshot 2024-05-28 at 9.31.44 AM.png

4. The Import Preview window opens, showing available Datasets to select from. Select the Dataset and click Next to continue. (Example: Sales(Invoiced) - POC Sales Report)

Screenshot 2024-06-21 at 1.39.16 PM.png5. Select/Unselect the fields you need for your import on the left side of the Import Preview window. The data preview section updates as you make changes to your settings (the first 50 rows of data are shown). You can drag and drop column headers to change their order in your import. You can further customize your import by limits here as well.  When done, click "Import". Screenshot 2024-05-24 at 2.53.23 PM.png6. Congratulations on your successful Dataset import with NetSuite. 🎉Screenshot 2024-05-24 at 3.02.09 PM.png

Saved Searches

1. Open the Coefficient Sidebar and click on the “Import from…” button.

Screenshot 2024-05-23 at 11.30.45 AM.png

2. Select "NetSuite" from the list. 

Screenshot 2024-05-23 at 11.31.49 AM.png

3. Select "Saved Searches".

Screenshot 2024-05-28 at 9.34.16 AM.png

4. The Import Preview window opens, showing available Saved Searches to select from. Select the Saved Search and click Next to continue. (Example: Item Serial Numbers)Screenshot 2024-06-21 at 1.43.11 PM.png5. Select/Unselect the fields you need for your import on the left side of the Import Preview window. The data preview section updates as you change your settings (the first 50 rows of data are shown). You can drag and drop column headers to change their order in your import. You can further customize your import by limits here as well.  When done, click "Import".Screenshot 2024-06-24 at 12.45.18 PM.png

6. Congratulations on your successful Saved Searches import with NetSuite. 🎉Screenshot 2024-06-24 at 12.47.13 PM.png

SuiteQL Query

1. Open the Coefficient Sidebar and click on the “Import from…” button.

Screenshot 2024-05-23 at 11.30.45 AM.png

2. Select "NetSuite" from the list. 

Screenshot 2024-05-23 at 11.31.49 AM.png

3. Select "SuiteQL Query".

Screenshot 2024-05-28 at 9.35.35 AM.png

4. The Import Preview window pops up; you can add your SuiteQL Query query in the blue text area provided. Click the "Refresh Preview" button when adding the query for the first time or if you have made any changes to see the updated sample data. (Only the first 50 rows of data are shown in the data preview section.)

ℹ️ Click here to learn more about SuiteQL Query Syntax.Screenshot 2024-05-24 at 3.49.00 PM.png5. Make sure to give your import a name, then hit "Import".Screenshot 2024-05-24 at 3.52.45 PM.png6. Congratulations on your successful SuiteQL Query import with NetSuite. 🎉Screenshot 2024-05-24 at 3.57.14 PM.png

Updating your RESTLet Script

Screenshot 2024-06-21 at 1.44.12 PM (1).png

You may see a warning in the sidebar indicating that your RESTLet Script requires an update. Coefficient displays this warning if it detects that you are using an outdated version of the script, which needs to be updated to ensure the best possible Coefficient/NetSuite experience.

ℹ️ NOTE: You will need your NetSuite Admin's assistance updating your RESTLet Script. 

1. Click on the "Manage in Workspace" link within the warning message in the Coefficient sidebar.

Screenshot 2024-06-21 at 1.44.12 PM.png

2. The Coefficient NetSuite OAuth screen will load, prompting you to download the new script zip file. Remember to unzip the downloaded file and check the box confirming you have done so.

Screenshot 2024-06-21 at 1.44.24 PM (1).png

3. Next, configure the new script in the NetSuite UI. (Refer to steps 13-21 above).

4. Return to the Coefficient NetSuite OAuth screen and paste the entire External URL into the space provided. Don't forget to save.

Screenshot 2024-06-21 at 1.45.46 PM.png

5. You should see a confirmation on your screen if the configuration was successfully updated. If you encounter an error, ensure that you unzipped the script file, that the file name and script names are correct, and that you pasted the entire External URL into the space provided.

Screenshot 2024-06-21 at 1.46.12 PM.png

6. Refresh your Coefficient import(s), and the warning should disappear. 🎉

Schedule your Import, Snapshots, and Add Automations

Once you have pulled your data into your sheet using Coefficient, you can set up the following:

1. Schedule your ImportScheduled_Refreshes.png

2. Turn on SnapshotsSnapshot.png

3. Set Up Automations

AutomationswithGPT.png

FAQs for NetSuite

How can I use this integration with my personal account (gmail.com)?
Coefficient NetSuite's integration supports domain addresses only. (Gmail is not supported). If you have questions, please contact support (support@coefficient.io).

Why am I prompted to reauthorize my NetSuite connection every 7 days with Coefficient?

NetSuite requires refresh tokens to be updated every 7 days. Coefficient will notify you in the sidebar when it's time to re-authenticate. It’s essential to complete this re-authentication before you can create new imports or refresh existing NetSuite imports through Coefficient. Staying on top of this ensures a seamless experience and uninterrupted data workflows.

How can I import a workbook/report from NetSuite using Coefficient?

NetSuite Workbooks/Reports are not supported due to API limitations. As a workaround, you can recreate these Workbooks/Reports as a Dataset or Saved Search, then import using Coefficient. Please reach out to support@coefficient.io to request this feature. 

Can I use Coefficient SQL Builder (using AI) to pull in records from NetSuite? 

SQL Builder is not currently supported with our NetSuite integration. Please reach out to support@coefficient.io to request this feature.

I want to add filters/sorts to my Saved Search/Dataset. How do I do that?

Coefficient supports filtering/sorting on Records, sorting on Saved Searches, and neither on Datasets due to API limitations. 

My NetSuite Dataset import is showing IDs instead of values. How can I fix this so the values show up? 

For datasets with field types of records/lists, we can only show the ID and not the value due to a NetSuite API limitation. If the field type is not a record/list, the data will be populated in your import. There are two workarounds (suggestions) to handle this:

  1. Create separate imports: One for the dataset and another for the associated records/lists. Then, use sheet formulas (e.g., VLOOKUPs) to merge the data within your sheet.

  2. Utilize joins within NetSuite: This allows you to add the record/list fields and include other necessary fields within the dataset. When imported using Coefficient, the correct names will be displayed.

These methods will help you effectively manage and utilize your NetSuite data with Coefficient.

I am running a SuiteQL Query and expecting 150K results, but it only pulls in 100K. How can I do this?

NetSuite limits the number of records returned on a SuiteQL Query to 100K. As a workaround, we suggest adding a filter to your query to pull in the first 100K results and then creating a second query with additional filters to pull in the remaining results. For more information on this limitation, click here

I have 40 NetSuite imports scheduled for refresh at 9 am Pacific Time, and only 35 are refreshing at a time. How can I fix this? 

NetSuite accounts with no SuiteCloud Plus licenses are limited to a maximum of 15 RESTLet API calls simultaneously. With each SuiteCloud Plus license added to your account, an additional 10 is added. So if I have 2 SuiteCloud Plus licenses within my org, my limit is 35 RESTLet API calls at one time (For those who love math, it is(15+(2X10))). You must adjust your import refresh schedules to stagger them to account for this API limitation or add additional SuiteCloudPlus licenses with NetSuite. 

Are there any custom field types that Coefficient's Netsuite integration does not support?

Screenshot 2024-06-17 at 1.38.57 PM.png

ℹ️ NOTE: ** Date/Time fields will only be imported as Date fields.

 

🛑 Due to a limitation with the SuiteQL Rest API, the fields highlighted in RED (left) are not supported by Coefficient.🛑

 

I have an import with identical column names; how will they appear in my NetSuite import?

When there are identical column names in a SuiteQL query run by the user, Coefficient will have different column labels with underscores attached. The user must update one of the column names using the keyword "as". Screenshot 2024-06-19 at 9.12.52 PM.png

 

Was this article helpful? 0 out of 0 found this helpful