Posts

Showing posts from August, 2022

Associate/Dissociate Record using Power Automate

Image
Note: For latest dynamic CRM interview question please click  Here . Scenario: I have entity A and entity B. entity A and B is having 1: N relationship and entity B is the sub grid of entity A . Once you open Entity B record then unique id field of Entity A as the lookup of entity B is present in Entity A (Means if 1:N relationship between A and B then lookup will be in entity B). Now there is another entity called entity C. There is relationship between C and B is N:N means one of the record of B entity may be related to the multiple record of C entity. Once you open the C record in C from you will find the subgrid of B entity and once you open B entity record you will find subgrid of C entity. Screenshot For you reference:  Once i open any B record see the screenshot : Now each record of  B Entity  might contain multiple record of C entity if you remove one B record if it is associate with multiple of C record it will also remove from multiple of C record. Now we h...

Associate/Disassociate in CRM using plugin

Image
Senario : Let's assume i have one entity name is A and second entity name is B. In both of them N:N relationship is exits. B entity is exits on the form of A entity as a Tab now once i remove the the record of A entity that removed record lookup field name we need to take and compare with the field of different tab (Vistying)which is present in form of B entity.  Note : On CRM UI you can able to identify whether entity is having N:N relationship or not with other entity. Check if two of the entity does not contain +new button that means only having add existing button it means both of them having N:N relationship. Screenshot of entity:  In given figure Entity B is containing sub grid of Entity A and both of them is having N:N relationship. Coding :  Component:              Entity B field is :-            Entity B UI is :-                       ...