NetSuite Async Add List

Overview

The NetSuite Async Add List Snap inserts a list of records in NetSuite asynchronously and returns a job ID after a successful operation.



  • This is a Write-type Snap.
  • Works in Ultra Tasks when the Batch size is set to 1.

Prerequisites

  • A valid account with the required permissions.

Snap views

Type Description Examples of upstream and downstream Snaps
Input

This Snap has exactly one document input view.

Requires a list of records to insert in NetSuite asynchronously.

Output

This Snap has exactly one document output view.

Outputs the inserted records in NetSuite.

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

Example: Async Add List

Batch size*

String
Specify the maximum number of input documents to upload in a single request.
  • You must set this field to 1 to make a separate request for each input document.
  • The maximum batch size is 400.

Default value: 200

Example: 50

Object*

Dropdown list
Specify the NetSuite record type.

To use the AdvInterCompanyJournalEntry 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: AccountingPeriod

Custom record

String
Specify the custom record type only if you select CustomRecord as the object.

Default value: N/A

Example: MyCustomRecord

Get async results

Checkbox
When you select this checkbox, the Snap checks the submitted job status and fetches the results when finished.

When you deselect this checkbox, the Snap submits a job and produces job ID information at the output view.

Default value: Selected

Request timeout (seconds)*

Integer
Specify the timeout in seconds for the webservice call. 0 indicates no timeout.

Default value: 0

Example: 5

Maximum attempts*

Integer
Specify the number of requests to attempt if a request fails.

Default value: 3

Example: 5

Retry interval (seconds)*

Integer
Specify the number of seconds to wait before retrying a failed request.

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
Failed with error code: DUP_ENTITY. This entity already exists. Verify that the incoming data is valid and sufficient for the request.
Unsupported Snap configuration. Set the batch size property to one for Ultra Task. Batching is not supported in an Ultra Task.
Validation error for Batch size. The number (2000) is greater than the allowed maximum of 400. Batch size should be less than or equal to 400.