Monday, 15 February 2016

Activity FetchXml

<fetch version="1.0" count="50000" >
  <entity name="activitypointer" >
    <attribute name="statecode" />
    <attribute name="subject" />
    <attribute name="activitytypecodename" />
    <attribute name="activitytypecode" />
    <filter>
      <condition attribute="ownerid" operator="eq" value="23cffc4a-812c-45ae-b3a8-6d84d88d0be2" />
    </filter>
    <filter type="or" >
      <condition attribute="statecode" operator="eq" value="0" />
      <condition attribute="statecode" operator="eq" value="3" />
    </filter>
    <filter type="or" >
      <condition attribute="activitytypecode" operator="eq" value="4212" />
      <condition attribute="activitytypecode" operator="eq" value="4210" />
      <condition attribute="activitytypecode" operator="eq" value="4201" />
      <condition attribute="activitytypecode" operator="eq" value="4202" />
    </filter>
  </entity>
</fetch>

No comments:

Post a Comment