activities
latest
false
Classic Integrations Activities
Last updated Nov 8, 2024

Delete Records

UiPath.OracleNetSuite.Activities.DeleteRecords

The Delete Records activity uses the the NetSuite getList operation to delete a list of specific records (ids).

After retrieving the results, the activity outputs the status of the request (success/failure information) in a ResponseStatus object (NetSuiteStatus), and the status of each record affected in a DataTable object (ResponseTable).

How it works

The following steps are an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.

  1. Complete the Setup steps.
  2. Add the Oracle NetSuite Application Scope activity to your project.
  3. Add the Get Records activity inside the Oracle NetSuite Application Scope activity.
  4. Click the Select button and choose a NetSuite Object from the design time Drop Down List Input properties.
  5. Create and enter a String and an Ids variable for the Input properties.
  6. Create and enter a ResponseStatus and a ResponseStatus variable, and a DataTable and a ResponseTable variable for the Output properties.

In the Body of the Activity

  • Object - The type of NetSuite object you want to perform a delete on. This field supports only Strings or String variables. To get the internalid value, see Enable Show Internal IDs in the Setup guide.
  • Ids - The ids of the NetSuite records that you want to delete. Enter a String[] or String[] variable. To get the internalid value, see Enable Show Internal IDs in the Setup guide.

Properties

Common
  • DisplayName - The display name of the activity. This field supports only Strings or String variables.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Options
  • DeletionReasonCode - A code which describes the reason for the deletion. This field supports only Strings or String variables.
  • DeletionReasonMemo - Text reason why this record is being deleted. This field supports only Strings or String variables.
Output
  • ResponseTable - The status of success/failure information for each record. Enter a DataTable variable.
  • ResponseStatus - The status of the request (success/failure information). Enter a ResponseStatus variable (UiPath.BAF.Models.ResponseStatus). The ResponseStatus object includes three properties that you can use in other activities.
    • Success - Boolean - Specifies whether the API request was successful.
    • ErrorCode - String - The response error if the API request is unsuccessful (Success=False).
    • Message - String - The error message.
  • How it works
  • In the Body of the Activity
  • Properties

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.