function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dev2014dev2014 

Impact of changing object relationship after implementation

Hi ,

What is the effect of changing the relationship between objects on on the data or code developemnt in your org?for example changing a one to many to a many to many relationship etc.   An input, link to a video on that subject (preferred ) or an article would be appreciated..

Thanks,

Ben
sfdcMonkey.comsfdcMonkey.com
hi dev
Some points you need to be aware of.

1). Master-Detail relationship fields are mandatory while Lookup is not.

2.) If you have any Rollup summary fields that won't work with Lookup fields.

3.) If you have any Apex code which is referencing master-detail fiel, it will stop working if you are not checking not equals to null in your code as future records might not have any value to this field(Look up is not mandatory).

Hope this helps !!

If this helps,please mark this as best answer to help others :)
Rowallim TechnologyRowallim Technology
Hi Dev
Here is the link from where you can get your answers and hope your problem will be resolved.

https://help.salesforce.com/HTViewHelpDoc?id=relationships_considerations.htm

Please mark it best answer if it helps you to resolve your problem.

Thanx