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일 오후 7: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