Programmatic sharing use cases?
What is needed to maintain a programmatic share record using the Share button on the UI?
the ROW Cause field value in the SHARE Object should be set to “Manual Share”. The share record is subject to all rules with the manual share row cause such as deletion upon owner transfer.
Important FAQ