<?xml version="1.0" encoding="utf-8"?>
<savedquery>
  <IsCustomizable>1</IsCustomizable>
  <CanBeDeleted>1</CanBeDeleted>
  <isquickfindquery>0</isquickfindquery>
  <isprivate>0</isprivate>
  <isdefault>0</isdefault>
  <returnedtypecode>4210</returnedtypecode>
  <savedqueryid>{8c716765-d92c-e611-8120-127b25dcbde7}</savedqueryid>
  <layoutxml>
    <grid name="resultset" object="4210" jump="subject" select="1" preview="1" icon="1">
      <row name="result" id="activityid">
        <cell name="vhacrm_type_code" width="100" />
        <cell name="regardingobjectid" width="200" />
        <cell name="statecode" width="125" />
        <cell name="to" width="150" disableSorting="1" />
        <cell name="phonenumber" width="125" />
        <cell name="vhacrm_attempt_number" width="125" />
      </row>
    </grid>
  </layoutxml>
  <querytype>0</querytype>
  <fetchxml>
    <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
      <entity name="phonecall">
        <attribute name="to" />
        <attribute name="vhacrm_attempt_number" />
        <attribute name="phonenumber" />
        <attribute name="regardingobjectid" />
        <order attribute="regardingobjectid" descending="false" />
        <order attribute="statecode" descending="true" />
        <filter type="and">
          <condition attribute="vhacrm_type_code" operator="eq" value="713770000" />
          <condition attribute="statecode" operator="eq" value="0" />
        </filter>
        <attribute name="vhacrm_type_code" />
        <attribute name="statecode" />
        <attribute name="activityid" />
      </entity>
    </fetch>
  </fetchxml>
  <IntroducedVersion>1.1.0.4</IntroducedVersion>
  <LocalizedNames>
    <LocalizedName description="HRC Outbound Open Phone Calls" languagecode="1033" />
  </LocalizedNames>
</savedquery>