Does anyone know how to create a link entity in fetch xml where its based off more than 1 criteria?
<link-entity name="salesorderdetail" from="salesorderid" to="salesorderid" visible="false" link-type="outer" alias="orderproduct"> <attribute name="salesorderdetailid" /> <attribute name="salesorderid" /> <attribute name="quantity" /> <attribute name="productid" /> <attribute name="new_discount" /> <link-entity name="salesorder" from="salesorderdetailid" to="salesorderdetailid" visible="false" link-type="outer">
In this example, you can see that the from and to is only 1 field, how can I match more than 1 columns in the two tables ?