<?xml version="1.0" encoding="utf-8"?>
<inherited ParentReport="Padrao\frxPadraoPaisagem.fr3" EngineOptions.DoublePass="True" ReportOptions.CreateDate="38169,4696994329" ReportOptions.Name="Verificar Baixa Super Simples" ReportOptions.LastChange="41845,5647662153" ScriptText.Text="var&#13;&#10;baixadoa , baixadoc, semparcela, cancelados : real;&#13;&#10;  &#13;&#10;procedure Band1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if Engine.FinalPass then&#13;&#10;  begin              &#13;&#10;    if (&#60;CdsRetornoSuperSimples.&#34;Inconsistencia&#34;&#62; = 1) then&#13;&#10;    begin&#13;&#10;       baixadoa := baixadoa+&#60;CdsRetornoSuperSimples.&#34;Vl_recebido&#34;&#62; ;                                                          &#13;&#10;       memo4.font.color:=clred;&#13;&#10;       memo13.font.color:=clred;&#13;&#10;       memo15.font.color:=clred;&#13;&#10;       memo9.font.color:=clred;&#13;&#10;       memo14.font.color:=clred;&#13;&#10;       memo7.font.color:=clred;&#13;&#10;       memo36.font.color:=clred;&#13;&#10;       memo8.font.color:=clred;&#13;&#10;       memo11.font.color:=clred;&#13;&#10;    end&#13;&#10;    else if (&#60;CdsRetornoSuperSimples.&#34;Inconsistencia&#34;&#62; = 2) then&#13;&#10;    begin&#13;&#10;       cancelados := cancelados+&#60;CdsRetornoSuperSimples.&#34;Vl_recebido&#34;&#62; ;                                                          &#13;&#10;       memo4.font.color:=clgreen;&#13;&#10;       memo13.font.color:=clgreen;&#13;&#10;       memo15.font.color:=clgreen;&#13;&#10;       memo9.font.color:=clgreen;&#13;&#10;       memo14.font.color:=clgreen;&#13;&#10;       memo7.font.color:=clgreen;&#13;&#10;       memo36.font.color:=clgreen;&#13;&#10;       memo8.font.color:=clgreen;&#13;&#10;       memo11.font.color:=clgreen;&#13;&#10;    end&#13;&#10;    else if (&#60;CdsRetornoSuperSimples.&#34;Inconsistencia&#34;&#62;  = 3) then&#13;&#10;    begin&#13;&#10;       semparcela := semparcela+&#60;CdsRetornoSuperSimples.&#34;Vl_recebido&#34;&#62; ;                                                          &#13;&#10;       memo4.font.color:=clblue;&#13;&#10;       memo13.font.color:=clblue;&#13;&#10;       memo15.font.color:=clblue;&#13;&#10;       memo9.font.color:=clblue;&#13;&#10;       memo14.font.color:=clblue;&#13;&#10;       memo7.font.color:=clblue;&#13;&#10;       memo36.font.color:=clblue;&#13;&#10;       memo8.font.color:=clblue;&#13;&#10;       memo11.font.color:=clblue;&#13;&#10;    end&#13;&#10;    else&#13;&#10;    begin&#13;&#10;       baixadoc := baixadoc+&#60;CdsRetornoSuperSimples.&#34;Vl_recebido&#34;&#62; ;&#13;&#10;       memo4.font.color:=clblack;&#13;&#10;       memo13.font.color:=clblack;&#13;&#10;       memo15.font.color:=clblack;&#13;&#10;       memo9.font.color:=clblack;&#13;&#10;       memo14.font.color:=clblack;&#13;&#10;       memo7.font.color:=clblack;&#13;&#10;       memo36.font.color:=clblack;&#13;&#10;       memo8.font.color:=clblack;&#13;&#10;       memo11.font.color:=clblack;&#13;&#10;    end&#13;&#10;  end;                  &#13;&#10;end;&#13;&#10;&#13;&#10;procedure Header1OnAfterPrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  baixadoa := 0;&#13;&#10;  cancelados := 0;&#13;&#10;  semparcela := 0;&#13;&#10;  baixadoc := 0;              &#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;baixadoa :=0;&#13;&#10;baixadoc :=0;&#13;&#10;cancelados :=0;&#13;&#10;semparcela :=0;                                 &#13;&#10;end.&#13;&#10;{&#13;&#10;**********Script from parent report**********&#13;&#10;Begin&#13;&#10;&#13;&#10;End.          &#13;&#10;}" PropData="044C656674020703546F70024008446174617365747301010C5000000020446174615365743D2264746D646C5F72656C61746F72696F732E784364735F417373696E6174757261732220446174615365744E616D653D2263647350616472616F5F417373696E6174757261732200010C4E00000020446174615365743D2264746D646C5F72656C61746F72696F732E784344535F505245464549545552412220446174615365744E616D653D2263647350616472616F5F505245464549545552412200010C4700000020446174615365743D22784364735265746F726E6F537570657253696D706C65732220446174615365744E616D653D224364735265746F726E6F537570657253696D706C6573220000095661726961626C65730100055374796C650100">
  <inherited Name="Data"/>
  <inherited Name="Page1" PaperSize="9" RightMargin="10" BottomMargin="10" ColumnWidth="277" LargeDesignHeight="True">
    <inherited Name="Padrao_PageHeader1" Top="16" Width="1046,92981">
      <inherited Name="Padrao_Memo2"/>
      <inherited Name="Padrao_Picture1"/>
      <inherited Name="Padrao_Memo3"/>
      <inherited Name="Padrao_Memo4"/>
      <inherited Name="Padrao_Memo23"/>
      <inherited Name="Padrao_Memo25"/>
      <inherited Name="Padrao_MemQuality"/>
      <inherited Name="Padrao_Picture2"/>
      <inherited Name="Padrao_Memo10"/>
      <inherited Name="padrao_Memo17"/>
    </inherited>
    <inherited Name="Padrao_PageFooter1" Top="656" Width="1046,92981">
      <inherited Name="Padrao_Line1"/>
      <inherited Name="Padrao_Memo1"/>
      <inherited Name="Padrao_Memo5" Left="864,71676"/>
      <inherited Name="Padrao_Memo"/>
    </inherited>
    <inherited Name="Padrao_MasterData1" Height="82,4724678" Top="512" Width="1046,92981">
      <inherited Name="Padrao_Picture5"/>
      <inherited Name="Padrao_Picture4"/>
      <inherited Name="Padrao_Picture3"/>
      <inherited Name="Padrao_Memo7"/>
      <inherited Name="Padrao_Memo8"/>
      <inherited Name="Padrao_Memo9"/>
    </inherited>
    <TfrxMasterData Name="Band1" Height="16" Left="0" Top="288" Width="1046,92981" OnBeforePrint="Band1OnBeforePrint" Columns="1" ColumnWidth="200" ColumnGap="20" DataSet="xCdsRetornoSuperSimples" DataSetName="CdsRetornoSuperSimples" RowCount="0">
      <TfrxMemoView Name="Memo4" Left="0" Top="1" Width="139" Height="15" ShowHint="False" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" Text="[CdsRetornoSuperSimples.&#34;imposto&#34;]"/>
      <TfrxMemoView Name="Memo7" Left="775" Top="1" Width="59" Height="15" ShowHint="False" Color="16777215" DataSet="CdsRetornoSuperSimples1" DataSetName="CdsRetornoSuperSimples1" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" Text="[CdsRetornoSuperSimples.&#34;Multa&#34;]"/>
      <TfrxMemoView Name="Memo8" Left="893" Top="1" Width="74" Height="15" ShowHint="False" DataSet="CdsRetornoSuperSimples1" DataSetName="CdsRetornoSuperSimples1" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" Text="[CdsRetornoSuperSimples.&#34;Vl_imposto&#34;]"/>
      <TfrxMemoView Name="Memo11" Left="967" Top="1" Width="74" Height="15" ShowHint="False" DataSet="CdsRetornoSuperSimples1" DataSetName="CdsRetornoSuperSimples1" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" Text="[CdsRetornoSuperSimples.&#34;Vl_recebido&#34;]"/>
      <TfrxMemoView Name="Memo14" Left="692" Top="1" Width="83" Height="15" ShowHint="False" DataSet="CdsRetornoSuperSimples1" DataSetName="CdsRetornoSuperSimples1" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" WordWrap="False" Text="[CdsRetornoSuperSimples.&#34;Dt_pagamento&#34;]"/>
      <TfrxMemoView Name="Memo36" Left="834" Top="1" Width="59" Height="15" ShowHint="False" Color="16777215" DataSet="CdsRetornoSuperSimples1" DataSetName="CdsRetornoSuperSimples1" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" Text="[CdsRetornoSuperSimples.&#34;Juros&#34;]"/>
      <TfrxMemoView Name="Memo13" Left="277" Top="1" Width="330" Height="15" ShowHint="False" DataSet="CdsRetornoSuperSimples1" DataSetName="CdsRetornoSuperSimples1" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" Text="[CdsRetornoSuperSimples.&#34;Cont_CNPJ&#34;]"/>
      <TfrxMemoView Name="Memo15" Left="606" Top="1" Width="86" Height="15" ShowHint="False" DataSet="CdsRetornoSuperSimples1" DataSetName="CdsRetornoSuperSimples1" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" WordWrap="False" Text="[CdsRetornoSuperSimples.&#34;Competencia&#34;]"/>
      <TfrxMemoView Name="Memo9" Left="138" Top="1" Width="139" Height="15" ShowHint="False" DataSet="CdsRetornoSuperSimples1" DataSetName="CdsRetornoSuperSimples1" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" WordWrap="False" Text="[CdsRetornoSuperSimples.&#34;cnpj&#34;]"/>
    </TfrxMasterData>
    <TfrxFooter Name="Band2" Height="168" Left="0" Top="324" Width="1046,92981">
      <TfrxMemoView Name="Memo35" Left="0" Top="27" Width="1043" Height="16" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="15" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo31" Left="0" Top="28" Width="136" Height="14" ShowHint="False" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="Nº de Pagamentos:"/>
      <TfrxMemoView Name="Memo32" Left="826" Top="28" Width="111" Height="14" ShowHint="False" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="Valor total Pago :"/>
      <TfrxMemoView Name="Memo33" Left="142" Top="28" Width="48" Height="14" ShowHint="False" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="[count(Band1)]"/>
      <TfrxMemoView Name="Memo34" Left="940" Top="28" Width="100" Height="14" ShowHint="False" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[sum(&#60;CdsRetornoSuperSimples.&#34;Vl_recebido&#34;&#62;,band1)]"/>
      <TfrxMemoView Name="Memo18" Left="819" Top="12" Width="118" Height="15" ShowHint="False" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" Text="Creditado em :"/>
      <TfrxMemoView Name="Memo19" Left="937" Top="12" Width="106" Height="15" ShowHint="False" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" Text="[CdsRetornoSuperSimples.&#34;Dt_Credito&#34;]"/>
      <TfrxMemoView Name="Memo20" Left="-1" Top="54" Width="55" Height="15" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="Legenda"/>
      <TfrxMemoView Name="Memo21" Left="0" Top="76" Width="14" Height="14" ShowHint="False" Color="0" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo25" Left="18" Top="75" Width="212" Height="15" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="2" ParentFont="False" Text="Pagamento baixado corretamente"/>
      <TfrxMemoView Name="Memo26" Left="0" Top="93,3333333333333" Width="14" Height="14" ShowHint="False" Color="255" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo27" Left="18" Top="92" Width="244" Height="15" ShowHint="False" Font.Charset="1" Font.Color="255" Font.Height="-11" Font.Name="Arial" Font.Style="2" Frame.Color="536870911" ParentFont="False" Text="Pagamento já baixado anteriormente"/>
      <TfrxMemoView Name="Memo28" Left="0" Top="110,666666666667" Width="14" Height="14" ShowHint="False" Color="32768" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo37" Left="18" Top="110" Width="304" Height="15" ShowHint="False" Font.Charset="1" Font.Color="32768" Font.Height="-11" Font.Name="Arial" Font.Style="2" ParentFont="False" Text="Imposto não cadastrado no sistema ou cancelado"/>
      <TfrxMemoView Name="Memo38" Left="0" Top="129" Width="14" Height="14" ShowHint="False" Color="16711680" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo39" Left="18" Top="129" Width="280" Height="15" ShowHint="False" Font.Charset="1" Font.Color="16711680" Font.Height="-11" Font.Name="Arial" Font.Style="2" ParentFont="False" Text="Imposto cadastrado, mas parcela inexistente"/>
      <TfrxMemoView Name="Memo40" Left="825" Top="75" Width="212" Height="15" ShowHint="False" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="2" HAlign="haRight" ParentFont="False" Text="[baixadoc]"/>
      <TfrxMemoView Name="Memo41" Left="825" Top="92" Width="212" Height="15" ShowHint="False" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="255" Font.Height="-11" Font.Name="Arial" Font.Style="2" Frame.Color="536870911" HAlign="haRight" ParentFont="False" Text="[baixadoa]"/>
      <TfrxMemoView Name="Memo42" Left="825" Top="110" Width="212" Height="15" ShowHint="False" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="32768" Font.Height="-11" Font.Name="Arial" Font.Style="2" HAlign="haRight" ParentFont="False" Text="[CANCELADOS]"/>
      <TfrxMemoView Name="Memo43" Left="825" Top="128" Width="212" Height="15" ShowHint="False" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="16711680" Font.Height="-11" Font.Name="Arial" Font.Style="2" HAlign="haRight" ParentFont="False" Text="[SEMPARCELA]"/>
      <TfrxMemoView Name="Memo44" Left="544" Top="148" Width="272" Height="15" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="3" ParentFont="False" Text="Total baixado Registrado pelo Sistema"/>
      <TfrxMemoView Name="Memo45" Left="824" Top="148" Width="216" Height="15" ShowHint="False" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="3" HAlign="haRight" ParentFont="False" Text="[(&#60;baixadoc&#62;+&#60;baixadoa&#62;)]"/>
    </TfrxFooter>
    <TfrxHeader Name="Header1" Height="56,69295" Left="0" Top="212" Width="1046,92981" OnAfterPrint="Header1OnAfterPrint">
      <TfrxMemoView Name="Memo1" Left="1" Top="2,39363" Width="1042" Height="30" ShowHint="False" Font.Charset="0" Font.Color="0" Font.Height="-21" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Verificação de Arquivo de Retorno do Super Simples"/>
      <TfrxMemoView Name="Memo2" Left="-1" Top="41,39363" Width="139" Height="15" ShowHint="False" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" Text="Imposto"/>
      <TfrxMemoView Name="Memo10" Left="776" Top="41,39363" Width="59" Height="15" ShowHint="False" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" Text="Multa"/>
      <TfrxMemoView Name="Memo12" Left="894" Top="41,39363" Width="74" Height="15" ShowHint="False" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" Text="V. Imp"/>
      <TfrxMemoView Name="Memo3" Left="968" Top="41,39363" Width="74" Height="15" ShowHint="False" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" Text="Valor Pg"/>
      <TfrxMemoView Name="Memo6" Left="693" Top="41,39363" Width="83" Height="15" ShowHint="False" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" Text="Dt. Pag"/>
      <TfrxMemoView Name="Memo30" Left="835" Top="41,39363" Width="59" Height="15" ShowHint="False" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" Text="Juros"/>
      <TfrxMemoView Name="Memo5" Left="277" Top="41,39363" Width="330" Height="15" ShowHint="False" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" Text="Contribuinte"/>
      <TfrxMemoView Name="Memo17" Left="607" Top="41,39363" Width="86" Height="15" ShowHint="False" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" Text="Competência"/>
      <TfrxMemoView Name="Memo16" Left="138" Top="41,39363" Width="139" Height="15" ShowHint="False" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" WordWrap="False" Text="Cnpj"/>
    </TfrxHeader>
  </inherited>
</inherited>
