function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mromanimromani 

Composite Key and Upsert

I was wondering if it is possible to create composite keys in Salesforce? And if so, how can we utilize this when writing an upsert?

 

EX: Right now im doing the following to do my upsert:

 

sforce.UpsertResult[] upResult = binding.upsert("Name", objList);

 

but suppose i can have an object with a composite key, how would i do my upsert?

 

Thanks