Delete a record


Usage

rforcecom.delete(session, objectName, id)

Arguments

    session
    Session data. It can be retrieved from rforcecom.login().
    objectName
    An object name. (ex: “Account”, “Contact”, “CustomObject__c”)
    id
    Record ID to retrieve. (ex: “999x000000xxxxxZZZ”)

Value

No data.

Example

objectName <- "Account";
id <- "999x000000xxxxxZZZ" # Record Id
rforcecom.delete(session, objectName, id)