Hello Scott,
Yes you are right I'm doing some join operation
Please have a look into my fetchxml
<fetch version='1.0' output-format='xml - platform' mapping='logical' distinct='true'>
<entity name = 'opportunity'>
<attribute name = 'name'/>
<attribute name = 'uts_billtoaccount'/>
<attribute name = 'uts_billtoaddress'/>
<attribute name = 'uts_shiptoaddress'/>
<attribute name = 'uts_salesperson'/>
<attribute name = 'uts_initialpaymentpercentage'/>
<attribute name = 'uts_productionpaymentpercentage'/>
<attribute name = 'uts_deliverypaymentpercentage'/>
<attribute name = 'uts_completionpaymentpercentage'/>
<attribute name = 'customerid'/>
<attribute name = 'estimatedvalue'/>
<attribute name = 'statuscode'/>
<attribute name = 'opportunityid' />
<order attribute = 'name' descending = 'false'/>
<filter type = 'and'>
<condition attribute = 'statecode' operator= 'eq' value = '1'/>
<filter type = 'or'>
<condition attribute = 'modifiedon' operator= 'not-null'/>
<condition attribute = 'modifiedon' operator= 'not-null'/>
</filter>
</filter>
<link-entity name='uts_opportunitylineitem' from='uts_parentopportunity' to='opportunityid' alias='ah'>
<attribute name = 'uts_quantity'/>
<attribute name = 'uts_totalprice'/>
<link-entity name='product' to='uts_product' from='productid' alias='ad'>
<attribute name = 'new_quickbookslineitemcode'/>
</link-entity>
</link-entity>
</entity>
</fetch>