NetSuite Search

Overview

The NetSuite Search Snap searches records of an object in NetSuite by providing criteria.

The criteria fields that can be set on the object are provided on the input view of the Snap and can be mapped using an upstream Mapper or Structure Snap.



Limitations

Snap views

Type Description Examples of upstream and downstream Snaps
Input

This Snap has exactly one document input view.

This Snap provides schema on its input view for the selected object that can then be used in a Mapper Snap to map the required fields.

Output

This Snap has exactly one document output view.

This Snap provides the result of the search operation for the given criteria on the output view. Errors can be routed to the error view if enabled or cause the Snap to fail during execution.

Learn more about Error handling.

Snap settings

Note: Learn about the common controls in the Snap settings dialog.
Field/Field set Description
Label

String

Specify a unique name for the Snap. Modify this to be more appropriate, especially if more than one of the same Snaps is in the pipeline.

Default value: NetSuite Search

Object*

Dropdown list
The NetSuite Object type to search. For example, to search for records of a custom record type, select Custom Record from the available options.

To use the AdvInterCompnayJournalEntry object in NetSuite, particularly in a OneWorld or multi-subsidiary environment, you must configure a custom role with the appropriate permissions, including Transactions Make Journal Entry (Full).

Note: NetSuite's application requires the Oneworld extension for utilizing these subsidiary relationships, and Snap integration should use WSDL 2019_1 or later versions.

Default value: Account

Example: Customer

Custom record

Dropdown list
Optional. Custom record type to search. This is applicable and required only if Custom Record is selected for Object.

Default value: N/A

Body fields only

Checkbox
If selected, NetSuite returns only the most important fields of each record. If these fields are sufficient, leave this checked. Clear this only if you need the sublists of each record, such as a Customer's addresses, or computed fields, such as a Customer's Balance. This may negatively impact the time required to perform the search and substantially increase the size of the output. When clearing this option, it is strongly recommended to reduce the Page Size.

Default value: Selected

Advanced

Checkbox
If selected, performs an advanced search, which enables you to execute a saved search using its ID and search for relevant records in it.

Default value: Deselected

Return search column

Checkbox
Optional. If selected, returns only the values for the required columns. This is applicable only when performing an Advanced search, which is used to execute a saved search. If not selected, this returns all the record details.
Note: If this field is selected and the input document does not specify the columns to be retrieved, then the Snap throws an error. Additionally, if this field is not selected and the input document does not specify a saved search, NetSuite returns an error.

Default value: Selected

Page size

Integer/Expression
Maximum number of results to return per page. This Snap will automatically make multiple service requests to retrieve all available pages. You should consider setting this to a smaller value to reduce memory usage, especially when Body Fields Only is not selected, which can substantially increase the size of each page, depending on the Object type.

Min value: 5

Max value: 1000

Default value: 1000

Example: 500

Request timeout*

Integer/Expression
The timeout for the web service call (in seconds). 0 indicates no timeout.

Default value: 0

Example: 60

Maximum request attempts*

Integer/Expression
Specifies the maximum number of attempts to be made to receive a response. The request is terminated if the attempts do not result in a response.

Default value: 3

Example: 5

Retry request interval*

Integer/Expression
Specifies the interval (in seconds) between two successive requests. A retry happens only when the previous attempt resulted in an exception.

Default value: 2

Example: 5

Snap execution

Dropdown list
Choose one of the three modes in which the Snap executes. Available options are:
  • Validate & Execute. Performs limited execution of the Snap and generates a data preview during pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during pipeline runtime.
  • Execute only. Performs full execution of the Snap during pipeline execution without generating preview data.
  • Disabled. Disables the Snap and all Snaps that are downstream from it.

Troubleshooting

Error Cause Resolution
HTTP/1.1 407 Proxy Authentication required. Unable to tunnel through proxy. Add the following key-value pair values to your Groundplex configuration and restart the plex to reflect the changes:

Key: jcc.jvm_options

Value: -Djdk.http.auth.tunneling.disabledSchemes=""