Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

1:N (one to many) Entities Relationship Advanced find/FetchXML Query for Dynamic Marketing List - Dynamics CRM 2016 Online

$
0
0

Hi Guys,

I have implemented a membership solution in Dynamics CRM 2016 Online where a Contact can purchase many different Memberships. Therefore, I created custom Membership Entity and created a 1:N relationship between Contact and Membership.

Overview of the design is

Entities

  • Contact
  • Membership (custom entity)
  • Product

Membership entity has 1:N relationship with Product Entity and Membership entity also has 1:N relationship with Contacts. Basically, membership entity is a bridge between Contact and Product Entity. Every time a contact buys another membership for different product new Membership record is created.

Solution is working fine. However, client wants to create some Dynamic Marketing Lists and they want to add list of contacts who has purchased membership for particular product e.g. Monthly Magazine, Quarterly Magazine or Yearly Magazine.

I am unable to create fetchxml query between contact to membership as contact has Many to One relationship.

Can anyone please help me form fetchxml query or different solution/way so that i can make this work.

thanks you all in advanced


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>