On this Page
Table of Contents | ||||
---|---|---|---|---|
|
Snap type: | Read | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: | This Snap asynchronously fetches records from NetSuite.
| |||||||||||||
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. | |||||||||||||
Support and limitations: | Works in Ultra Task 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.
| |||||||||||||
Views: |
| |||||||||||||
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. | |||||||||||||
Batch size | Required. 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 | |||||||||||||
Get async results | Required. 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 | Required. If selected, the Snap passes the input document to the output view under the 'original' key. Default value: Selected | |||||||||||||
Request timeout | Required. Timeout for the web service call (in seconds). 0 indicates no timeout. | |||||||||||||
Maximum request attempts | Required. The maximum number of requests to attempt in case of failure. Default value: 3 | |||||||||||||
Retry request interval | Required. Specifies the interval between two successive SOAP requests. A retry happens only when the previous attempt resulted in an exception. Default value: 2 | |||||||||||||
|
|
Note |
---|
This Snap does not currently support custom records. |
Troubleshooting
Multiexcerpt macro | ||||||
---|---|---|---|---|---|---|
| ||||||
|
Example
This pipeline gets the records asynchronously from a NetSuite object, and routes the valid records to the output view and the invalid records to the error view.
The JSON Generator Snap passes the values to be retrieved from the NetSuite Object. In this example, we are passing a set of four values for the records to be retrieved.
The Mapper Snap maps the values to the records to be retrieved.
The NetSuite Async Snap gets the records from the Label object 'Purchase Order-NetSuite Async Get' pertaining to the values passed and mapped via the upstream Snaps.
Successful execution of the pipeline gives the displayed output preview:
The invalid records are routed to the error view as displayed:
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|