简体   繁体   中英

How to fetch the associated Lead Records for an account entity in MS Dynamics CRM

如何在 MS Dynamics CRM 中获取帐户实体的关联潜在客户记录。

if (collection != null && collection.Entities != null && collection.Entities.Count > 0)
            {
                /*Add method call here/
                contacts = collection.Entities.ToList();
            }

In this condition you can add call of new method that will collect for you associated lead records. You have collection.Entities . Loop it like foreach(var Entity in collection.Entities) . From there you can get Id that you need or you will get information that you need.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM