NetSuite Async Upsert List

Overview

The NetSuite Async Upsert List Snap asynchronously inserts or updates a list of record(s) in the NetSuite database.

If the Get async results property is selected, the Snap submits a job, checks the job status and gets the results. Individual records in the results will be routed to the output view or the error view depending on whether or not they are upserted successfully. Input documents are passed through if the Pass through property is selected. Input documents are always routed the error view if the results contain any error.

If the Get async results property is deselected, the Snap submits a job and returns a job ID at the output view. This job ID information may be supplied to NetSuite Check Async Status and NetSuite Get Async Results Snaps to check the submitted job status and to download the results.

Note: The input document data cannot be passed through to the output view or the error view, and may be lost if the Get async results is not selected and the upsert job processing fails.
Note: Empty number values should be given as 0.0, not as null.

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.
  • A valid account with the required permissions.

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 exactly 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.

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 Upsert List

Batch size*

Integer/Expression
The maximum number of input documents to batch in a single request. Set to 1 to make a separate request for each input document.

Default value: 1000

Example: 500

Object*

Dropdown list
NetSuite record type.
Note: 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).

Default value: Account

Example: Customer

Custom Record

String/Expression
Custom record type (required if CustomRecord is selected for Object).

Default value: N/A

Example: customrecord_myrecord

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: Selected

Request time out*

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

Default value: 0

Example: 60

Maximum request attempts*

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

Default value: 3

Example: 5

Retry requests 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=""