General Setup
- On the left side options column expand Data Sources > Bulk Sources > Query.
- On the Query Data Sources page click Create Bulk Query button.
- On the New Query Data Source page click the NetSuite Query Data Source button.
- The page to configure the NetSuite query data source opens.
- Enter a Name for the query.
- Connection – Select the NetSuite connection to be used from the dropdown list.
- Click Validate, this will enable the Query Type field.
- Query Type – Select the query type, either Saved Search or Custom Filter. Each option has a different setup.
Saved Search
- Query Type – Select Saved Search.
- Role Type – Select the Role Type for the Saved Search you will be using.
- Saved Search – Select the Saved Search to use as your data source.
- Saved Search Types – Select schema if the table is used by multiple objects f.ex. item.
- Columns – Select the columns you want returned for the data source.
- Related Joins – Select any related joins that you need to get data from. Then select the fields for that join.
- Return name field for list entries and records – Mark this checkbox if you would like a name field returned instead of the Internal ID for list entries and records.
- Include child item lines – Not available for Saved Searches.
- Click Save.
Custom Filter
- Query Type – Select Custom Filter.
- Click the Add Filter button to open the filter window.
- Category – Select the category for the filter.
- Options include Activities, Communications, Customization, Entities, File Cabinet, Items, Lists, Marketing, Support, Transactions, and Website.
- Role Type – Select the Role Type the filter will be using.
- These will differ depending on what category was selected.
- Columns – Select the columns needed for the data source.
- Add Filter Row – If the data source needs to be filtered down, then click Add Filter Row to add a filter.
- Field – Select the field to use for the filter.
- Operator – Select the operator for the selected field. The operators will change depending on what type of field is selected.
- Value From – Enter the value for the filter field.
- Value To – This option is only available for specific operators.
- Click Update to go back to the data source setup.
- Return name field for list entries and records – Mark this checkbox if you would like a name field returned instead of the Internal ID for list entries and records.
- Include child item lines – Mark this checkbox if you want child item lines to also be available to select for the Columns on the Filter.
- Click Save.