gpt4 book ai didi

dynamics-crm-2011 - 高级查找-将相关实体与OR组合

转载 作者:行者123 更新时间:2023-12-04 08:35:41 24 4
gpt4 key购买 nike

有什么方法可以创建该查询?

我需要来自地址和联系地址的数据,通常我可以通过Combine OR组合它们,但在这种情况下不能。

我想我必须使用PreExecute()方法编写新的插件,获取我的查询,解析数据,然后手动获取相等的地址,或者还有其他方法吗?

最佳答案

我不知道采取任何上述措施。

而不是写一个插件,但是我会做一个报告。

我能想到的最简单的方法是在不使用此类过滤器的情况下执行fetchXML。

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true">
<entity name="account">
<attribute name="name" />
<attribute name="primarycontactid" />
<attribute name="telephone1" />
<attribute name="accountid" />
<attribute name="address1_city" />
<order attribute="name" descending="false" />
<link-entity name="contact" from="parentcustomerid" to="accountid" alias="ac">
<attribute name="address1_city" />
</link-entity>
</entity>
</fetch>

然后使用
=Fields!address1_city.Value="Sydney" Or Fields!ac_address1_city.Value="Sydney"

显然,您可以将悉尼替换为参数

关于dynamics-crm-2011 - 高级查找-将相关实体与OR组合,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17995575/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com