无法使实体从xml过滤器解码我的计划MS流报告

问题描述

我正在尝试配置一个流程,以每周一次向工作人员发送报告。此报告是针对批发销售橱窗家具和小型建筑的企业的批发订单。我在列表记录中使用XML函数从实体中收集所需的数据

我遇到的问题是我的XML文件(过滤器)在CRM中收集了正确的信息,并使用XRM工具箱(在这是我从高级查找CRM中最终确定XML文件的位置)中使用了fetchXML。

the image shows the basic flow

>

从这里开始XML提取如下。

enter code here
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false" >
  <entity name="salesorderdetail" >
   <attribute name="productdescription" />
  <attribute name="baseamount_base" />
   <attribute name="new_number" />
   <attribute name="new_primarycolour" />
   <attribute name="new_productionstatus" />
   <attribute name="salesorderdetailid" />
   <order attribute="productdescription" descending="false" />
    <link-entity name="salesorder" from="salesorderid" to="salesorderid" link-type="inner" alias="aa" >
   <attribute name="new_organisationid" />
    <attribute name="new_quoteid" />
    <attribute name="submitdate" />
    <attribute name="statuscode" />
    <attribute name="new_expecteddate" />
    <filter type="and" >
     <condition attribute="statecode" operator="not-in" >
      <value>3</value>
       <value>2</value>
       </condition>
       <condition attribute="new_organisationid" operator="not-null" />
       <condition attribute="pricelevelid" operator="eq" uiname="Wholesale" uitype="pricelevel" value="{0C03D141-AEB0-E811-A967-000D3AE0A339}" />
       <condition attribute="statuscode" operator="in" >
          <value>100000009</value>
          <value>3</value>
          <value>1</value>
          <value>100002</value>
          <value>100000008</value>
          <value>100000010</value>
         <value>100000004</value>
       </condition>
    </filter>
  </link-entity>
 </entity>
</fetch>

这在创建HTML表上提供了正确的数据,但是很明显我看到GUID的原因是由于使用Orders(销售订单实体)的列表记录,而其他数据是链接的实体是(order products(详细信息)。网络上使用解析json或获取记录,但是它们都在流程过程中失败,因此我删除了它们,流程可以正常工作,但是我的报告中只有一些清晰的数据。

提前感谢您的帮助

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)