Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

Counting many-to-many records, how can I do this with plugins?

$
0
0

Hello Experts,

I have a question. I have a N:N (many-to-many) relationship between Lead and a Custom Entity called "Sales Referrals". I need to count the total number of Leads a Sales Referral may have. I am trying to do this via a plugin. I am familiar in counting records when there is a field but have never tried to count when there is a many-to-many relationship. Does anyone have any advice or code snippets?


Viewing all articles
Browse latest Browse all 8223

Trending Articles



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