SmartConnect can query data out of NetSuite via a custom NetSuite RESTlet as a data source.
Retrieve RESTlet Parameters
Before you can interact with the RESTlet, you must get the Script ID and Deployment ID from the NetSuite script record.
- Log into NetSuite
- Navigate to Customization > Scripting > Script Deployments
- Open your RESTlet script deployment
- Copy the Script Id and Deployment Id from the URL and save for later

Configure RESTlet Data Source
- Log into SmartConnect
- On the left side options column expand Data Sources > Bulk Sources > Query

- On the Query Data Sources page click Create Bulk Query button
- Select NetSuite RESTlet Query Data Source
- Name – A friendly name for the data source
- Connection – Select the NetSuite connection to be used from the dropdown list
- Click Validate – this will enable the Parameter section
- Add required parameters
- Query – Added as URL parameters.
- Body – Added to the body of the request

- Click Save and close the data source