?
Solved

Queries on Relationships in MS-CRM

Posted on 2010-11-26
1
Medium Priority
?
636 Views
Last Modified: 2012-05-10
Hi,

I have following queries about relationships in MS-CRM

1) It is said when 1:N relationship is created between system entity and custom entity it is called as parental relationship and if 1 to N relationship is created between Custom entity and System entity it is called as referential relationship. My quesiton is what difference the concept of parental and referential relationship make in terms of functionality

2) There are certain unsupported entity relationships they are 1 to Many customer and 1 to 1 and any to any. It is said Only Opportunity or case has to be associated with accounts or contacts. Is it not possible to associate any other custom enities to account or contact using relationship i am not clear in this point

3) What is cascade userowned behaviour?

Could any of you anwer these queries
0
Comment
Question by:PrasadSKLN
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 30

Accepted Solution

by:
Feridun Kadir earned 2000 total points
ID: 34216382
In a 1:many relationship there are cascading rules which define what happens to child records when an action is taken on the parent record. For example, an account can have many contacts. If an account is deleted what should happen to the contacts? This is called the cascading behaviour.   For each of the possible actions, there is an option as to what should happen. For example, for the delete action you can choose cacade all which means that all contacts linked to the account will be deleted. Or you could choose Cascade User Owned, which means that if the account is deleted, only the contacts owned by the user is deleting the account will be deleted.

There are pre-defined definitions of cascading behaviour. One is parental which sets all the cascade actions to All - so if an account is deleted then all contacts are deleted. Another one is referential which means if an account is deleted, don't delete the contacts but remove the link in Parent Customer to the account (which has been deleted).

When you create a relationship you can define whether the relationship behaviour is parental, referential or configurable. There are some restrictions in that if you create a 1:many relationship between a system and a custom entity then the behaviour cannot be parental.

With regard to the customer entity , this is a special virtual entity where when a users chooses a parent customer they can choose either an account or contact as the parent customer. You can't create relationships that offer this choice.

Opportunities and cases can have custom entities linked to them.

Hope this answers your questions.
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On Sep 22nd 2014 Microsoft released Update Rollup 1 for Microsoft Dynamics CRM 2013 Service Pack 1 and back in July Update Rollup 3 was released.  So we now have:   Update Rollup 1Update Rollup 2Update Rollup 3Service Pack 1Update Rollup 1 for S…
We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question