How to change the owner to the default owner when transferring records from one org to another using SALESFORCE TO SALESFORCE?

ConnectionReceivedId is the ID of the PartnerNetworkConnection that shared record with your organization.

So, write a trigger on before insert that owner should be changed to default owner, when ConnectionReceivedId is not null.


No comments:

Post a Comment

Sharing is Caring!!! Share this with your friends!!!

submit to reddit