NetSuite Add

NetSuite Add

In this article

Overview

NetSuite Create is a Write-type Snap that allows you to create records in NetSuite by defining an object. The fields that can be set on the object are provided in the input view of the Snap and can be mapped using an upstream Mapper or Structure Snap.

Prerequisites

  • A valid NetSuite account with the required permissions.

  • The composite/tree resource should be enabled for your NetSuite account credentials.

Support for Ultra Pipelines  

Works in Ultra Pipelines.

Limitations

Supports only NetSuite Web Services-supported objects. Learn more about the supported objects: https://www.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2019_2/schema/record/account.html.

Snap Views

View Type

View Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input

Document

Min: 1

Max: 1

  • Mapper

  • Structure

  • JSON Generator Snap. 

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

Output

Document

Min: 0

Max: 1

  • Filter

  • Mapper

  • JSON Formatter.

The output includes the result of the create operation for each record. Errors can be routed to the error view if enabled, or they can cause the Snap to fail during execution.

Snap Settings

Field

Field Type

Description

Label*

 

String

The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline.

Default ValueNetSuite Add
ExampleNetSuite Add

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.

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

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

Default valueAccount
ExampleCustomer

Custom record

 

String/Expression/Suggestion

Conditional. This is applicable and required only if CustomRecord is selected for an Object from the suggestible list.

Default Value: N/A
ExampleInvoice

Request timeout*

 

 

Integer

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

Default value: 0
Example: 0

Maximum request attempts*

 

Integer

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

Retry request interval*

 

 

Integer

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

Default Value: 2

Snap Execution

Dropdown list

Troubleshooting

Examples


Create an employee record

The following example illustrates the usage of the Create Snap. In this example, we create an employee record. The sample Pipeline looks as shown below:  

 

Mapper (Data) Snap maps the employee details to the input fields of NetSuite Create Snap:

NetSuite Create Snap creates an employee record using the Employee object:


After the pipeline executes, it creates a new employee record. The following is the data preview of the NetSuite Create Snap that shows the newly added employee record details:

 

 

 

Create and update customer records in NetSuite using custom objects

NetSuite enables you to create custom objects, and you can use the NetSuite Create Snap to update these records. This example demonstrates how you can do so.

Download this pipeline.

Download