Skip to end of banner
Go to start of banner

NetSuite Async Delete

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 22 Current »

 On this Page

Snap type:

Write

Description:

This Snap asynchronously deletes a record or a list of records from the NetSuite. 

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 deleted 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 Result Snaps to check the submitted job status and to download the results.


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 delete job processing fails.


  • Expected upstream Snaps: Any Snap that provides a document output view, such as Mapper or Structure or a JSON Generator Snap. 
  • Expected downstream Snaps: [None] or any Snap that has a document input view, such as Filter or Mapper or JSON Formatter.
  • 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.
  • 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.


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.

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.

Error rendering macro 'excerpt-include' : No link could be created for 'Configuring NetSuite Accounts'.

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.  

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  


Requests timeout


Required. Timeout for the web service call (in seconds). 0 indicates no timeout.
Default value: 0     
 

Maximum requests 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


Snap execution

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


Example


This pipeline deletes a list of records from the NetSuite object. The invalid records are routed to the error view.

The JSON Generator Snap passes the values of the records to be deleted.

The Mapper Snap maps the values to be deleted on the NetSuite object.

The NetSuite Async Delete Snap deletes the records and sends the success status and deleted records to the output view and invalid records to the error view.

 

Successful execution of the pipeline displays the below output view: 

The invalid records are routed to the error view as displayed below:


Error rendering macro 'excerpt-include' : No link could be created for 'NetSuite Snap Pack'.

  • No labels