module DynamicsCRM

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

<entity name="opportunityproduct">
  <attribute name="productid" />
  <attribute name="productdescription" />
  <attribute name="priceperunit" />
  <attribute name="quantity" />
  <attribute name="extendedamount" />
  <attribute name="opportunityproductid" />
  <order attribute="productid" descending="false" />
  <link-entity name="product" from="productid" to="productid" alias="product">
    <attribute name="name" />
    <attribute name="producttypecode" />
    <attribute name="price" />
    <attribute name="standardcost" />
    <attribute name="currentcost" />
  </link-entity>
  <link-entity name="opportunity" from="opportunityid" to="opportunityid" alias="opportunity">
    <filter type="and">
        <condition attribute="opportunityid" operator="eq" value="02dd7344-d04a-e411-a9d3-9cb654950300" />
    </filter>
  </link-entity>
</entity>

</fetch>

Constants

VERSION