2017-07-16 1 views
1

Ich habe zwei XML's: First is;Beitritt zwei xmls (4 Datasets) für ssrs Abfrage Reporting Zweck?

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false"> 
<entity name="invoice"> 
<attribute name="name" /> 
<attribute name="customerid" /> 
<attribute name="totalamount" /> 
<attribute name="invoiceid" /> 
<attribute name="new_customerno" /> 
<order attribute="name" descending="false" /> 
    <link-entity name="invoicedetail" from="invoiceid" to="invoiceid" link-type="inner"> 
    <attribute name="new_styleno" /> 
    <attribute name="new_locationcode" /> 
    <attribute name="invoiceid"/> 
    <attribute name="new_finalcmt" /> 
    </link-entity> 
</entity> 
</fetch> 

Zweite ist;

<fetch distinct="false" mapping="logical" output-format="xml-platform" version="1.0"> 
<entity name="new_creditmemo"> 
<attribute name="new_creditmemoid"/> 
<attribute name="new_name"/> 
<attribute name="new_customerno"/> 
<attribute name="new_customername"/> 
<order descending="false" attribute="new_name"/> 
    <link-entity name="new_creditmemoline" link-type="outer" to="new_creditmemoid" from="new_creditmemoid"> 
    <attribute name="new_name"/> 
    <attribute name="new_creditmemoid"/> 
    <attribute name="new_locationcode"/> 
    <attribute name="new_finalcmt"/> 
    <order descending="false" attribute="new_name"/> 
    </link-entity> 
</entity> 
</fetch> 

Jetzt brauche ich diese beiden XML ist auf der Grundlage von new_customerno zu verschmelzen. Ich habe es versucht, aber es funktioniert nicht. Kann mir bitte jemand dabei helfen ?? Danke

+0

Versuchen Sie http://www.sql2fetchxml.com, wenn Sie SQL-Abfrage in der Hand für was Sie versuchen zu erreichen haben. –

Antwort

Verwandte Themen