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
jojoforcejojoforce 

Salesforce To Salesforce Sharing Prevent Duplicates/Establish link between pre-existing Accounts

We want to able to share accounts between two orgs. We have turned on Salesforce to Salesforce Sharing between two orgs.

 

Some of the accounts in Org A might already exist in Org B prior to establishing the SF2SF link. The two orgs happen to have a unique External ID as a key identifier of accounts between two orgs. So it we look up an account in one org, we can use the External ID to look it up in the other org.

 

Our issue is that some of the accounts in Org A already exist in Org B prior to establishing the SF2SF link. So we want to be able to establish the link between existing accounts between orgs.

 

Salesforce To Salesforce does not appear to detect duplicate records. If the account already exist in the other org, it generates an error DUPLICATE_VALUE as a system error preventing the record to be shared.

 

Is it possible to update PartnerNetworkRecordConnection object. If we know the ConnectionId, LocalRecordId and the PartnerRecordId, we can theorically just dataload the data. However the field PartnerRecordId does not seem updatable. Or any other workaround?

 

 

Ashish_SFDCAshish_SFDC

Hi Jojo,

 

You may try the Avoid Duplicate apps in the appexchange and also look at the code in the link below,
http://wiki.developerforce.com/page/Avoid_Creation_of_Duplicate_Account_Names

 

Search First Before Create
https://appexchange.salesforce.com/listingDetail?listingId=a0N30000001qHWIEA2


DupeCatcher, Real Time Deduplication
https://appexchange.salesforce.com/listingDetail?listingId=a0N300000058vzKEAQ

 

Regards,
Ashish