简体   繁体   中英

0:1 Relationship in MS Dynamics CRM

Is it possible to create a 0:1 Relationship in MS Dynamics CRM 2016 with using standard relationship (1:N) and workflow (without plugin or javascript) ?

Thanks in advance for your help

The closest thing to a cardinality of 0..1 I can think of is a Many to One relationship (N:1), where the referenced entity can be null (0) or not (1).

Example: an account has a relationship to the parent account, which is also an account. This is a N:1 relationship where you could have accounts with Parent accounts (1) or accounts without a parent (0).

Hope this helps.

The way I try to look at 1:1 relationships (and by proxy 0:1) is with Sections on the form. So you add a section on the form with the fields associated with that relationship and a pertinent Section name. If the fields are populated you have a 1:1. If they are not it's a 0:1 relationship. This is would be a no-code, no-workflow, approach to your problem.

If you want to get fancy with it you could also establish business rules to dynamically handle the events associated with the population of said fields.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM