I have been trying to find out how adding a new master-detail field to a released object (Object released in SF Managed Package), would impact the upgrade process.
As far as adding master-detail relationship to an existing object is concerned we would normally add the field as lookup, populate the values in all data and then convert the field to master-detail.
Do we have to follow a similar approach for package release ?
- Create an intermediate version where we add the field as lookup.
- Add value(s) in the lookup field in the client org(s), for all the existing data in client org
- Release another version of managed package where the lookup field is converted to Master-detail
- Apply the upgrade in client org(s).
I have searched for the impact of adding Master-detail relationship in the ISV guide but with no luck.
Any help would be greatly appreciated.