Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

On this Page

Table of Contents
maxLevel2
excludeOlder Versions|Additional Resources|Related Links|Related Information

Overview

Snap type:

Read


Description:

This Snap gets a particular record based on the given internal ID and object type. The object becomes suggestible once the account is defined. The 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. This Snap dispatches one request per incoming document.

  • Expected upstream Snaps: Any Snap that provides a document output view, such as Mapper or Structure or a JSON Generator Snap.
  • Expected downstream Snaps: Any Snap that has a document input view, such as Filter or Mapper or JSON Formatter.
  • Expected input: This Snap provides a schema on its input view for the selected object that can then be used in a Structure Mapper Snap to map the required fields. 
  • Expected output: This Snap provides the result of the get operation for each record on the output view. Errors can be routed to the error view if enabled or cause the Snap to fail during execution.


Prerequisites:

[None]


Support and limitations:Works in Ultra Pipelines.
Known Issues:

This Snap currently does not support custom records.

Account: 

This Snap uses account references created on the Accounts page of SnapLogic Manager to handle access to this endpoint. See NetSuite Account for information on setting up this type of account.

Excerpt Include
Configuring NetSuite Accounts
Configuring NetSuite Accounts
nopaneltrue

Views:


InputThis Snap has exactly one document input view.
OutputThis Snap has exactly one document output view.
ErrorThis Snap has at most one document error view and produces zero or more documents in the view.


Settings

Label


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

Request timeout


Required. The timeout for the web service call (in seconds). A value of 0 indicates no timeout.

Example: 0
Default value: 0


Maximum request attempts

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


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

Default value: 2

Multiexcerpt include macro
nameSnap Execution
pageAnaplan Read

Multiexcerpt include macro
nameSnap_Execution_Introduced
pageAnaplan Read


Note

This Snap does not currently support custom records.

Examples

Retrieving an Employee Record Using Employee Internal ID

In this example, you search for and retrieve an employee record using employee internal ID.

 

Expand
titleUnderstanding the Pipeline

In this pipeline execution:

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

NetSuite Create Snap creates a new employee record using the Employee Object:

Mapper Snap maps the output of the NetSuite Create Snap to the input fields of the NetSuite Get Snap:

NetSuite Get Snap retrieves the employee details: 

When the NetSuite Get Snap is saved, it generates the input schema automatically. After the pipeline executes, the NetSuite Get Snap responds with the details of an employee with internal ID 112908. The following is the data preview of the NetSuite Get Snap that show the employee details:

Excerpt Include
NetSuite Create
NetSuite Create
nopaneltrue

Excerpt Include
NetSuite Snap Pack
NetSuite Snap Pack
nopaneltrue