当前位置:网站首页>Dynamics crm: relationships (2) - n:n many to many
Dynamics crm: relationships (2) - n:n many to many
2022-07-22 07:40:00 【Stone-hdj】
Realization N:N, That is, there are two ways of many to many , One is OOB Out of the box way , One is to create an intermediate entity to map the entities on both sides :
- Use the out of the box method provided by the system
First, we create two entities , One EntityA, One EntityB, then “New Many-to-Many Relationship” Create a and EntityB many-to-many :
After the creation, we will EntityA and EntityB Medium ‘N:N Relationships’ You can see :
And then we look at these two entities Main form Make some changes :
We are EnityA Lieutenant general EntityB Drag to the left navigation bar ( Click on the Navigation Button to make the left side editable )
In the same way, we are EnityB Lieutenant general EntityA Drag to the left navigation bar
And then we were in EntityB Create several records in , such as test1,test2
Then we point in EntityA A record in , for example 123 This record , Click on Related Medium EntityB
We will enter the associated view , Click on "Add Existing EntityB"
In the pop-up sidebar on the right, we can select existing records and 123 This record is associated ,
You can also click "+ New Record" To jump to EntityB To create a new record , After creation, we can repeat the above steps to add existing records for association
After Association :
Again , about EntityB, We can also do the same operation to correlate .
The above is to use the out of the box method to realize the many to many relationship .
- Create intermediate entities to realize many to many association
Now let's create an intermediate entity ‘EntityAEntityB’ To achieve a many to many relationship
Then under this new entity, we call EntityA Create a N:1 Relationship,
Similarly, under this new entity, we call EntityB Create a N:1 Relationship
After the N:1 Relationship You can see the two relationships you created
We are ‘EntityAEntityB’ Of Main Form Add the fields of the two relationships just created , save & publish
In this way, we can create a many to many relationship through intermediate entities .
Let's use some data to test :
EntityA Create some data in :
EntityB Create some data in :
stay EntityAEntityB Create an association in :
After creation :
边栏推荐
- Dynamics 365: 如何在Azure AD中創建用戶並添加到Dynamics 365 Online中
- Dynamics CRM: several situations in which the display fields in a form become read-only
- 同构+跨端,懂得小程序+kbone+小程序容器就够了!
- Dynamics 365: Access Team Templates的用法
- Spirng's annotation usage
- Crazy God redis notes 06
- 20、shell编程之变量
- pg_ Can the files under the wal directory recover the database?
- Dynamics CRM: 邮箱配置(二) - 对于Dynamics CRM中收不到邮件的可能原因之一
- Free sharing, easy to use Bates training method to mediate ciliary myopic recovery training
猜你喜欢
Azure Key Vault(2):创建Azure Key Vault
吃了爱优腾的药,奈飞病情好转
Pycharm reads jy-901s data
dedecms编辑器支持Word图片自动粘贴
撤回IPO申请,无人船艇企业云洲智能“游”不进科创板
Dynamics CRM: 遇到“The plug-in execution failed because no Sandbox Hosts are currently available.“
Web3,加密VC新风口
Dynamics CRM:表单中移除一个控件时,提示“The field you are trying to remove is required by the system or business“
谁是预制菜赛道的“卷”王?
Embedded development: seven skills of using RTOS
随机推荐
Dynamics crm: role of non event dependencies in form
架构师成长:当谈到架构,究竟是谈什么
Dynamics CRM: 如何通过高级查找来搜索用Connection关联起来的实体记录
益盟操盘手软件可靠么?买股票安全吗?
Dynamics CRM: 遇到“The plug-in execution failed because no Sandbox Hosts are currently available.“
MLX90640 红外热成像仪测温模块开发笔记(三)
Dynamics CRM: the entity set in dashboard cannot be displayed
Dynamics 365: how to create users in azure AD and add them to dynamics 365 Online
Dynamics 365: 如何在Azure AD中创建用户并添加到Dynamics 365 Online中
Keras deep learning practice (15) -- realize Yolo target detection from scratch
Dynamics crm: how to monitor and manage workflow processes and view their running history
第一个微信小程序的初始化过程、小程序微信开发平台的下载、如何注册一个微信小程序的账号
集合之HashSet
Azure Key Vault(1)介绍
tsconfig. JSON cannot find any input in the configuration file. What should I do?
Is Yimeng trader software reliable? Is it safe to buy stocks?
如何编写sql语句?
2022年中国第三方支付市场专题分析
Dynamics CRM: Form中的Non-Event Dependencies的作用
Dynamics crm: how to search entity records associated with connection through advanced search