1

I am trying to create a view that will display data from an order. There is a one to many relationship from the order to the payments for an order. The payments will display on the order form. The problem I'm having is that the information from the payment does not display when you run the query. Here is the XML from the view.

<?xml version="1.0"?>
    -<fetch distinct="false" mapping="logical" output-format="xml-platform" version="1.0">
    -<entity name="salesorder"><attribute name="name"/>
         <attribute name="customerid"/>
         <attribute name="totalamount"/>
         <attribute name="salesorderid"/>
         <order descending="false" attribute="name"/>
    -<filter type="and"><condition attribute="totalamountlessfreight" value="0"
           operator="gt"/>
         <condition attribute="ree_orderdate" operator="this-month"/>
     </filter>
    -<link-entity name="ree_salesorderpayment" alias="a_eaddfe488ba0e2118a9d78e3b508542d" link-         type="outer" visible="false" to="ree_payment" from="ree_salesorderpaymentid">
         <attribute name="ree_paymentdate"/>
         <attribute name="ree_paymentamount"/>
     </link-entity> 
     </entity></fetch>

Is this possible?

Thanks, Gary

4

2 に答える 2