CRM Dynamics How to set short list - long list relationship

会有一股神秘感。 提交于 2019-12-06 16:21:35

Create four entities LongList, ShortList, LongListMember, ShortListrMember

LongList Entity attributes

1) List Name

2) Any other information you want to store about the list.

ShortList Entity attributes

1) List Name

2) LongList - Lookup to related LongList record

3) Any other information you want to store about the list.

LongListMember Entity attributes

1) List Name - Lookup to LongList Entity

2) Member - Lookup to entity that you want to track in the list.

ShortListMember Entity attributes

1) List Name - Lookup to ShortList Entity

2) Member - Lookup to entity that you want to track in the list.

Now to create a Long List

1) Create an record of Entity LongList

2) For each of the records you want to track in the list, add a LongListMember record where

a) List Name field points to the new LongList record that you created

b) Member field points to the record you want to add to the list.

Similarly, to create a ShortList

1) Create an record of Entity ShortList

2) Set the Long List field to the related Long List record

3) For each of the records you want to track in the list, add a List Member record where

a) List Name field points to the new ShortList record that you created

b) Member field points to the record you want to add to the list.

To enforce the constraint that members of the Short list should belong to the related long list you will need to write a filtered lookup on the ShortListMember form such that the lookup view only displays records that belong to the related LongList. This is a little complicated so let me know if you intend to go this way and I can help you further.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!