What behavior does the force.com platform perform as it relates to manual sharing records, when ownership changes?
when the owner of a record is changed, the platform deletes all the manual shares associated with the record. In effect, it “clean sthe slate” for the new owner and let them decide whether they want to share it to anybody. And if you have been writing code that shares the record, your shares will get deleted, too, because they have the same ‘manual’ row cause—the platform cannot distinguish between a sharing row you created and a sharing row created through the UI.
What Mechanisms does a developer have to prevent force.com from removing manual sharing records? what are the limitations?
What strategies can I employ to prevent ownership changes from removing manual sharing on std objects?