## Not run:
# # Retrieving a record
# objectName <- "Account"
# fields <- c("name", "Industry", "AnnualRevenue")
# rforcecom.retrieve(session, objectName, fields)
# rforcecom.retrieve(session, objectName, fields, limit = 5)
# rforcecom.retrieve(session, objectName, fields, id = "999x000000xxxxxZZZ")
# rforcecom.retrieve(session, objectName, fields)
# rforcecom.retrieve(session, objectName, fields, order = c("Industry","Name"))
# rforcecom.retrieve(session, objectName, fields, order = c("Industry","Name"),
# inverse=TRUE, nullsLast=TRUE)
# ## End(Not run)
Run the code above in your browser using DataLab