<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="6.7.9" DotMatrixReport="False" EngineOptions.SilentMode="True" EngineOptions.NewSilentMode="simSilent" EngineOptions.UseFileCache="True" IniFile="\Software\Fast Reports" PreviewOptions.AllowEdit="False" PreviewOptions.Buttons="167935" PreviewOptions.Zoom="1" PrintOptions.Printer="Padrão" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="43487,3236286458" ReportOptions.Description.Text="" ReportOptions.LastChange="44950,6923814468" ScriptLanguage="PascalScript" ScriptText.Text="&#13;&#10;begin&#13;&#10;&#13;&#10;end." ShowProgress="False" StoreInDFM="False">
  <Datasets>
    <item DataSet="tbRelatorio" DataSetName="tbRelatorio"/>
    <item DataSet="QryEmpresa" DataSetName="QryEmpresa"/>
    <item DataSet="qryFechada" DataSetName="qryFechada"/>
    <item DataSet="qryVenda" DataSetName="qryVenda"/>
    <item DataSet="QryCond" DataSetName="QryCond"/>
    <item DataSet="QryTipoVenda" DataSetName="QryTipoVenda"/>
  </Datasets>
  <Variables>
    <item Name=" Sisplan"/>
    <item Name="vUsuario" Value="'SISPLAN'"/>
    <item Name="vLayout" Value="''"/>
    <item Name="vNivel" Value="''"/>
    <item Name="vNivelDesc" Value="''"/>
    <item Name="vPastaFotos" Value="'C:\sisplan\..\Foto\'"/>
    <item Name="vPath" Value="'C:\sisplan'"/>
    <item Name="vTipoBanco" Value="'F'"/>
    <item Name="Empresa" Value="'_003'"/>
    <item Name="Layout" Value="'relvenda.FR3'"/>
    <item Name="PastaFotos" Value="'C:\Sisplan\Foto'"/>
    <item Name="Usuario" Value="'SISPLAN'"/>
    <item Name="emp_id" Value="'3'"/>
    <item Name="EMISSAOATE" Value="''"/>
    <item Name="RADIONFCE" Value="''"/>
    <item Name="TELA_ORDENACAO" Value="'RelVenda'"/>
    <item Name="CLIENTE" Value="''"/>
    <item Name="RADIOOP" Value="''"/>
    <item Name="ORDEM_ORDENACAO" Value="'0'"/>
    <item Name="VENDEDOR" Value="''"/>
    <item Name="CAIXAECF" Value="''"/>
    <item Name="EMISSAODE" Value="''"/>
    <item Name="TABELA" Value="''"/>
    <item Name="DEVOLVIDO" Value="'true'"/>
    <item Name="CANCELADA" Value="'true'"/>
    <item Name="VENDA" Value="''"/>
    <item Name="AGRUPADA" Value="'true'"/>
    <item Name="PRODUTO" Value="''"/>
    <item Name="TIPOVENDA" Value="''"/>
    <item Name="EMITIDO" Value="'true'"/>
    <item Name="MARCA" Value="''"/>
    <item Name="PENDENTE" Value="'true'"/>
    <item Name="TIPO_ITEM" Value="'P'"/>
    <item Name="USR_CAIXA" Value="''"/>
    <item Name="GRUPO" Value="''"/>
  </Variables>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxFDDatabase Name="Conexao" DriverName="FB" DatabaseName="C:\Sisplan\Base\14995F.FDB" Params.Text="Protocol=TCPIP&#13;&#10;Database=C:\Sisplan\Base\14995F.FDB&#13;&#10;Server=192.168.2.1&#13;&#10;Port=3051&#13;&#10;user_name=SYSDBA&#13;&#10;password=masterkey&#13;&#10;MonitorBy=Remote&#13;&#10;DriverID=FB&#13;&#10;CharacterSet=UTF8" LoginPrompt="False" Connected="false" PropData="05704C65667402280470546F700214"/>
    <TfrxFDQuery Name="QryEmpresa" UserName="QryEmpresa" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT * FROM EMPRESA WHERE EMP_ID = :EMP_ID  " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="120" Top="156">
      <Parameters>
        <item Name="EMP_ID" DataType="ftInteger" Expression="&#60;emp_id&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qryFechada" UserName="qryFechada" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="tbRelatorio" IgnoreDupParams="False" SQL.Text="SELECT FECHADA, CODVEN                              &#13;&#10;FROM VENDA_001 WHERE CODVEN IN (:CODVEN) " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="696" Top="128">
      <Parameters>
        <item Name="CODVEN" DataType="ftInteger" Expression="&#60;tbRelatorio.&#34;CODVEN&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qryVenda" UserName="qryVenda" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="tbRelatorio" IgnoreDupParams="False" SQL.Text="SELECT&#13;&#10;V.CODVEN,&#13;&#10;V.CANCELADA,&#13;&#10;V.FECHADA,&#13;&#10;V.TROCA,&#13;&#10;V.DEVOLUCAO,&#13;&#10;V.ORCAMENTO,&#13;&#10;V.IMPRESSO,&#13;&#10;(SELECT 1 FROM VENDA_001 V2 WHERE V2.CODVEN=V.CODVEN AND V2.CANCELADA = 0 AND V2.FECHADA = 0 AND V2.TROCA = 0 AND V2.DEVOLUCAO = 0 AND V2.ORCAMENTO = 0) PENDENTE&#13;&#10;FROM &#13;&#10;VENDA_001 V&#13;&#10;WHERE&#13;&#10;V.CODVEN = (:CODVEN)                               " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" MasterFields="CODVEN=CODVEN" Left="392" Top="140">
      <Parameters>
        <item Name="CODVEN" DataType="ftString"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="QryCond" UserName="QryCond" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="tbRelatorio" IgnoreDupParams="False" SQL.Text="SELECT IT.*,M.DESCRICAO AS DESC_MOEDA                                                         &#13;&#10;FROM &#13;&#10;ITCONDIVENDA_001 IT&#13;&#10;LEFT JOIN&#13;&#10;MOEDA_001 M ON M.CODMOE = IT.CDMOEDA                                                                                         &#13;&#10;WHERE IT.CDVENDA = (:CDVENDA)&#13;&#10;ORDER BY IT.CDMOEDA                                          " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" MasterFields="CDVENDA=CODVEN" Left="504" Top="140">
      <Parameters>
        <item Name="CDVENDA" DataType="ftString" Expression="&#60;tbRelatorio.&#34;CODVEN&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="QryTipoVenda" UserName="QryTipoVenda" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="tbRelatorio" IgnoreDupParams="False" SQL.Text="SELECT &#13;&#10;ID,&#13;&#10;DESCRICAO &#13;&#10;FROM &#13;&#10;VENDA_TIPO_001&#13;&#10;WHERE&#13;&#10;ID = (:ID)  " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" MasterFields="ID=TIPO_VENDA" Left="232" Top="140">
      <Parameters>
        <item Name="ID" DataType="ftString" Expression="&#60;tbRelatorio.&#34;TIPO_VENDA&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" MirrorMode="0" HGuides.Text="" VGuides.Text="">
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="18,89765" Left="0" Top="317,48052" Width="718,1107" ColumnWidth="0" ColumnGap="0" DataSet="tbRelatorio" DataSetName="tbRelatorio" Filter="&#60;tbRelatorio.&#34;CODIGO&#34;&#62; &#60;&#62; ''" PrintIfDetailEmpty="True" RowCount="0">
      <TfrxMemoView Name="Memo85" AllowVectorExport="True" Left="0" Top="0" Width="718,1107" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" Fill.BackColor="13421772" ParentFont="False" Text=""/>
      <TfrxMemoView Name="tbRelatorioDESCRICAO" IndexTag="1" AllowVectorExport="True" Left="90,70872" Top="0" Width="234,33086" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Condition="&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[tbRelatorio.&#34;DESCRICAO&#34;]"/>
      <TfrxMemoView Name="tbRelatorioCODIGO" IndexTag="1" AllowVectorExport="True" Left="0" Top="0" Width="83,14966" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Condition="&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[tbRelatorio.&#34;CODIGO&#34;]"/>
      <TfrxMemoView Name="tbRelatorioTAM" IndexTag="1" AllowVectorExport="True" Left="445,98454" Top="0" Width="34,01577" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Condition="&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[tbRelatorio.&#34;TAM&#34;]"/>
      <TfrxMemoView Name="tbRelatorioVAL_ITEM" IndexTag="1" AllowVectorExport="True" Left="480,00031" Top="0" Width="86,92919" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Condition="&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[tbRelatorio.&#34;DESC_ITEM&#34;]"/>
      <TfrxMemoView Name="tbRelatorioQUANTIDADE" IndexTag="1" AllowVectorExport="True" Left="619,84292" Top="0" Width="41,57483" Height="18,89765" DataSetName="itVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Condition="&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" Text="[tbRelatorio.&#34;QUANTIDADE&#34;]"/>
      <TfrxMemoView Name="Memo15" IndexTag="1" AllowVectorExport="True" Left="328,81911" Top="0" Width="113,3859" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Condition="&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[tbRelatorio.&#34;COR&#34;] - [tbRelatorio.&#34;DESC_COR&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo29" IndexTag="1" AllowVectorExport="True" Left="574,48856" Top="0" Width="45,35436" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Condition="&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[tbRelatorio.&#34;VAL_ITEM&#34;]"/>
      <TfrxMemoView Name="Memo35" IndexTag="1" AllowVectorExport="True" Left="665,19728" Top="0" Width="49,13389" Height="18,89765" DataSetName="itVenda" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Condition="&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" Text="[((&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;*&#60;tbRelatorio.&#34;VAL_ITEM&#34;&#62;)-(&#60;tbRelatorio.&#34;DESC_ITEM&#34;&#62;))]"/>
    </TfrxMasterData>
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="15,11812" Left="0" Top="1009,13451" Width="718,1107">
      <TfrxMemoView Name="Memo1" AllowVectorExport="True" Left="0" Top="3,77953" Width="718,1107" Height="11,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="4" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Sisplan Sistemas e Planejamento LTDA - (47) 3380-6100 - www.sisplansistemas.com.br"/>
      <TfrxMemoView Name="Memo25" AllowVectorExport="True" Left="0" Top="3,77953" Width="347,71676" Height="11,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="[Page#]"/>
    </TfrxPageFooter>
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="85,23624" Left="0" Top="18,89765" Width="718,1107">
      <TfrxMemoView Name="Memo2" AllowVectorExport="True" Left="619,06339" Top="12,67718" Width="98,26778" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Pag.: [&#60;Page#&#62;] / [&#60;TotalPages#&#62;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo3" AllowVectorExport="True" Left="619,28386" Top="24,11812" Width="98,26778" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[vUsuario]"/>
      <TfrxMemoView Name="Memo4" AllowVectorExport="True" Left="0" Top="31,89765" Width="718,1107" Height="26,45671" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Arial" Font.Style="5" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="RELATÓRIO DE VENDAS"/>
      <TfrxMemoView Name="tbEmpresaEMP_NOME" AllowVectorExport="True" Left="109,60637" Top="2,44094" Width="498,89796" Height="26,45671" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-15" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[QryEmpresa.&#34;EMP_NOME&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Date" AllowVectorExport="True" Left="619,28386" Top="2,44094" Width="98,26778" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[Date] - [Time]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxPictureView Name="Picture1" AllowVectorExport="True" Left="6,22047" Top="0" Width="105,82684" Height="68,03154" Center="True" DataField="EMP_LOGO" DataSet="QryEmpresa" DataSetName="QryEmpresa" Frame.Typ="0" HightQuality="True" Transparent="False" TransparentColor="16777215"/>
      <TfrxMemoView Name="Memo26" AllowVectorExport="True" Left="619,28386" Top="36,7953" Width="98,26778" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[vLayout]"/>
    </TfrxPageHeader>
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Height="89,03154" Left="0" ParentFont="False" Top="166,29932" Width="718,1107" Condition="tbRelatorio.&#34;CODVEN&#34;">
      <TfrxMemoView Name="Memo84" AllowVectorExport="True" Left="0" Top="13,86611" Width="718,1107" Height="71,81107" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" Fill.BackColor="8421504" ParentFont="False" Text=""/>
      <TfrxMemoView Name="tbRelatorioCODVEN" IndexTag="1" AllowVectorExport="True" Left="1,55906" Top="15,22047" Width="90,70872" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Frame.Typ="0" Text="Venda: [tbRelatorio.&#34;CODVEN&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="tbRelatorioREP_NOME" IndexTag="1" AllowVectorExport="True" Left="0,55906" Top="63,11812" Width="714,33117" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Frame.Typ="0" Text="Vendedor: [tbRelatorio.&#34;CODREP&#34;] - [tbRelatorio.&#34;REP_NOME&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo10" IndexTag="1" AllowVectorExport="True" Left="552,40198" Top="41,11812" Width="162,51979" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Frame.Typ="0" Text="Data: [tbRelatorio.&#34;DATA&#34;]"/>
      <TfrxMemoView Name="Memo31" IndexTag="1" AllowVectorExport="True" Left="390,44898" Top="41,11812" Width="143,62214" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Frame.Typ="0" Text="Desc. Capa: [tbRelatorio.&#34;DESC_VENDA&#34;]"/>
      <TfrxMemoView Name="Memo7" IndexTag="1" AllowVectorExport="True" Left="0,55906" Top="41,11812" Width="385,51206" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Frame.Typ="0" Text="Cliente: [tbRelatorio.&#34;CODCLI&#34;] - [tbRelatorio.&#34;CLI_NOME&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo38" IndexTag="1" AllowVectorExport="True" Left="98,85838" Top="15" Width="222,99227" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Status: [‍iif((&#60;qryVenda.&#34;CANCELADA&#34;&#62; ='1')AND (&#60;tbRelatorio.&#34;TIPO_VENDA&#34;&#62;=1) AND (&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; &#60;&#62; 1),'Venda Cancelada','')][‍iif((&#60;qryVenda.&#34;CANCELADA&#34;&#62; ='0')AND(&#60;qryVenda.&#34;FECHADA&#34;&#62;='0')AND(&#60;qryVenda.&#34;TROCA&#34;&#62;='0')AND(&#60;qryVenda.&#34;DEVOLUCAO&#34;&#62;='0')AND(&#60;qryVenda.&#34;ORCAMENTO&#34;&#62;='0'),'Venda Pendente','')][‍iif((&#60;qryVenda.&#34;CANCELADA&#34;&#62; ='0')AND(&#60;qryVenda.&#34;FECHADA&#34;&#62;='0')AND(((&#60;qryVenda.&#34;TROCA&#34;&#62;='1')OR(&#60;qryVenda.&#34;DEVOLUCAO&#34;&#62;='1'))AND(&#60;qryVenda.&#34;ORCAMENTO&#34;&#62;='0')),'Devolução / Troca','')][‍iif((&#60;qryVenda.&#34;CANCELADA&#34;&#62; ='0')AND(&#60;qryVenda.&#34;FECHADA&#34;&#62;='1')AND(&#60;qryVenda.&#34;TROCA&#34;&#62;='0')AND(&#60;qryVenda.&#34;DEVOLUCAO&#34;&#62;='0')AND(&#60;qryVenda.&#34;ORCAMENTO&#34;&#62;='0')OR((&#60;qryVenda.&#34;IMPRESSO&#34;&#62;='1')AND(&#60;qryVenda.&#34;ORCAMENTO&#34;&#62;='1')),'Venda Fechada','')][‍iif((&#60;qryVenda.&#34;CANCELADA&#34;&#62; ='1')AND (&#60;tbRelatorio.&#34;TIPO_VENDA&#34;&#62;=2),'Consignado Cancelada','')][‍iif((&#60;qryVenda.&#34;CANCELADA&#34;&#62; ='1') AND (&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1),'Devolução Cancelada','')]">
        <Formats>
          <item FormatStr="%2.2m" Kind="fkNumeric"/>
          <item/>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo87" IndexTag="1" AllowVectorExport="True" Left="411,96877" Top="15" Width="90,70872" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Frame.Typ="0" Text="Tipo Venda:"/>
      <TfrxMemoView Name="Memo88" IndexTag="1" AllowVectorExport="True" Left="509,26809" Top="15" Width="222,99227" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="[tbRelatorio.&#34;TIPO_VENDA&#34;] - [QryTipoVenda.&#34;DESCRICAO&#34;]"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="75,5906" Left="0" Top="385,51206" Width="718,1107">
      <TfrxMemoView Name="Memo86" AllowVectorExport="True" Left="0" Top="0" Width="718,1107" Height="22,67718" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" Fill.BackColor="13421772" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo11" IndexTag="1" AllowVectorExport="True" Left="11,33859" Top="0" Width="132,28355" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Qtde: [SUM(&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;,MasterData1,1)]"/>
      <TfrxMemoView Name="Memo12" IndexTag="1" AllowVectorExport="True" Left="578,26809" Top="0" Width="132,28355" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Valor Líq: [SUM((&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;*&#60;tbRelatorio.&#34;VAL_ITEM&#34;&#62;),MasterData1,1)-(&#60;tbRelatorio.&#34;DESC_VENDA&#34;&#62;+(SUM(&#60;tbRelatorio.&#34;DESC_ITEM&#34;&#62;,MasterData1)))]"/>
      <TfrxMemoView Name="Memo13" IndexTag="1" AllowVectorExport="True" Left="158,74026" Top="0" Width="132,28355" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Valor: [SUM(&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;*&#60;tbrelatorio.&#34;VAL_ITEM&#34;&#62;  ,MasterData1,1)]"/>
      <TfrxMemoView Name="Memo32" IndexTag="1" AllowVectorExport="True" Left="309,92146" Top="0" Width="143,62214" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Tot. Desc.: [SUM((&#60;tbRelatorio.&#34;VALOR_DESC&#34;&#62;),MasterData1,1)]"/>
      <TfrxMemoView Name="Memo58" IndexTag="1" AllowVectorExport="True" Left="461,10266" Top="0" Width="113,3859" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Perc Desc: [SUM((&#60;tbRelatorio.&#34;VALOR_DESC&#34;&#62;),MasterData1,1)/SUM(&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;*&#60;tbrelatorio.&#34;VAL_ITEM&#34;&#62;  ,MasterData1,1)*100]"/>
      <TfrxSubreport Name="Subreport1" AllowVectorExport="True" Left="0" Top="22,23624" Width="94,48825" Height="18,89765" Page="Page2"/>
    </TfrxGroupFooter>
    <TfrxGroupHeader Name="GroupHeader2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="15,33859" Left="0" Top="279,68522" Width="718,1107" Condition="tbRelatorio.&#34;CODVEN&#34;" ReprintOnNewPage="True">
      <TfrxMemoView Name="Memo83" AllowVectorExport="True" Left="0" Top="0" Width="718,1107" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" Fill.BackColor="13421772" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo8" AllowVectorExport="True" Left="0" Top="0" Width="83,14966" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Código"/>
      <TfrxMemoView Name="Memo9" AllowVectorExport="True" Left="90,70872" Top="0" Width="234,33086" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Descrição"/>
      <TfrxMemoView Name="Memo22" AllowVectorExport="True" Left="445,98454" Top="0" Width="34,01577" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Tam"/>
      <TfrxMemoView Name="Memo5" AllowVectorExport="True" Left="480,00031" Top="0" Width="86,92919" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Desc. Item."/>
      <TfrxMemoView Name="Memo23" AllowVectorExport="True" Left="619,84292" Top="0" Width="41,57483" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Qtde"/>
      <TfrxMemoView Name="Memo16" AllowVectorExport="True" Left="328,81911" Top="0" Width="113,3859" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Cor"/>
      <TfrxMemoView Name="Memo30" AllowVectorExport="True" Left="574,48856" Top="0" Width="45,35436" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Valor"/>
      <TfrxMemoView Name="Memo36" AllowVectorExport="True" Left="665,19728" Top="0" Width="49,13389" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total"/>
    </TfrxGroupHeader>
    <TfrxReportSummary Name="ReportSummary1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="464,88219" Left="0" Top="521,57514" Width="718,1107">
      <TfrxMemoView Name="Memo45" AllowVectorExport="True" Left="431,03958" Top="368,29932" Width="287,24428" Height="86,92919" Font.Charset="1" Font.Color="8388736" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haRight" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo44" AllowVectorExport="True" Left="431,03958" Top="276,48825" Width="287,24428" Height="86,92919" Font.Charset="1" Font.Color="8388736" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haRight" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo43" AllowVectorExport="True" Left="431,03958" Top="2" Width="287,24428" Height="86,92919" Font.Charset="1" Font.Color="8388736" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haRight" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo18" IndexTag="1" AllowVectorExport="True" Left="435,23655" Top="6" Width="279,68522" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Qtde Geral: [SUM(&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;,MasterData1,1)]"/>
      <TfrxMemoView Name="Memo27" IndexTag="1" AllowVectorExport="True" Left="435,23655" Top="24,89765" Width="279,68522" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Valor Bruto Geral:  [SUM(&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;*&#60;tbrelatorio.&#34;VAL_ITEM&#34;&#62;  ,MasterData1,1)]"/>
      <TfrxMemoView Name="Memo28" IndexTag="1" AllowVectorExport="True" Left="435,23655" Top="66,7953" Width="279,68522" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Valor Líq Geral: [SUM((&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;*&#60;tbRelatorio.&#34;VAL_ITEM&#34;&#62;),MasterData1,1)-SUM((&#60;tbRelatorio.&#34;VALOR_DESC&#34;&#62;),MasterData1,1)]"/>
      <TfrxMemoView Name="Memo33" IndexTag="1" AllowVectorExport="True" Left="435,23655" Top="279,03154" Width="279,68522" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="8388736" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Qtde Dev: [SUM(IIF((&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1) AND (&#60;qryVenda.&#34;CANCELADA&#34;&#62; &#60;&#62; 1), &#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;, 0),MasterData1)] "/>
      <TfrxMemoView Name="Memo34" IndexTag="1" AllowVectorExport="True" Left="435,23655" Top="300,92919" Width="279,68522" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="8388736" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Valor Dev Bruto: [(SUM(IIF((&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1) AND (&#60;qryVenda.&#34;CANCELADA&#34;&#62; &#60;&#62; 1), (&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;*&#60;tbrelatorio.&#34;VAL_ITEM&#34;&#62;),0),MasterData1,1))]"/>
      <TfrxMemoView Name="Memo37" IndexTag="1" AllowVectorExport="True" Left="435,23655" Top="46,25201" Width="279,68522" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Desconto Geral: [SUM((&#60;tbRelatorio.&#34;VALOR_DESC&#34;&#62;),MasterData1,1)]"/>
      <TfrxMemoView Name="Memo39" IndexTag="1" AllowVectorExport="True" Left="434,3389" Top="370,62214" Width="279,68522" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="255" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Qtde Canc: [SUM(IIF(&#60;qryVenda.&#34;CANCELADA&#34;&#62; = 1, &#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;, 0),MasterData1)] "/>
      <TfrxMemoView Name="Memo41" IndexTag="1" AllowVectorExport="True" Left="434,3389" Top="391,29932" Width="279,68522" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="255" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Valor Bruto Canc: [(SUM(IIF(&#60;qryVenda.&#34;CANCELADA&#34;&#62; = 1, (&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;*&#60;tbrelatorio.&#34;VAL_ITEM&#34;&#62;),0),MasterData1,1))]"/>
      <TfrxMemoView Name="Memo42" IndexTag="1" AllowVectorExport="True" Left="434,3389" Top="433,9765" Width="279,68522" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="255" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Valor Liquido Canc: [(SUM(IIF(&#60;qryVenda.&#34;CANCELADA&#34;&#62; = 1, ((&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;*&#60;tbRelatorio.&#34;VAL_ITEM&#34;&#62;)-(&#60;tbRelatorio.&#34;VALOR_DESC&#34;&#62;)),0),MasterData1))]"/>
      <TfrxMemoView Name="Memo40" IndexTag="1" AllowVectorExport="True" Left="435,23655" Top="342,84261" Width="279,68522" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="8388736" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Valor Dev Liquido: [(SUM(IIF((&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1) AND (&#60;qryVenda.&#34;CANCELADA&#34;&#62; &#60;&#62; 1), ((&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;*&#60;tbRelatorio.&#34;VAL_ITEM&#34;&#62;)-(&#60;tbRelatorio.&#34;VALOR_DESC&#34;&#62;+&#60;tbRelatorio.&#34;DESC_ITEM&#34;&#62;)),0),MasterData1))]"/>
      <TfrxMemoView Name="Memo46" IndexTag="1" AllowVectorExport="True" Left="435,23655" Top="321,84261" Width="279,68522" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="8388736" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Desconto Dev: [(SUM(IIF((&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1) AND (&#60;qryVenda.&#34;CANCELADA&#34;&#62; &#60;&#62; 1), (&#60;tbRelatorio.&#34;VALOR_DESC&#34;&#62;),0),MasterData1))]"/>
      <TfrxMemoView Name="Memo47" IndexTag="1" AllowVectorExport="True" Left="434,64595" Top="412,55133" Width="279,68522" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="255" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Desconto Canc: [(SUM(IIF(&#60;qryVenda.&#34;CANCELADA&#34;&#62; = 1, (&#60;tbRelatorio.&#34;VALOR_DESC&#34;&#62;),0),MasterData1))]"/>
      <TfrxMemoView Name="Memo48" AllowVectorExport="True" Left="431,03958" Top="184,48825" Width="287,24428" Height="86,92919" Font.Charset="1" Font.Color="8388736" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haRight" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo49" IndexTag="1" AllowVectorExport="True" Left="435,23655" Top="186,81107" Width="279,68522" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="16711680" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Qtde Pend: [SUM(IIF(&#60;qryVenda.&#34;PENDENTE&#34;&#62; = '1', &#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;, 0),MasterData1)] "/>
      <TfrxMemoView Name="Memo50" IndexTag="1" AllowVectorExport="True" Left="435,23655" Top="207,48825" Width="279,68522" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="16711680" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Valor Bruto Pend: [(SUM(IIF(&#60;qryVenda.&#34;PENDENTE&#34;&#62; = 1, (&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;*&#60;tbRelatorio.&#34;VAL_ITEM&#34;&#62;),0),MasterData1))]"/>
      <TfrxMemoView Name="Memo51" IndexTag="1" AllowVectorExport="True" Left="435,23655" Top="250,16543" Width="279,68522" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="16711680" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Valor Liquido Pend: [(SUM(IIF(&#60;qryVenda.&#34;PENDENTE&#34;&#62; = 1, ((&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;*&#60;tbRelatorio.&#34;VAL_ITEM&#34;&#62;)-(&#60;tbRelatorio.&#34;VALOR_DESC&#34;&#62;)),0),MasterData1))]"/>
      <TfrxMemoView Name="Memo52" IndexTag="1" AllowVectorExport="True" Left="435,23655" Top="228,74026" Width="279,68522" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="16711680" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Desconto Pend: [(SUM(IIF(&#60;qryVenda.&#34;PENDENTE&#34;&#62; = 1, (&#60;tbRelatorio.&#34;VALOR_DESC&#34;&#62;),0),MasterData1))]"/>
      <TfrxMemoView Name="Memo53" AllowVectorExport="True" Left="431,03958" Top="92,70872" Width="287,24428" Height="86,92919" Font.Charset="1" Font.Color="8388736" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haRight" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo54" IndexTag="1" AllowVectorExport="True" Left="435,06339" Top="95,03154" Width="279,68522" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="32768" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Qtde Fechad: [SUM(IIF(&#60;qryVenda.&#34;FECHADA&#34;&#62; = 1, &#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;, 0),MasterData1)] "/>
      <TfrxMemoView Name="Memo55" IndexTag="1" AllowVectorExport="True" Left="435,06339" Top="115,70872" Width="279,68522" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="32768" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Valor Bruto Fechad: [(SUM(IIF(&#60;qryVenda.&#34;FECHADA&#34;&#62; = 1, (&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;*&#60;tbrelatorio.&#34;VAL_ITEM&#34;&#62;),0),MasterData1,1))]"/>
      <TfrxMemoView Name="Memo56" IndexTag="1" AllowVectorExport="True" Left="435,06339" Top="158,3859" Width="279,68522" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="32768" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Valor Liquido Fechad: [(SUM(IIF(&#60;qryVenda.&#34;FECHADA&#34;&#62; = 1, ((&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;*&#60;tbRelatorio.&#34;VAL_ITEM&#34;&#62;)-(&#60;tbRelatorio.&#34;VALOR_DESC&#34;&#62;+&#60;tbRelatorio.&#34;DESC_ITEM&#34;&#62;)),0),MasterData1))-&#13;&#10;(SUM(IIF((&#60;tbRelatorio.&#34;DEVOLUCAO&#34;&#62; = 1) AND (&#60;qryVenda.&#34;CANCELADA&#34;&#62; &#60;&#62; 1), ((&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;*&#60;tbRelatorio.&#34;VAL_ITEM&#34;&#62;)-(&#60;tbRelatorio.&#34;VALOR_DESC&#34;&#62;+&#60;tbRelatorio.&#34;DESC_ITEM&#34;&#62;)),0),MasterData1))]"/>
      <TfrxMemoView Name="Memo57" IndexTag="1" AllowVectorExport="True" Left="435,06339" Top="136,96073" Width="279,68522" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="32768" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Desconto Fechad: [(SUM(IIF(&#60;qryVenda.&#34;FECHADA&#34;&#62; = 1, (&#60;tbRelatorio.&#34;VALOR_DESC&#34;&#62; + &#60;tbRelatorio.&#34;DESC_ITEM&#34;&#62;),0),MasterData1))]"/>
    </TfrxReportSummary>
    <TfrxGroupFooter Name="GroupFooter2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="3,77953" Left="0" Top="359,05535" Visible="False" Width="718,1107"/>
  </TfrxReportPage>
  <TfrxReportPage Name="Page2" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" MirrorMode="0" HGuides.Text="" VGuides.Text="">
    <TfrxMasterData Name="MasterData2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Height="18,89765" Left="0" ParentFont="False" Top="105,82684" Width="718,1107" ColumnWidth="0" ColumnGap="0" DataSet="QryCond" DataSetName="QryCond" RowCount="0">
      <TfrxMemoView Name="Memo78" AllowVectorExport="True" Left="0" Top="0" Width="718,1107" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="15790320" ParentFont="False" Text="">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="QryCondNRPARCELA" IndexTag="1" AllowVectorExport="True" Left="71,81107" Top="0" Width="56,69295" Height="18,89765" DataSet="QryCond" DataSetName="QryCond" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[QryCond.&#34;NRPARCELA&#34;]"/>
      <TfrxMemoView Name="QryCondNRDOCTO" IndexTag="1" AllowVectorExport="True" Left="0" Top="0" Width="64,25201" Height="18,89765" DataField="NRDOCTO" DataSet="QryCond" DataSetName="QryCond" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[QryCond.&#34;NRDOCTO&#34;]"/>
      <TfrxMemoView Name="Memo62" IndexTag="1" AllowVectorExport="True" Left="551,81138" Top="0" Width="79,37013" Height="18,89765" DataSet="QryCond" DataSetName="QryCond" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[QryCond.&#34;VALOR&#34;]"/>
      <TfrxMemoView Name="Memo64" IndexTag="1" AllowVectorExport="True" Left="636,06339" Top="0" Width="79,37013" Height="18,89765" DataSet="QryCond" DataSetName="QryCond" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[QryCond.&#34;VALOR_PAGO&#34;]"/>
      <TfrxMemoView Name="Memo66" IndexTag="1" AllowVectorExport="True" Left="134,06308" Top="0" Width="86,92919" Height="18,89765" DataSet="QryCond" DataSetName="QryCond" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[QryCond.&#34;VENCIMENTO&#34;]"/>
      <TfrxMemoView Name="Memo68" IndexTag="1" AllowVectorExport="True" Left="226,7718" Top="0" Width="86,92919" Height="18,89765" DataSet="QryCond" DataSetName="QryCond" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[QryCond.&#34;VENCIMENTO&#34;]"/>
      <TfrxMemoView Name="Memo81" IndexTag="1" AllowVectorExport="True" Left="317,48052" Top="0" Width="230,55133" Height="18,89765" DataSet="QryCond" DataSetName="QryCond" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[QryCond.&#34;CDMOEDA&#34;] - [QryCond.&#34;DESC_MOEDA&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
    </TfrxMasterData>
    <TfrxHeader Name="Header1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="37,7953" Left="0" Top="18,89765" Width="718,1107">
      <TfrxMemoView Name="Memo59" AllowVectorExport="True" Left="0" Top="0" Width="718,1107" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="15790320" HAlign="haCenter" ParentFont="False" Text="Condição de Pagamento"/>
      <TfrxMemoView Name="Memo77" AllowVectorExport="True" Left="0" Top="18,70872" Width="718,1107" Height="22,67718" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="15790320" ParentFont="False" Text="">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo60" AllowVectorExport="True" Left="0" Top="21,67718" Width="64,25201" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Duplicata"/>
      <TfrxMemoView Name="Memo61" AllowVectorExport="True" Left="71,81107" Top="21,67718" Width="56,69295" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Parcela"/>
      <TfrxMemoView Name="Memo63" AllowVectorExport="True" Left="551,81138" Top="21,67718" Width="79,37013" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Valor"/>
      <TfrxMemoView Name="Memo65" AllowVectorExport="True" Left="636,06339" Top="21,67718" Width="79,37013" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Valor Pago"/>
      <TfrxMemoView Name="Memo67" AllowVectorExport="True" Left="134,06308" Top="21,67718" Width="86,92919" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Vencimento"/>
      <TfrxMemoView Name="Memo69" AllowVectorExport="True" Left="226,7718" Top="21,67718" Width="86,92919" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Vencimento"/>
      <TfrxMemoView Name="Memo82" AllowVectorExport="True" Left="317,48052" Top="21,67718" Width="230,55133" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Moeda"/>
    </TfrxHeader>
    <TfrxFooter Name="Footer1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="192,75603" Width="718,1107">
      <TfrxMemoView Name="Memo80" AllowVectorExport="True" Left="0" Top="0" Width="718,1107" Height="22,67718" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="15790320" ParentFont="False" Text="">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo74" IndexTag="1" AllowVectorExport="True" Left="551,81138" Top="0" Width="79,37013" Height="18,89765" DataSet="QryCond" DataSetName="QryCond" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[SUM(&#60;QryCond.&#34;VALOR&#34;&#62;,MasterData2,1)]"/>
      <TfrxMemoView Name="Memo75" IndexTag="1" AllowVectorExport="True" Left="636,06339" Top="0" Width="79,37013" Height="18,89765" DataSet="QryCond" DataSetName="QryCond" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[SUM(&#60;QryCond.&#34;VALOR_PAGO&#34;&#62;,MasterData2,1)]"/>
      <TfrxMemoView Name="Memo76" IndexTag="1" AllowVectorExport="True" Left="132,28355" Top="0" Width="415,7483" Height="18,89765" DataSet="QryCond" DataSetName="QryCond" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Venda:">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
    </TfrxFooter>
    <TfrxGroupHeader Name="GroupHeader3" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="3,77953" Left="0" Top="79,37013" Visible="False" Width="718,1107" Condition="QryCond.&#34;CDMOEDA&#34;"/>
    <TfrxGroupFooter Name="GroupFooter3" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="147,40167" Width="718,1107">
      <TfrxMemoView Name="Memo79" AllowVectorExport="True" Left="0" Top="0" Width="718,1107" Height="22,67718" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="15790320" ParentFont="False" Text="">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo71" IndexTag="1" AllowVectorExport="True" Left="551,81138" Top="0" Width="79,37013" Height="18,89765" DataSet="QryCond" DataSetName="QryCond" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[SUM(&#60;QryCond.&#34;VALOR&#34;&#62;,MasterData2,1)]"/>
      <TfrxMemoView Name="Memo72" IndexTag="1" AllowVectorExport="True" Left="636,06339" Top="0" Width="79,37013" Height="18,89765" DataSet="QryCond" DataSetName="QryCond" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[SUM(&#60;QryCond.&#34;VALOR_PAGO&#34;&#62;,MasterData2,1)]"/>
      <TfrxMemoView Name="Memo73" IndexTag="1" AllowVectorExport="True" Left="132,28355" Top="0" Width="415,7483" Height="18,89765" DataSet="QryCond" DataSetName="QryCond" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Moeda: [QryCond.&#34;CDMOEDA&#34;] - [QryCond.&#34;DESC_MOEDA&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
    </TfrxGroupFooter>
  </TfrxReportPage>
</TfrxReport>
