Hi mv630, You can generate the complicated fetchXml by 2 ways FetchXML of LinQ pad. You can down load at blogs.msdn.microsoft.com/.../getting-fetchxml-from-linqpad . There are detail guideline to install CRM plugin to Linq pad and how to write generate FetchXml from Linq. The second you just go to this site http://www.sql2fetchxml.com/ and write your Sql command, then it will generate fetch xml for you.
↧