rforcecom.upsert: The 'salesforcer' backwards compatible version of...

View source: R/compatibility.R

rforcecom.upsertR Documentation

The salesforcer backwards compatible version of RForcecom::rforcecom.upsert

Description

[Soft-deprecated]

Usage

rforcecom.upsert(session, objectName, externalIdField, externalId, fields)

Arguments

session

list; a list containing "sessionID", "instanceURL", and "apiVersion" as returned by RForcecom::rforcecom.login. This argument is ignored in all backward compatible calls because the authorization credentials are stored in an environment internal to the salesforcer package, so it is no longer necessary to pass the session in each function call.

objectName

character; the name of the Salesforce object that the function is operating against (e.g. "Account", "Contact", "CustomObject__c").

externalIdField

An external Key's field name. (ex: "AccountMaster__c")

externalId

An external Key's ID. (ex: "999x000000xxxxxZZZ")

fields

Field names and values. (ex: Name="CompanyName", Phone="000-000-000" )

Value

NULL if successful otherwise the function errors out


salesforcer documentation built on March 18, 2022, 6:26 p.m.