Skip to main content
NetSuite involves more moving parts than most connections: account IDs, role permissions, integration records, certificates. Confirming these with the NetSuite owner before you start means a failure gives you a useful error instead of a dead end.
Runs read NetSuite over SuiteQL with an OAuth2 M2M JWT auth profile. A lifecycle reads the account directly: you pick the account and Darpan builds its queries. A Sync run reads NetSuite through a saved NetSuite query, which defines the records to read; you can write one from Create Run. Otherwise, export the data and use a File upload source when you set up a reconciliation run.

Before you start

Confirm:
  • You are a Tenant user, Company editor or Tenant admin in the active tenant. A Company view only member can read connections but not change them.
  • The NetSuite owner has given you the authentication method and its values: a username and password, a token, or an OAuth 2.0 client-credentials setup (client ID, certificate ID, and private key).
  • For OAuth 2.0, the integration record and role in NetSuite grant the permissions the account needs.

Open NetSuite settings

From Ask Darpan, open Open NetSuite Settings. The NetSuite page lists your auth profiles under Auth; Create Auth Profile adds one.

Create an auth profile

Choose Create Auth Profile, then answer How should this NetSuite auth profile authenticate? Every profile also asks Should this auth profile be active? and, last, the label Darpan shows for it. Darpan gives the profile its ID; the ID cannot be edited.
For OAuth 2.0, the Client ID comes from the NetSuite integration record and is 64 hexadecimal characters. The Cert ID comes from the certificate mapping and is a 43-character value. They are often pasted into each other’s fields; check them before saving.
Secrets are write-only on edit: leave the password, token, or private key blank to keep the stored value, as long as the token URL stays the same. If you change the token URL, enter the secret again: Darpan does not send the stored one to a new address.

Open an auth profile

Choose a profile under Auth to open its details page. It shows the profile’s Config ID, Auth Type and Active, plus the Username for a Basic profile, or the Scope and Token URL for an OAuth 2.0 one. Secrets are never shown. The pencil opens the profile to edit it.
  • Run connection diagnostics checks an OAuth 2.0 profile from outside the run: Darpan asks NetSuite for a token and runs a one-row SuiteQL query, then lists each check with its result. Nothing is written to NetSuite.
  • Delete NetSuite auth profile (the trash button) moves the profile to the bin after you confirm. Darpan refuses while anything still signs in with it (a NetSuite query or a saved run) or while it feeds an audit, and names what is in the way. Only the owning tenant can delete a profile, and only while it is not shared. The confirmation says how long the bin keeps it (14 days unless your tenant set its own). To bring it back, turn on Show archived on the Auth list and choose Restore; automations paused by the delete stay paused. When the window ends, Darpan deletes the profile and the data it kept for it.

Write a SuiteQL query

A Sync run’s NetSuite side reads the records a saved query selects. When you set up the run in Create Run, the NetSuite config card offers New query; the query you save there comes back to the run you were building. The query setup asks, one question at a time:

Import existing NetSuite checks

If the tenant already has NetSuite checks, Home shows Import NetSuite Checks beside Create Run to users who can edit the tenant. It turns the checks into runs in one step and reports how many it imported and skipped, with the reason for each skip. Running it again adds only checks that are not yet in a run.

Share with another tenant

When the same NetSuite account serves several tenants, the owning tenant can share an auth profile instead of entering the credentials again. Open the profile, choose the pencil, and use the Shared with panel at the end of the form; see Share the connection with another tenant for how the panel works.

Expected result

The auth profile appears under Auth on the NetSuite page with the label you gave it, and a run’s NetSuite side can pick it when you write a query.

Troubleshooting

Run the diagnostics on the auth profile first. Connections troubleshooting lists each failed check and its fix, including a Client ID and Cert ID pasted into each other’s fields.

Next step

Set up the run that compares your NetSuite export with another system in Set up a reconciliation run.