<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="4.8.27" DotMatrixReport="False" EngineOptions.MaxMemSize="20" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="40602,6690597801" ReportOptions.Description.Text="" ReportOptions.LastChange="41512,6632604282" ScriptLanguage="PascalScript" ScriptText.Text="{&#13;&#10;===================================&#13;&#10;*  por Jaime P.Jr em 15/04/2013   *              &#13;&#10;*  Relatório Padrão Simples       *  &#13;&#10;===================================}&#13;&#10;begin&#13;&#10;{Checagem de dados}                                                &#13;&#10;  QPrincipal.Open;                 &#13;&#10;  if QPrincipal.IsEmpty then&#13;&#10;  begin              &#13;&#10;    CreateError('Não exitem registros para os filtros selecionados.');&#13;&#10;  end;&#13;&#10;    &#13;&#10;end." StoreInDFM="False" PropData="044C65667403D80203546F7002100844617461736574730101062A20446174615365743D2251456D70726573612220446174615365744E616D653D2251456D7072657361220001062E20446174615365743D22515072696E636970616C2220446174615365744E616D653D22515072696E636970616C220000095661726961626C65730101061F204E616D653D224474496E696369616C222056616C75653D223431323735220001061D204E616D653D22447446696E616C222056616C75653D223431333836220001061C204E616D653D22436F64456D7072657361222056616C75653D2231220001061D204E616D653D22436F64456D707265736132222056616C75653D2231220001061B204E616D653D2246696C74726F73222056616C75653D22272027220000055374796C650100">
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxADOQuery Name="QPrincipal" UserName="QPrincipal" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="select &#13;&#10;case        &#13;&#10;when coalesce(ftg_ecfser,'')='' then '&#34;Em Branco&#34;'                                              &#13;&#10;else ftg_ecfser             &#13;&#10;end as ftg_ecfser,ftg_numdoc,FTG_DTAENT,FTG_NUMCAX&#13;&#10;from fatger &#13;&#10;where ftg_espdoc = 'IF'&#13;&#10;and FTG_ECFSER in&#13;&#10;(select distinct ftg_ecfser from fatger where ftg_espdoc = 'IF' &#13;&#10; and FTG_ECFSER not in (select ECF_NUMSER from cadecf)&#13;&#10; and ftg_dtaent between :Dti and :Dtf and ftg_codemp = :CodE&#13;&#10;) &#13;&#10;order by ftg_ecfser,FTG_DTAENT desc,FTG_NUMCAX,ftg_numdoc" CommandTimeout="1800" LockType="ltReadOnly" PropData="05704C65667402200470546F70021C0A506172616D65746572730101063E204E616D653D22447469222044617461547970653D22667444617465222045787072657373696F6E3D22262336303B4474496E696369616C262336323B220001063C204E616D653D22447466222044617461547970653D22667444617465222045787072657373696F6E3D22262336303B447446696E616C262336323B2200010644204E616D653D22436F6445222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303B436F64456D707265736132262336323B220000"/>
    <TfrxADOQuery Name="QEmpresa" UserName="QEmpresa" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="select emp_nomemp &#13;&#10;from cademp &#13;&#10;where EMP_CODIGO=:CodEmpresa" CommandTimeout="1800" LockType="ltReadOnly" PropData="05704C656674025C0470546F70021C0A506172616D657465727301010649204E616D653D22436F64456D7072657361222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303B436F64456D7072657361262336323B220000"/>
  </TfrxDataPage>
  <TfrxReportPage Name="Relatorio1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" Columns="2" ColumnWidth="95" ColumnPositions.Text="0&#13;&#10;95" HGuides.Text="" VGuides.Text="">
    <TfrxPageFooter Name="RodapePagina" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Height="15,11812" Left="0" ParentFont="False" Top="256" Width="718,1107">
      <TfrxSysMemoView Name="SysMemo3" Left="551,81097724" Top="0,133858270000019" Width="166,29932" Height="15,11812" ShowHint="False" Font.Charset="0" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[PAGE#]/[TOTALPAGES#]"/>
    </TfrxPageFooter>
    <TfrxMasterData Name="MDPrincipal" Height="18,8976378" Left="0" Top="176" Width="359,05535" ColumnWidth="0" ColumnGap="0" DataSet="QPrincipal" DataSetName="QPrincipal" RowCount="0">
      <TfrxMemoView Name="Memo3" Left="0" Top="0" Width="113,3859" Height="18,89765" ShowHint="False" DataField="ftg_numdoc" DataSet="QPrincipal" DataSetName="QPrincipal" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[QPrincipal.&#34;ftg_numdoc&#34;]"/>
      <TfrxMemoView Name="Memo6" Left="113,3859" Top="0" Width="79,37013" Height="18,89765" ShowHint="False" DataField="FTG_DTAENT" DataSet="QPrincipal" DataSetName="QPrincipal" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Courier New" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="[QPrincipal.&#34;FTG_DTAENT&#34;]"/>
      <TfrxMemoView Name="Memo8" Left="192,7718" Top="0" Width="71,81107" Height="18,89765" ShowHint="False" DataField="FTG_NUMCAX" DataSet="QPrincipal" DataSetName="QPrincipal" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Courier New" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="[QPrincipal.&#34;FTG_NUMCAX&#34;]"/>
    </TfrxMasterData>
    <TfrxGroupHeader Name="GroupHeader1" Height="52,91342" Left="0" Top="104" Width="359,05535" Condition="QPrincipal.&#34;ftg_ecfser&#34;" ReprintOnNewPage="True">
      <TfrxMemoView Name="Memo5" Left="0" Top="34" Width="113,3859" Height="18,8976378" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="0" Frame.Typ="12" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Cupom"/>
      <TfrxMemoView Name="Memo7" Left="113,3859" Top="34" Width="79,37013" Height="18,8976378" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="0" Frame.Typ="12" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Data"/>
      <TfrxMemoView Name="Memo9" Left="192,7718" Top="34" Width="71,81107" Height="18,8976378" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="0" Frame.Typ="12" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Caixa"/>
      <TfrxMemoView Name="QPrincipalftg_ecfser" Align="baWidth" Left="0" Top="12" Width="359,05535" Height="18,89765" ShowHint="False" DataField="ftg_ecfser" DataSet="QPrincipal" DataSetName="QPrincipal" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="[QPrincipal.&#34;ftg_ecfser&#34;]"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter1" Height="18,89765" Left="0" Top="216" Width="359,05535">
      <TfrxSysMemoView Name="SysMemo1" Left="0" Top="0" Width="264,5671" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="8" ParentFont="False" Text="Total de Cupons: [COUNT(MDPrincipal)]"/>
    </TfrxGroupFooter>
    <TfrxReportTitle Name="TituloRelatorio" Height="68,91342" Left="0" Top="16" Width="718,1107" Stretched="True">
      <TfrxMemoView Name="Titulo" Align="baWidth" Left="0" Top="18,8976378" Width="517,79561" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Courier New" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="Relação de Divergênias por Impressora - EFD"/>
      <TfrxMemoView Name="RelReferencia" Align="baRight" Left="517,79561" Top="19" Width="200,31509" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[IIF(&#60;RelReferencia&#62;='','','(Ref.:'+&#60;RelReferencia&#62;+')')]"/>
      <TfrxMemoView Name="Filtros" Align="baWidth" Left="56,69295" Top="38,67718" Width="661,41775" Height="30,23624" ShowHint="False" StretchMode="smMaxHeight" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[&#60;Filtros&#62;]"/>
      <TfrxMemoView Name="LblFiltros" Align="baLeft" Left="0" Top="38,67718" Width="56,69295" Height="30,23624" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="Filtros:"/>
      <TfrxMemoView Name="NomeEmpresa" Align="baWidth" Left="0" Top="0" Width="517,79561" Height="18,89765" ShowHint="False" DataField="EMP_NOMEMP" DataSet="QEmpresa" DataSetName="QEmpresa" Font.Charset="0" Font.Color="0" Font.Height="-13" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[QEmpresa.&#34;EMP_NOMEMP&#34;]"/>
      <TfrxMemoView Name="Emissao" Align="baRight" Left="517,79561" Top="0" Width="200,31509" Height="15,11812" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" Text="Emissão: [DATE] [Time]"/>
    </TfrxReportTitle>
  </TfrxReportPage>
</TfrxReport>
