Skip to main content
Scott Trick が「#Integration」で質問
I'm looking at the c⌗ code for SOAP API Merge() located here:

https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_merge.htm?q=merge

The problem i'm having is figuring out how to get this to work in c⌗ because I dont have an 'Account' type.  How do I create the Account? :

// Create two accounts to merge

Account[] accounts = new Account[2];

 
2 件の回答
  1. 2023年10月10日 19:20
    Hello Scott,

    I would recomment you to please go through the below link:

    https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_quickstart_intro.htm

    You don't create new Account objects in your C⌗ code to perform a merge; you work with existing records by querying them and then specifying which records you want to merge using their IDs.

    Please mark this as the best answer if this helps.

    Thank You.
0/9000