Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 87499

Fetch Report Still Stuck

$
0
0

I am trying to create a Fetch report which creates a pick list from an Order. I have successfully created the report however now I am trying to add the product location to the report and I am having no success. Below is my report can anyone give me a hint as to what I am doing wrong? As soon as I add the enableprefiltering to the salesorder to make it run off the current record I loose it.

 

 

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">  

<entity name="salesorderdetail">    

<attribute name="productid" />    

 <attribute name="productdescription" />   

  <attribute name="requestdeliveryby" />   

  <attribute name="quantity" />    

<attribute name="uomid" />   

  <attribute name="salesorderdetailid" />    

<attribute name="description" />  

   <order attribute="productid" descending="false" />     <link-entity name="salesorder" from="salesorderid" to="salesorderid" visible="false" link-type="outer" alias="salesorder" enableprefiltering='1'>     

  <attribute name="name" />  

   <attribute name="customerid" />   

  <attribute name="statuscode" />   

  <attribute name="salesorderid" />   

  <attribute name="statecode" />    

 <attribute name="requestdeliveryby" />    

 <attribute name="new_regardingserviceactivity" />    

<attribute name="prioritycode" />    

 <attribute name="ordernumber" />

    <attribute name="new_fulfilledby" />   

  <attribute name="description" />  

   <attribute name="submitdate" />  

   <attribute name="datefulfilled" />

     <attribute name="createdon" />  

   <attribute name="createdby" />  

   <attribute name="new_binid" />  

   <attribute name="new_pickupdate" />  

   </link-entity>   

  <link-entity name="product" from="productid" to="productid" visible="false" link-type="outer" alias="product">    

   <attribute name="productnumber" />    

   <attribute name="new_productlocation" />    

 </link-entity>

  </entity> </fetch>

 


Viewing all articles
Browse latest Browse all 87499

Trending Articles



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