Usage
sf_find_duplicates_by_id(
sf_id,
include_record_details = FALSE,
guess_types = TRUE,
verbose = FALSE
)
Arguments
- sf_id
character
; a Salesforce generated Id that uniquely identifies a record.- include_record_details
logical
; get fields and values for records detected as duplicates by setting this property toTRUE
. Get only record IDs for records detected as duplicates by setting this property toFALSE
.- guess_types
logical
; indicating whether or not to usecol_guess()
to try and cast the data returned in the recordset. IfTRUE
thencol_guess()
is used along withanytime()
andanydate()
. IfFALSE
then all fields will be returned as character. SpecifyingFALSE
helpful when guessing the column data type will result in NA values and you would like to return the results as strings and then cast in your script according to your unique specifications.- verbose
logical
; an indicator of whether to print additional detail for each API call, which is useful for debugging. More specifically, when set toTRUE
the URL, header, and body will be printed for each request, along with additional diagnostic information where available.
Note
You must have active duplicate rules for the supplied object before running this function. This function uses the duplicate rules for the object that has the same type as the input record IDs. For example, if the record Id represents an Account, this function uses the duplicate rules associated with the Account object.