TOTVS RM icon

TOTVS RM

Interact with TOTVS ERP Linha RM — DataServer REST, native REST APIs, and automatic JWT authentication

DataServer (Generic) → Delete Record

AI-generated

Summary

Delete a record from a specified DataServer in TOTVS RM using the record's primary key.

Inputs

  • DataServer Name (required) — Exact name of the DataServer to target, e.g., FopFuncData, TMovData. Can be discovered using the 'List Available DataServers' operation.
  • Record ID (required) — Primary key identifier of the record to delete.
  • Company Code Override — Optional numeric override for the company code; set to 0 to use the company code configured in the credential.
  • RM Context — Optional context string for RM additional parameters; if omitted, the credential defaults are used.

Output shape

a single JSON object containing success confirmation and the deleted record ID

The operation returns a JSON object with { success: true, deletedId: recordId }. In case of errors, the node either throws an error or outputs an error message object if 'Continue On Fail' is enabled.

Examples

Example 1: Delete a record with ID '12345' from DataServer 'FopFuncData' with default company code and context

Set Resource to 'DataServer (Generic)', Operation to 'Delete Record', DataServer Name to 'FopFuncData', and Record ID to '12345'. Optionally set Company Code Override and RM Context.

Links

Discussion