We have a trigger on accountcontactrelationship object which inserts an accountshare record as our account object is private. Accountshare record is inserted based on the accountcontactrelationship record that is inserted.
We have observed that when the primary account on the contact is updated (The direct relationship on the ACR is changed), that deletes the manualshare record that was inserted previously.
Just need to understand why Salesforce is doing it (the reasoning behind it) and how to prevent that.
Thanks in advance