NetSuite Async Search

Overview

The NetSuite Async Search Snap searches records from NetSuite asynchronously.

This Snap provides the ability to search 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. If the Get async results property is selected, the Snap submits a job, checks the job status and gets the results. If the Get async results property is deselected, the Snap submits a job and returns a job ID at the output view.

Prerequisites

  • Make sure the data to be added maps correctly to the fields where it is being directed and is of the correct data type.

Limitations

  • Supports only NetSuite Web Services-supported objects. For information on the supported objects, see NetSuite Schema Browser.

Snap views

Type Description Examples of upstream and downstream Snaps
Input

This Snap has exactly one document input view.

Expected input: 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 at most one document output view.

Expected output: This Snap provides the result of the 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.

Note: Empty number values should be given as 0.0, not as null.
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 Async Search

Object*

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

Default value: Account

Example: Custom Record

Custom Record

String/Expression
Custom record type.
Note: This is required if CustomRecord is selected for Object.

Default value: N/A

Example: customrecord_myrecord

Body fields only

Checkbox
Omits sublist values from search results.
Note: Using the default checked state can significantly improve performance.

Default value: Selected

Advanced

Checkbox
Performs an advanced search. This changes the input schema.

Default value: Deselected

Return Search columns*

Checkbox
This is relevant only when performing an Advanced search to execute a saved search. If selected, executes a saved search; if not selected, returns full records as opposed to columns.

NetSuite returns an error when:

  • Selected and the input document does not specify columns
  • Not selected and the input does not specify a saved search

Default value: Selected

Page size*

Integer/Expression
The number of records returned on a single page of search results.

Default value: 1000

Example: 500

Get async results*

Checkbox
If selected, the Snap submits a job, checks the job status and gets the results when finished. If not selected, the Snap submits a job and produces a job ID information at the output view.

Default value: Selected

Pass through

Checkbox
If selected, the Snap passes the input document to the output view under the 'original' key.

Default value: Deselected

Request timeout*

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

Default value: 0

Example: 60

Maximum requests attempts*

Integer/Expression
The maximum number of requests to attempt in case of failure.

Default value: 3

Example: 5

Retry request interval*

Integer/Expression
Specifies the interval between two successive SOAP 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=""