You need to sign in to do that
Don't have an account?
Vamsi:)
Junction objects
Guyz...I am fed up reading junction objects, some say that it is only with two master details relation ships, some say that it can be with two lookup relationships also and some say it can be a combination of both. But at the end I am not clear which can be called as the junction object. Can if someone really explain this with a small example, a billion thanks.
Examples:
Master-Detail for both:
- If you look at the CaseTeamMember or AccountTeamMember object, this is a simple junction object between the Case/Account and a User. It also has some additional information on it such as the type the member is. In this case it does not make sense to keep the member object around if either the Case/Account or the User are deleted and creating one without either serves no purpose. So making them both master-detail makes the most sense
Lookup for both / some:That last example is a really weak one which is why I say that 99% of the time you want them to be master-detail for all members.