订阅

UiPath 活动

UiPath 活动指南

删除记录

UiPath.OracleNetSuite.Activities.DeleteRecord

The Delete Record activity uses the NetSuite delete operation to delete a specific record (internalid).

After deleting the record, the activity outputs the status of the request (success/failure information) in a ResponseStatus object (NetSuiteStatus) that you can use in subsequent activities (e.g., conditional logic).

How it works

The following steps and message sequence diagram is 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 NetSuite Application Scope activity to your project.
  3. Add the Delete Record activity inside the NetSuite Application Scope activity.
  4. Enter values for the Input properties.
  5. Create and enter a ResponseStatus variable for the Output property.
    • Your input property values are sent to the delete operation.
    • The API returns the ResponseStatus value to your output property variable.

In the Body of the Activity

  • Object - The object for which to delete the record. Use the Select button to set the object.
  • Internalid - The internalid of the NetSuite record that you want to delete

属性

Common

  • DisplayName - The display name of the activity. This field supports only Strings or String variables.

Input

  • Id - The Id of the record that you want to delete. 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.

选项

  • DeletionReasonCode - The NetSuite code that describes the reason for the deletion. This field supports only Strings or String variables.
    • The DeletionReasonCode value must be a deletion reason that is listed in the NetSuite application under Setup > Accounting > Accounting Lists.
    • If the Use Deletion Reasons feature is enabled and you use the DeletionReasonCode to identify a code that does not exist, the request fails with an INVALID_REF_KEY error.
    • For more information, see Deletion Reason Notes in the NetSuite documentation.
  • DeletionReasonMemo - A note describing the reason for the deletion. This field supports only Strings or String variables. For more information, see Deletion Reason Notes in the NetSuite documentation.

Output

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

Updated about a month ago


删除记录


建议的编辑仅限用于 API 参考页面

You can only suggest edits to Markdown body content, but not to the API spec.