Now that we have a good understanding about monster detail and look up a relationship let's have a quick
look about how you can work relationship from master detail to look up and vice versa in real time projects.
Sometimes we might encounter some business scenarios that we need to convert master detail to look up
or vice versa.
So what are the considerations that we need to have in mind.
Like on working relationship.
Suppose that there is already a lookup relationship existing between two objects and now that if we
want to convert that lookup relationship the master detailed relationship then the thing that we need
to notice populate all the detailed records.
There is a child in a class with the pattern get a card of value so only after the data is populated
on all the child records that the relationship can be converted to master detailed relationship.
Otherwise the system would be edited out saying that there are some red cards which is not populated
with the better.
So while converting from look up the master tend to ensure that all the child cards are populated with
the painting.
Moving on now let's understand how the other way works.
That goes from master data to look up relationship.
So that is a master detailed relationship already existing and if you want to convert it to a lookup
relationship then the first thing that we need to note is that all up somebody fees.
We know that a roll up somebody fees can be created only on Master detailed relationship and it cannot
be created and then look up a relationship right.
So as the master detailed relationship the already existing between two objects that is a good possibility
that there might be role up somebody feels existing aspect in that scenario the system would not let
us book on what the master detailed relationship will look up relationship so we need to remove those
roll up somebody fees.
Only then we can convert the relationship to look up relationship and the final consideration is about
the reports that our custom reports already existing based on the look up out of the master detailed
relationship.
Then those reports may become unusable.
This is because a lookup has garnered different report type and lawsuits Dell has got a different report
type so always a double check your report before and after converting relationships.
So these are some of the quick point is we need to have in mind why converting from loss detail to look
up or why some or some.