简体   繁体   English

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

[英]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 .你有collection.Entities Loop it like foreach(var Entity in collection.Entities) .foreach(var Entity in collection.Entities)一样循环它。 From there you can get Id that you need or you will get information that you need.从那里你可以得到你需要的Id或者你会得到你需要的信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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