<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="6.7.9" DotMatrixReport="False" EngineOptions.DoublePass="True" EngineOptions.SilentMode="True" EngineOptions.NewSilentMode="simSilent" EngineOptions.UseFileCache="True" IniFile="\Software\Fast Reports" PreviewOptions.AllowEdit="False" PreviewOptions.Buttons="167935" PreviewOptions.Zoom="1" PrintOptions.Copies="2" PrintOptions.Collate="False" PrintOptions.Printer="Padrão" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="43487,3236286458" ReportOptions.Description.Text="" ReportOptions.LastChange="45027,5598247106" ScriptLanguage="PascalScript" ScriptText.Text="var&#13;&#10;qtReg : integer;&#13;&#10;&#13;&#10;procedure MasterData1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;if not Engine.FinalPass then&#13;&#10;  begin&#13;&#10;   IF &#60;QryItVenda.&#34;PERC_DESC&#34;&#62; &#60;= 20 then&#13;&#10;      begin&#13;&#10;        qtReg := qtReg +1;&#13;&#10;      end;&#13;&#10;   end;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure GroupFooter2OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10; // Memo85.Text := IntToStr(qtReg);&#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;if &#60;tbRelatorio.&#34;CODCLI&#34;&#62; = '17340' then&#13;&#10;  begin&#13;&#10;    Child1.visible := false&#13;&#10;  end&#13;&#10;  else&#13;&#10;  begin&#13;&#10;    Child1.visible := true;&#13;&#10;  end;&#13;&#10;end.&#13;&#10;&#13;&#10;begin&#13;&#10; if &#60;tbRelatorio.&#34;CODCLI&#34;&#62; = '17340' then&#13;&#10;begin&#13;&#10; Child2.visible :=false&#13;&#10; end&#13;&#10; else&#13;&#10;begin&#13;&#10;  Child2.visible := true;&#13;&#10; end;&#13;&#10;&#13;&#10;  if &#60;QryVenda.&#34;FECHADA&#34;&#62; = 0 then&#13;&#10;    begin&#13;&#10;      GroupHeader6.visible := false;&#13;&#10;      MasterData6.visible := false;&#13;&#10;      GroupHeader3.visible := false;&#13;&#10;      MasterData3.visible := false;&#13;&#10;    end&#13;&#10;  else&#13;&#10;    begin&#13;&#10;    GroupHeader3.visible := true;&#13;&#10;     MasterData3.visible := true;&#13;&#10;      GroupHeader6.visible := true;&#13;&#10;      MasterData6.visible := true;&#13;&#10;    end;&#13;&#10;&#13;&#10;end" ShowProgress="False" StoreInDFM="False">
  <Datasets>
    <item DataSet="tbRelatorio" DataSetName="tbRelatorio"/>
    <item DataSet="QryEmpresa" DataSetName="QryEmpresa"/>
    <item DataSet="QryVenda" DataSetName="QryVenda"/>
    <item DataSet="QryCli" DataSetName="QryCli"/>
    <item DataSet="QryItVenda" DataSetName="QryItVenda"/>
    <item DataSet="QryCondi" DataSetName="QryCondi"/>
    <item DataSet="QryAntecipa" DataSetName="QryAntecipa"/>
    <item DataSet="qryGamby" DataSetName="qryGamby"/>
  </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="'venda.fr3'"/>
    <item Name="PastaFotos" Value="''"/>
    <item Name="Usuario" Value="'SISPLAN'"/>
    <item Name="emp_id" Value="'3'"/>
    <item Name="CODVEN" Value="'2231'"/>
    <item Name="TELA_ORDENACAO" Value="''"/>
  </Variables>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxFDDatabase Name="Conexao" DriverName="FB" DatabaseName="/sisplan/base/15348F_HOMOL.FDB" Params.Text="Protocol=TCPIP&#13;&#10;Database=/sisplan/base/15348F_HOMOL.FDB&#13;&#10;Server=172.20.92.254&#13;&#10;Port=3050&#13;&#10;user_name=SYSDBA&#13;&#10;password=masterkey&#13;&#10;MonitorBy=Remote&#13;&#10;DriverID=FB" LoginPrompt="False" Connected="false" PropData="05704C65667403C8000470546F700268"/>
    <TfrxFDQuery Name="QryEmpresa" UserName="QryEmpresa" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT * FROM EMPRESA   WHERE EMP_PAT= :EMP_ID                                                                                                          " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="112" Top="104">
      <Parameters>
        <item Name="EMP_ID" DataType="ftString" Expression="&#60;Empresa&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="QryVenda" UserName="QryVenda" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT V.SEQ_DIA,V.CODVEN, V.FECHADA,V.CANCELADA,V.DEVOLUCAO, V.DATA, IT.CODIGO, VO.OBSERVACAO, P.DESCRICAO, E.NOME, E.CODCLI AS CODCLIENTE, R.CODREP, R.NOME  AS NOME_REP, V.DEVOLUCAO, V.TIPO_VENDA                                                                                                                                                            &#13;&#10;FROM VENDA_001 V&#13;&#10;INNER JOIN ITVENDA_001 IT ON (IT.CODVEN = V.CODVEN)&#13;&#10;INNER JOIN PRODUTO_001 P ON (P.CODIGO = IT.CODIGO)&#13;&#10;INNER JOIN ENTIDADE_001 E ON (E.CODCLI = V.CODCLI)&#13;&#10;INNER JOIN REPRESEN_001 R ON (R.CODREP = V.CODREP)&#13;&#10;LEFT JOIN VENDAOBS_001 VO ON (VO.CODVEN = V.CODVEN)                                                                                                                         &#13;&#10;WHERE V.CODVEN = :CODVEN                                                                            &#13;&#10;  " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="284" Top="108">
      <Parameters>
        <item Name="CODVEN" DataType="ftString" Expression="&#60;tbRelatorio.&#34;CODVEN&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="QryCli" UserName="QryCli" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT E.CODCLI, E.NOME,  E.ENDERECO, E.NUMERO, E.CEP, E.CNPJ, C.NOME AS CIDADE, C.COD_UF, E.DDD_FONE, E.TELEFONE FROM ENTIDADE_001 E&#13;&#10;LEFT JOIN CADCEP_001 CEP ON (CEP.CEP = E.CEP)                                                                                                                              &#13;&#10;LEFT JOIN CIDADE C ON (C.CODIGO = CEP.CODMUN)                                                                                             &#13;&#10;WHERE E.CODCLI = :CODCLI" MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="316" Top="184">
      <Parameters>
        <item Name="CODCLI" DataType="ftString" Expression="&#60;tbRelatorio.&#34;CODCLI&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="QryItVenda" UserName="QryItVenda" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT DISTINCT IT.CODITVEN, IT.QUANTIDADE, IT.VALOR, it.preco_liq, IT.PERC_DESC, IT.DESC_ITEM, IT.TOTAL_LIQ, IT.TOTAL, P.CODIGO AS CODPROD, G.DESCRICAO FROM ITVENDA_001 IT &#13;&#10;LEFT JOIN PRODUTO_001 P ON (P.CODIGO = IT.CODIGO)&#13;&#10;LEFT JOIN GRUPO_PA_001 G ON (G.CODIGO = P.GRUPO)                                                                                                                                                                                  &#13;&#10;WHERE CODVEN = :CODVEN " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="368" Top="108">
      <Parameters>
        <item Name="CODVEN" DataType="ftString" Expression="&#60;tbRelatorio.&#34;CODVEN&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="QryCondi" UserName="QryCondi" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT CD.CDMOEDA,  M.DESCRICAO AS MOEDA, CD.CDVENDA, CD.VALOR_PAGO  FROM ITCONDIVENDA_001 CD    &#13;&#10;LEFT JOIN MOEDA_001 M ON (M.CODMOE = CD.CDMOEDA)                                                                                                                &#13;&#10;WHERE CD.CDVENDA = :CODVEN" MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="608" Top="100">
      <Parameters>
        <item Name="CODVEN" DataType="ftString" Expression="&#60;tbRelatorio.&#34;CODVEN&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="QryAntecipa" UserName="QryAntecipa" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT&#13;&#10;  R.CODCLI,&#13;&#10;  SUM(R.VALOR2-R.VALOR_PAGO) AS VALOR_PAGO          &#13;&#10;FROM&#13;&#10;  RECEBER_001 R&#13;&#10;WHERE&#13;&#10;  R.CODCLI = :CODCLI                                                 &#13;&#10;  AND R.STATUS = 'ANTE'&#13;&#10;AND (R.valor2-r.valor_pago) &#62; r.valor_pago&#13;&#10;AND R.CARTAO_PRESENTE = '' &#13;&#10;GROUP BY&#13;&#10;  CODCLI&#13;&#10;                                            " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="32" Top="104">
      <Parameters>
        <item Name="CODCLI" DataType="ftString" Expression="&#60;tbRelatorio.&#34;CODCLI&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qryGamby" UserName="qryGamby" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="QryCondi" IgnoreDupParams="False" SQL.Text="SELECT&#13;&#10;VENDA.CODVEN,&#13;&#10;CASE WHEN &#13;&#10;(SELECT &#13;&#10;SUM(CD.VALOR_PAGO) &#13;&#10;FROM ITCONDIVENDA_001 CD    &#13;&#10;LEFT JOIN &#13;&#10;MOEDA_001 M ON (M.CODMOE = CD.CDMOEDA)                                                                                                                &#13;&#10;WHERE &#13;&#10;CD.CDVENDA = VENDA.CODVEN&#13;&#10;AND &#13;&#10;CD.CDMOEDA = '4')&#13;&#10;IS NULL THEN 0 ELSE&#13;&#10;(SELECT &#13;&#10;SUM(CD.VALOR_PAGO) &#13;&#10;FROM ITCONDIVENDA_001 CD    &#13;&#10;LEFT JOIN &#13;&#10;MOEDA_001 M ON (M.CODMOE = CD.CDMOEDA)                                                                                                                &#13;&#10;WHERE &#13;&#10;CD.CDVENDA = VENDA.CODVEN&#13;&#10;AND &#13;&#10;CD.CDMOEDA = '4') END AS VALOR_PAGO&#13;&#10;FROM&#13;&#10;VENDA_001 VENDA&#13;&#10;WHERE &#13;&#10;VENDA.CODVEN = (:CODVEN)                                 &#13;&#10;                                             " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="456" Top="108">
      <Parameters>
        <item Name="CODVEN" DataType="ftString" Expression="&#60;tbRelatorio.&#34;CODVEN&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" PaperWidth="75" PaperHeight="270" PaperSize="256" LeftMargin="5" RightMargin="5" TopMargin="5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" Frame.Style="fsDashDot" Frame.Typ="0" MirrorMode="0" HGuides.Text="" VGuides.Text="">
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="181,41744" Left="0" Top="638,74057" Width="245,66945">
      <TfrxMemoView Name="Memo41" AllowVectorExport="True" Left="152,66945" Top="111,37013" Width="90,70872" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[SUM(&#60;QryItVenda.&#34;TOTAL_LIQ&#34;&#62;,MasterData1,1) - (&#60;QryAntecipa.&#34;VALOR2&#34;&#62;)]"/>
      <TfrxMemoView Name="Memo42" AllowVectorExport="True" Left="4,81107" Top="111,37013" Width="143,62214" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="TOTAL LÍQUIDO: "/>
      <TfrxMemoView Name="Memo27" AllowVectorExport="True" Left="4,81107" Top="15,11812" Width="143,62214" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="QUANT. PEÇAS: "/>
      <TfrxMemoView Name="Memo38" AllowVectorExport="True" Left="152,66945" Top="15,11812" Width="90,70872" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[SUM(&#60;QryItVenda.&#34;quanTIDADE&#34;&#62;,MasterData1,1)]"/>
      <TfrxMemoView Name="Memo40" AllowVectorExport="True" Left="152,66945" Top="45,35436" Width="90,70872" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[SUM(IIF(&#60;QryItVenda.&#34;PERC_DESC&#34;&#62; &#62; 30,0,&#60;QryItVenda.&#34;DESC_ITEM&#34;&#62;),MasterData1,1)]"/>
      <TfrxMemoView Name="Memo39" AllowVectorExport="True" Left="4,81107" Top="45,35436" Width="143,62214" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="TOTAL DESCONTO: "/>
      <TfrxMemoView Name="Memo43" AllowVectorExport="True" Left="4,81107" Top="30,23624" Width="143,62214" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="TOTAL BRUTO: "/>
      <TfrxMemoView Name="Memo44" AllowVectorExport="True" Left="152,66945" Top="30,23624" Width="90,70872" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[SUM(IIF(&#60;QryItVenda.&#34;PERC_DESC&#34;&#62; &#62; 30,&#60;QryItVenda.&#34;TOTAL_LIQ&#34;&#62;,&#60;QryItVenda.&#34;TOTAL&#34;&#62;),MasterData1,1)]"/>
      <TfrxLineView Name="Line1" AllowVectorExport="True" Left="0" Top="7,55906" Width="245,66945" Height="0" Color="0" Frame.Style="fsDot" Frame.Typ="4"/>
      <TfrxLineView Name="Line2" AllowVectorExport="True" Left="-3,77953" Top="177,84261" Width="249,44898" Height="0" Color="0" Frame.Style="fsDot" Frame.Typ="4"/>
      <TfrxMemoView Name="Memo48" AllowVectorExport="True" Left="152,66945" Top="60,47248" Width="90,70872" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[iif(&#60;qtReg&#62; &#62; 0,(SUM(iif(&#60;QryItVenda.&#34;PERC_DESC&#34;&#62; &#60;=100,&#60;QryItVenda.&#34;PERC_DESC&#34;&#62;,0),MasterData1,1)/&#60;qtReg&#62;),0)]"/>
      <TfrxMemoView Name="Memo47" AllowVectorExport="True" Left="4,81107" Top="60,47248" Width="143,62214" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="PERC. DESC: "/>
      <TfrxMemoView Name="Memo93" AllowVectorExport="True" Left="152,66945" Top="94,48825" Width="90,70872" Height="11,33859" DataSet="QryAntecipa" DataSetName="QryAntecipa" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[IIF(&#60;QryVenda.&#34;FECHADA&#34;&#62; = 1,&#60;qryGamby.&#34;VALOR_PAGO&#34;&#62;,0)]"/>
      <TfrxMemoView Name="Memo94" AllowVectorExport="True" Left="4,81107" Top="94,48825" Width="143,62214" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="CRÉDITO UTILIZADO:"/>
      <TfrxMemoView Name="Memo109" AllowVectorExport="True" Left="152,66945" Top="158,40167" Width="90,70872" Height="11,33859" DataField="OBSERVACAO" DataSet="QryVenda" DataSetName="QryVenda" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[QryVenda.&#34;OBSERVACAO&#34;]"/>
      <TfrxMemoView Name="Memo110" AllowVectorExport="True" Left="24,40167" Top="158,40167" Width="124,72449" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="OBS:"/>
      <TfrxMemoView Name="Memo159" AllowVectorExport="True" Left="152,66945" Top="126,50402" Width="90,70872" Height="26,45671" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[IIF(SUM(&#60;QryItVenda.&#34;TOTAL_LIQ&#34;&#62;,MasterData1,1) - IIF((&#60;QryVenda.&#34;FECHADA&#34;&#62; = 0) AND (&#60;QryVenda.&#34;CANCELADA&#34;&#62; = 0) AND (&#60;QryVenda.&#34;DEVOLUCAO&#34;&#62; = 0),&#60;QryAntecipa.&#34;VALOR_PAGO&#34;&#62;,0) - IIF(&#60;QryVenda.&#34;FECHADA&#34;&#62; = 1,&#60;qryGamby.&#34;VALOR_PAGO&#34;&#62;,0) &#62; 0, SUM(&#60;QryItVenda.&#34;TOTAL_LIQ&#34;&#62;,MasterData1,1) - IIF((&#60;QryVenda.&#34;FECHADA&#34;&#62; = 0) AND (&#60;QryVenda.&#34;CANCELADA&#34;&#62; = 0) AND (&#60;QryVenda.&#34;DEVOLUCAO&#34;&#62; = 0),&#60;QryAntecipa.&#34;VALOR_PAGO&#34;&#62;,0) - IIF(&#60;QryVenda.&#34;FECHADA&#34;&#62; = 1,&#60;qryGamby.&#34;VALOR_PAGO&#34;&#62;,0), 0)]"/>
      <TfrxMemoView Name="Memo160" AllowVectorExport="True" Left="4,81107" Top="126,50402" Width="143,62214" Height="26,45671" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="TOTAL  ( LÍQUIDO - CREDITO ): "/>
      <TfrxMemoView Name="Memo165" AllowVectorExport="True" Left="152,66945" Top="75,5906" Width="90,70872" Height="11,33859" DataSet="QryAntecipa" DataSetName="QryAntecipa" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[IIF((&#60;QryVenda.&#34;FECHADA&#34;&#62; = 0) AND (&#60;QryVenda.&#34;CANCELADA&#34;&#62; = 0) AND (&#60;QryVenda.&#34;DEVOLUCAO&#34;&#62; = 0),&#60;QryAntecipa.&#34;VALOR_PAGO&#34;&#62;,0)]"/>
      <TfrxMemoView Name="Memo166" AllowVectorExport="True" Left="4,81107" Top="75,5906" Width="143,62214" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="CRÉDITO DISPONIVEL:"/>
    </TfrxGroupFooter>
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="19,89765" Left="0" Top="597,16574" Width="245,66945" OnBeforePrint="MasterData1OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSet="QryItVenda" DataSetName="QryItVenda" RowCount="0">
      <TfrxMemoView Name="Memo13" AllowVectorExport="True" Left="0" Top="0" Width="41,57483" Height="18,89765" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[QryItVenda.&#34;CODPROD&#34;]"/>
      <TfrxMemoView Name="Memo16" AllowVectorExport="True" Left="99,26778" Top="0" Width="22,67718" Height="18,89765" DataField="QUANTIDADE" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[QryItVenda.&#34;QUANTIDADE&#34;]"/>
      <TfrxMemoView Name="Memo22" AllowVectorExport="True" Left="123,3859" Top="0" Width="41,57483" Height="18,89765" DataField="VALOR" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[QryItVenda.&#34;VALOR&#34;]"/>
      <TfrxMemoView Name="Memo34" AllowVectorExport="True" Left="162,51979" Top="0" Width="37,7953" Height="18,89765" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[iif(&#60;QryItVenda.&#34;PERC_DESC&#34;&#62; &#60;=100,&#60;QryItVenda.&#34;PERC_DESC&#34;&#62;,0)]"/>
      <TfrxMemoView Name="Memo36" AllowVectorExport="True" Left="199,53556" Top="0" Width="45,35436" Height="18,89765" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[QryItVenda.&#34;TOTAL_LIQ&#34;]"/>
      <TfrxMemoView Name="Memo92" AllowVectorExport="True" Left="41,57483" Top="0" Width="56,69295" Height="18,89765" DataField="DESCRICAO" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[QryItVenda.&#34;DESCRICAO&#34;]"/>
    </TfrxMasterData>
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="272,12616" Left="0" Top="18,89765" Width="245,66945">
      <TfrxMemoView Name="Memo4" AllowVectorExport="True" Left="0" Top="164,04731" Width="245,66945" Height="34,01577" 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="ROMANEIO DE [iif(&#60;QryVenda.&#34;TIPO_VENDA&#34;&#62; = '2', 'CONSIGNADO',iif(&#60;QryVenda.&#34;DEVOLUCAO&#34;&#62; = '1','DEVOLUCAO','VENDA'))] - [tbRelatorio.&#34;CODVEN&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="tbEmpresaEMP_NOME" AllowVectorExport="True" Left="0" Top="3,77953" Width="241,88992" Height="26,45671" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[QryEmpresa.&#34;EMP_FANTASIA&#34;]"/>
      <TfrxMemoView Name="Memo19" AllowVectorExport="True" Left="351,49629" Top="151,1812" Width="109,60637" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="Memo20" AllowVectorExport="True" Left="468,66172" Top="149,92919" Width="109,60637" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="Memo21" AllowVectorExport="True" Left="585,82715" Top="149,92919" Width="109,60637" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="Memo5" AllowVectorExport="True" Left="0" Top="63,47248" Width="211,65368" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="TELEFONE: [QryEmpresa.&#34;EMP_TELEFONE&#34;]"/>
      <TfrxMemoView Name="Memo6" AllowVectorExport="True" Left="0" Top="30,01577" Width="234,33086" Height="26,45671" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[&#60;QryEmpresa.&#34;EMP_ENDERECO&#34;&#62;], [ &#60;QryEmpresa.&#34;EMP_NUMERO&#34;&#62;], [&#60;QryEmpresa.&#34;EMP_BAIRRO&#34;&#62;], [&#60;QryEmpresa.&#34;EMP_CIDADE&#34;&#62;]">
        <Formats>
          <item/>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo7" AllowVectorExport="True" Left="0" Top="81,37013" Width="219,21274" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="CNPJ: [QryEmpresa.&#34;EMP_CNPJ&#34;]">
        <Formats>
          <item/>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="QryVendaDATA" IndexTag="1" AllowVectorExport="True" Left="0" Top="198,06308" Width="241,88992" Height="22,67718" DataSet="QryVenda" DataSetName="QryVenda" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="DATA: [QryVenda.&#34;DATA&#34;]"/>
      <TfrxMemoView Name="Memo24" IndexTag="1" AllowVectorExport="True" Left="0" Top="235,85838" Width="241,88992" Height="34,01577" DataSet="QryVenda" DataSetName="QryVenda" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="VENDEDOR: [QryVenda.&#34;CODREP&#34;] - [QryVenda.&#34;NOME_REP&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo30" AllowVectorExport="True" Left="0" Top="213,1812" Width="181,41744" Height="30,23624" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="CODVEN: [QryVenda.&#34;CODVEN&#34;]"/>
      <TfrxMemoView Name="Memo46" AllowVectorExport="True" Left="0" Top="124,28355" Width="245,66945" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="VÁLIDO SOMENTE P/ ORÇAMENTO"/>
      <TfrxLineView Name="Line3" AllowVectorExport="True" Left="-3,22047" Top="146,96073" Width="253,22851" Height="0" Color="0" Frame.Style="fsDot" Frame.Typ="4"/>
      <TfrxLineView Name="Line4" AllowVectorExport="True" Left="-3,77953" Top="115,60637" Width="253,22851" Height="0" Color="0" Frame.Style="fsDot" Frame.Typ="4"/>
    </TfrxPageHeader>
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="45,35436" Left="0" Top="529,1342" Width="245,66945" Condition="QryVenda.&#34;CODVEN&#34;">
      <TfrxMemoView Name="Memo9" AllowVectorExport="True" Left="0" Top="30,23624" Width="41,57483" Height="11,33859" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="CÓDIGO"/>
      <TfrxMemoView Name="Memo12" AllowVectorExport="True" Left="96,70872" Top="30,23624" Width="26,45671" Height="11,33859" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="QTD"/>
      <TfrxMemoView Name="Memo28" AllowVectorExport="True" Left="0" Top="3,77953" Width="245,66945" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="5" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="ITENS"/>
      <TfrxMemoView Name="Memo32" AllowVectorExport="True" Left="123,3859" Top="30,23624" Width="41,57483" Height="11,33859" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="PREÇO"/>
      <TfrxMemoView Name="Memo35" AllowVectorExport="True" Left="163,96073" Top="30,23624" Width="34,01577" Height="11,33859" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="DESC"/>
      <TfrxMemoView Name="Memo37" AllowVectorExport="True" Left="198,19697" Top="30,23624" Width="45,35436" Height="11,33859" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="VL.LIQ"/>
    </TfrxGroupHeader>
    <TfrxMasterData Name="MasterData2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="41,57483" Left="0" Top="396,85065" Width="245,66945" ColumnWidth="0" ColumnGap="0" DataSet="QryCli" DataSetName="QryCli" RowCount="0">
      <TfrxMemoView Name="QryCliCODCLI" IndexTag="1" AllowVectorExport="True" Left="0" Top="0" Width="241,88992" Height="22,67718" DataSet="QryCli" DataSetName="QryCli" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="CLIENTE: [QryCli.&#34;CODCLI&#34;] - [QryCli.&#34;NOME&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="QryCliCNPJ" IndexTag="1" AllowVectorExport="True" Left="0" Top="24,1811225" Width="143,62214" Height="11,33859" DataSet="QryCli" DataSetName="QryCli" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="CPF/CNPJ: [QryCli.&#34;CNPJ&#34;]"/>
    </TfrxMasterData>
    <TfrxGroupHeader Name="GroupHeader2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="351,49629" Width="245,66945" Condition="QryVenda.&#34;CODCLIENTE&#34;">
      <TfrxMemoView Name="Memo33" AllowVectorExport="True" Left="0" Top="3,77953" Width="245,66945" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="5" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="CLIENTE"/>
    </TfrxGroupHeader>
    <TfrxMasterData Name="MasterData3" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="30,23624" Left="0" Top="899,52814" Width="245,66945" ColumnWidth="0" ColumnGap="0" DataSet="QryCondi" DataSetName="QryCondi" RowCount="0">
      <TfrxMemoView Name="QryCondiCDMOEDA" IndexTag="1" AllowVectorExport="True" Left="0" Top="0" Width="136,06308" Height="26,45671" DataSet="QryCondi" DataSetName="QryCondi" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[QryCondi.&#34;CDMOEDA&#34;] - [QryCondi.&#34;MOEDA&#34;]"/>
      <TfrxMemoView Name="QryCondiCDCONDICAO" IndexTag="1" AllowVectorExport="True" Left="139,04731" Top="0" Width="102,04731" Height="26,45671" DataSet="QryCondi" DataSetName="QryCondi" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[QryCondi.&#34;VALOR_PAGO&#34;]"/>
    </TfrxMasterData>
    <TfrxGroupHeader Name="GroupHeader3" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="34,01577" Left="0" Top="842,83519" Width="245,66945" Condition="QryCondi.&#34;CDVENDA&#34;">
      <TfrxMemoView Name="Memo45" AllowVectorExport="True" Left="0" Top="11,33859" Width="245,66945" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="5" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="PAGAMENTO"/>
    </TfrxGroupHeader>
    <TfrxChild Name="Child1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="45,35436" Left="0" Top="461,10266" Width="245,66945" ToNRows="0" ToNRowsMode="rmCount">
      <TfrxMemoView Name="Memo98" IndexTag="1" AllowVectorExport="True" Left="3,77953" Top="-0,110235" Width="219,21274" Height="11,33859" DataSet="QryCli" DataSetName="QryCli" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="CEP: [QryCli.&#34;CEP&#34;]"/>
      <TfrxMemoView Name="Memo99" IndexTag="1" AllowVectorExport="True" Left="3,77953" Top="12,9527675" Width="230,55133" Height="11,33859" DataSet="QryCli" DataSetName="QryCli" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="END: [QryCli.&#34;ENDERECO&#34;] - [QryCli.&#34;NUMERO&#34;] - [QryCli.&#34;CIDADE&#34;] -  [QryCli.&#34;COD_UF&#34;]">
        <Formats>
          <item/>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo101" IndexTag="1" AllowVectorExport="True" Left="3,77953" Top="25,23624" Width="219,21274" Height="11,33859" DataSet="QryCli" DataSetName="QryCli" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="FONE: [QryCli.&#34;DDD_FONE&#34;] -  [QryCli.&#34;TELEFONE&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
    </TfrxChild>
  </TfrxReportPage>
  <TfrxReportPage Name="Page2" PaperWidth="75" PaperHeight="270" PaperSize="256" LeftMargin="5" RightMargin="5" TopMargin="5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" MirrorMode="0" HGuides.Text="" VGuides.Text="">
    <TfrxGroupFooter Name="GroupFooter2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="181,41744" Left="0" Top="638,74057" Width="245,66945">
      <TfrxMemoView Name="Memo49" AllowVectorExport="True" Left="152,66945" Top="111,37013" Width="90,70872" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[SUM(&#60;QryItVenda.&#34;TOTAL_LIQ&#34;&#62;,MasterData1,1) - (&#60;QryAntecipa.&#34;VALOR2&#34;&#62;)]"/>
      <TfrxMemoView Name="Memo50" AllowVectorExport="True" Left="4,81107" Top="111,37013" Width="143,62214" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="TOTAL LÍQUIDO: "/>
      <TfrxMemoView Name="Memo51" AllowVectorExport="True" Left="4,81107" Top="15,11812" Width="143,62214" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="QUANT. PEÇAS: "/>
      <TfrxMemoView Name="Memo52" AllowVectorExport="True" Left="152,66945" Top="15,11812" Width="90,70872" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[SUM(&#60;QryItVenda.&#34;quanTIDADE&#34;&#62;,MasterData1,1)]"/>
      <TfrxMemoView Name="Memo53" AllowVectorExport="True" Left="152,66945" Top="45,35436" Width="90,70872" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[SUM(IIF(&#60;QryItVenda.&#34;PERC_DESC&#34;&#62; &#62; 30,0,&#60;QryItVenda.&#34;DESC_ITEM&#34;&#62;),MasterData1,1)]"/>
      <TfrxMemoView Name="Memo54" AllowVectorExport="True" Left="4,81107" Top="45,35436" Width="143,62214" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="TOTAL DESCONTO: "/>
      <TfrxMemoView Name="Memo55" AllowVectorExport="True" Left="4,81107" Top="30,23624" Width="143,62214" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="TOTAL BRUTO: "/>
      <TfrxMemoView Name="Memo56" AllowVectorExport="True" Left="152,66945" Top="30,23624" Width="90,70872" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[SUM(IIF(&#60;QryItVenda.&#34;PERC_DESC&#34;&#62; &#62; 30,&#60;QryItVenda.&#34;TOTAL_LIQ&#34;&#62;,&#60;QryItVenda.&#34;TOTAL&#34;&#62;),MasterData1,1)]"/>
      <TfrxLineView Name="Line5" AllowVectorExport="True" Left="0" Top="7,55906" Width="245,66945" Height="0" Color="0" Frame.Style="fsDot" Frame.Typ="4"/>
      <TfrxLineView Name="Line6" AllowVectorExport="True" Left="-3,77953" Top="177,84261" Width="249,44898" Height="0" Color="0" Frame.Style="fsDot" Frame.Typ="4"/>
      <TfrxMemoView Name="Memo57" AllowVectorExport="True" Left="152,66945" Top="60,47248" Width="90,70872" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[iif(&#60;qtReg&#62; &#62; 0,(SUM(iif(&#60;QryItVenda.&#34;PERC_DESC&#34;&#62; &#60;=100,&#60;QryItVenda.&#34;PERC_DESC&#34;&#62;,0),MasterData1,1)/&#60;qtReg&#62;),0)]"/>
      <TfrxMemoView Name="Memo58" AllowVectorExport="True" Left="4,81107" Top="60,47248" Width="143,62214" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="PERC. DESC: "/>
      <TfrxMemoView Name="Memo59" AllowVectorExport="True" Left="152,66945" Top="94,48825" Width="90,70872" Height="11,33859" DataSet="QryAntecipa" DataSetName="QryAntecipa" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[IIF(&#60;QryVenda.&#34;FECHADA&#34;&#62; = 1,&#60;qryGamby.&#34;VALOR_PAGO&#34;&#62;,0)]"/>
      <TfrxMemoView Name="Memo60" AllowVectorExport="True" Left="4,81107" Top="94,48825" Width="143,62214" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="CRÉDITO UTILIZADO:"/>
      <TfrxMemoView Name="Memo61" AllowVectorExport="True" Left="152,66945" Top="158,40167" Width="90,70872" Height="11,33859" DataField="OBSERVACAO" DataSet="QryVenda" DataSetName="QryVenda" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[QryVenda.&#34;OBSERVACAO&#34;]"/>
      <TfrxMemoView Name="Memo62" AllowVectorExport="True" Left="24,40167" Top="158,40167" Width="124,72449" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="OBS:"/>
      <TfrxMemoView Name="Memo63" AllowVectorExport="True" Left="152,66945" Top="126,50402" Width="90,70872" Height="26,45671" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[IIF(SUM(&#60;QryItVenda.&#34;TOTAL_LIQ&#34;&#62;,MasterData1,1) - IIF((&#60;QryVenda.&#34;FECHADA&#34;&#62; = 0) AND (&#60;QryVenda.&#34;CANCELADA&#34;&#62; = 0) AND (&#60;QryVenda.&#34;DEVOLUCAO&#34;&#62; = 0),&#60;QryAntecipa.&#34;VALOR_PAGO&#34;&#62;,0) - IIF(&#60;QryVenda.&#34;FECHADA&#34;&#62; = 1,&#60;qryGamby.&#34;VALOR_PAGO&#34;&#62;,0) &#62; 0, SUM(&#60;QryItVenda.&#34;TOTAL_LIQ&#34;&#62;,MasterData1,1) - IIF((&#60;QryVenda.&#34;FECHADA&#34;&#62; = 0) AND (&#60;QryVenda.&#34;CANCELADA&#34;&#62; = 0) AND (&#60;QryVenda.&#34;DEVOLUCAO&#34;&#62; = 0),&#60;QryAntecipa.&#34;VALOR_PAGO&#34;&#62;,0) - IIF(&#60;QryVenda.&#34;FECHADA&#34;&#62; = 1,&#60;qryGamby.&#34;VALOR_PAGO&#34;&#62;,0), 0)]"/>
      <TfrxMemoView Name="Memo64" AllowVectorExport="True" Left="4,81107" Top="126,50402" Width="143,62214" Height="26,45671" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="TOTAL  ( LÍQUIDO - CREDITO ): "/>
      <TfrxMemoView Name="Memo65" AllowVectorExport="True" Left="152,66945" Top="75,5906" Width="90,70872" Height="11,33859" DataSet="QryAntecipa" DataSetName="QryAntecipa" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[IIF((&#60;QryVenda.&#34;FECHADA&#34;&#62; = 0) AND (&#60;QryVenda.&#34;CANCELADA&#34;&#62; = 0) AND (&#60;QryVenda.&#34;DEVOLUCAO&#34;&#62; = 0),&#60;QryAntecipa.&#34;VALOR_PAGO&#34;&#62;,0)]"/>
      <TfrxMemoView Name="Memo66" AllowVectorExport="True" Left="4,81107" Top="75,5906" Width="143,62214" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="CRÉDITO DISPONIVEL:"/>
    </TfrxGroupFooter>
    <TfrxMasterData Name="MasterData4" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="19,89765" Left="0" Top="597,16574" Width="245,66945" OnBeforePrint="MasterData1OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSet="QryItVenda" DataSetName="QryItVenda" RowCount="0">
      <TfrxMemoView Name="Memo67" AllowVectorExport="True" Left="0" Top="0" Width="41,57483" Height="18,89765" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[QryItVenda.&#34;CODPROD&#34;]"/>
      <TfrxMemoView Name="Memo68" AllowVectorExport="True" Left="99,26778" Top="0" Width="22,67718" Height="18,89765" DataField="QUANTIDADE" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[QryItVenda.&#34;QUANTIDADE&#34;]"/>
      <TfrxMemoView Name="Memo69" AllowVectorExport="True" Left="123,3859" Top="0" Width="41,57483" Height="18,89765" DataField="VALOR" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[QryItVenda.&#34;VALOR&#34;]"/>
      <TfrxMemoView Name="Memo70" AllowVectorExport="True" Left="162,51979" Top="0" Width="37,7953" Height="18,89765" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[iif(&#60;QryItVenda.&#34;PERC_DESC&#34;&#62; &#60;=100,&#60;QryItVenda.&#34;PERC_DESC&#34;&#62;,0)]"/>
      <TfrxMemoView Name="Memo71" AllowVectorExport="True" Left="199,53556" Top="0" Width="45,35436" Height="18,89765" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[QryItVenda.&#34;TOTAL_LIQ&#34;]"/>
      <TfrxMemoView Name="Memo72" AllowVectorExport="True" Left="41,57483" Top="0" Width="56,69295" Height="18,89765" DataField="DESCRICAO" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[QryItVenda.&#34;DESCRICAO&#34;]"/>
    </TfrxMasterData>
    <TfrxPageHeader Name="PageHeader2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="272,12616" Left="0" Top="18,89765" Width="245,66945">
      <TfrxMemoView Name="Memo73" AllowVectorExport="True" Left="0" Top="164,04731" Width="245,66945" Height="34,01577" 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="ROMANEIO DE [iif(&#60;QryVenda.&#34;TIPO_VENDA&#34;&#62; = '2', 'CONSIGNADO',iif(&#60;QryVenda.&#34;DEVOLUCAO&#34;&#62; = '1','DEVOLUCAO','VENDA'))] - [tbRelatorio.&#34;CODVEN&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo74" AllowVectorExport="True" Left="0" Top="3,77953" Width="241,88992" Height="26,45671" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[QryEmpresa.&#34;EMP_FANTASIA&#34;]"/>
      <TfrxMemoView Name="Memo75" AllowVectorExport="True" Left="351,49629" Top="151,1812" Width="109,60637" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="Memo76" AllowVectorExport="True" Left="468,66172" Top="149,92919" Width="109,60637" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="Memo77" AllowVectorExport="True" Left="585,82715" Top="149,92919" Width="109,60637" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="Memo78" AllowVectorExport="True" Left="0" Top="63,47248" Width="211,65368" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="TELEFONE: [QryEmpresa.&#34;EMP_TELEFONE&#34;]"/>
      <TfrxMemoView Name="Memo79" AllowVectorExport="True" Left="0" Top="30,01577" Width="234,33086" Height="26,45671" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[&#60;QryEmpresa.&#34;EMP_ENDERECO&#34;&#62;], [ &#60;QryEmpresa.&#34;EMP_NUMERO&#34;&#62;], [&#60;QryEmpresa.&#34;EMP_BAIRRO&#34;&#62;], [&#60;QryEmpresa.&#34;EMP_CIDADE&#34;&#62;]">
        <Formats>
          <item/>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo80" AllowVectorExport="True" Left="0" Top="81,37013" Width="219,21274" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="CNPJ: [QryEmpresa.&#34;EMP_CNPJ&#34;]">
        <Formats>
          <item/>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo81" IndexTag="1" AllowVectorExport="True" Left="0" Top="198,06308" Width="241,88992" Height="22,67718" DataSet="QryVenda" DataSetName="QryVenda" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="DATA: [QryVenda.&#34;DATA&#34;]"/>
      <TfrxMemoView Name="Memo82" IndexTag="1" AllowVectorExport="True" Left="0" Top="235,85838" Width="241,88992" Height="34,01577" DataSet="QryVenda" DataSetName="QryVenda" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="VENDEDOR: [QryVenda.&#34;CODREP&#34;] - [QryVenda.&#34;NOME_REP&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo83" AllowVectorExport="True" Left="0" Top="213,1812" Width="181,41744" Height="30,23624" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="CODVEN: [QryVenda.&#34;CODVEN&#34;]"/>
      <TfrxMemoView Name="Memo84" AllowVectorExport="True" Left="0" Top="124,28355" Width="245,66945" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="VÁLIDO SOMENTE P/ ORÇAMENTO"/>
      <TfrxLineView Name="Line7" AllowVectorExport="True" Left="-3,22047" Top="146,96073" Width="253,22851" Height="0" Color="0" Frame.Style="fsDot" Frame.Typ="4"/>
      <TfrxLineView Name="Line8" AllowVectorExport="True" Left="-3,77953" Top="115,60637" Width="253,22851" Height="0" Color="0" Frame.Style="fsDot" Frame.Typ="4"/>
    </TfrxPageHeader>
    <TfrxGroupHeader Name="GroupHeader4" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="45,35436" Left="0" Top="529,1342" Width="245,66945" Condition="QryVenda.&#34;CODVEN&#34;">
      <TfrxMemoView Name="Memo85" AllowVectorExport="True" Left="0" Top="30,23624" Width="41,57483" Height="11,33859" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="CÓDIGO"/>
      <TfrxMemoView Name="Memo86" AllowVectorExport="True" Left="96,70872" Top="30,23624" Width="26,45671" Height="11,33859" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="QTD"/>
      <TfrxMemoView Name="Memo87" AllowVectorExport="True" Left="0" Top="3,77953" Width="245,66945" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="5" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="ITENS"/>
      <TfrxMemoView Name="Memo88" AllowVectorExport="True" Left="123,3859" Top="30,23624" Width="41,57483" Height="11,33859" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="PREÇO"/>
      <TfrxMemoView Name="Memo89" AllowVectorExport="True" Left="163,96073" Top="30,23624" Width="34,01577" Height="11,33859" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="DESC"/>
      <TfrxMemoView Name="Memo90" AllowVectorExport="True" Left="198,19697" Top="30,23624" Width="45,35436" Height="11,33859" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="VL.LIQ"/>
    </TfrxGroupHeader>
    <TfrxMasterData Name="MasterData5" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="41,57483" Left="0" Top="396,85065" Width="245,66945" ColumnWidth="0" ColumnGap="0" DataSet="QryCli" DataSetName="QryCli" RowCount="0">
      <TfrxMemoView Name="Memo91" IndexTag="1" AllowVectorExport="True" Left="0" Top="0" Width="241,88992" Height="22,67718" DataSet="QryCli" DataSetName="QryCli" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="CLIENTE: [QryCli.&#34;CODCLI&#34;] - [QryCli.&#34;NOME&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo95" IndexTag="1" AllowVectorExport="True" Left="0" Top="24,1811225" Width="143,62214" Height="11,33859" DataSet="QryCli" DataSetName="QryCli" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="CPF/CNPJ: [QryCli.&#34;CNPJ&#34;]"/>
    </TfrxMasterData>
    <TfrxGroupHeader Name="GroupHeader5" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="351,49629" Width="245,66945" Condition="QryVenda.&#34;CODCLIENTE&#34;">
      <TfrxMemoView Name="Memo96" AllowVectorExport="True" Left="0" Top="3,77953" Width="245,66945" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="5" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="CLIENTE"/>
    </TfrxGroupHeader>
    <TfrxMasterData Name="MasterData6" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="30,23624" Left="0" Top="899,52814" Width="245,66945" ColumnWidth="0" ColumnGap="0" DataSet="QryCondi" DataSetName="QryCondi" RowCount="0">
      <TfrxMemoView Name="Memo97" IndexTag="1" AllowVectorExport="True" Left="0" Top="0" Width="136,06308" Height="26,45671" DataSet="QryCondi" DataSetName="QryCondi" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[QryCondi.&#34;CDMOEDA&#34;] - [QryCondi.&#34;MOEDA&#34;]"/>
      <TfrxMemoView Name="Memo100" IndexTag="1" AllowVectorExport="True" Left="139,04731" Top="0" Width="102,04731" Height="26,45671" DataSet="QryCondi" DataSetName="QryCondi" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[QryCondi.&#34;VALOR_PAGO&#34;]"/>
    </TfrxMasterData>
    <TfrxGroupHeader Name="GroupHeader6" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="34,01577" Left="0" Top="842,83519" Width="245,66945" Condition="QryCondi.&#34;CDVENDA&#34;">
      <TfrxMemoView Name="Memo102" AllowVectorExport="True" Left="0" Top="11,33859" Width="245,66945" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="5" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="PAGAMENTO"/>
    </TfrxGroupHeader>
    <TfrxChild Name="Child2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="45,35436" Left="0" Top="461,10266" Width="245,66945" ToNRows="0" ToNRowsMode="rmCount">
      <TfrxMemoView Name="Memo104" IndexTag="1" AllowVectorExport="True" Left="3,77953" Top="12,9527675" Width="230,55133" Height="11,33859" DataSet="QryCli" DataSetName="QryCli" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="END: [QryCli.&#34;ENDERECO&#34;] - [QryCli.&#34;NUMERO&#34;] - [QryCli.&#34;CIDADE&#34;] -  [QryCli.&#34;COD_UF&#34;]">
        <Formats>
          <item/>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo105" IndexTag="1" AllowVectorExport="True" Left="3,77953" Top="25,23624" Width="219,21274" Height="11,33859" DataSet="QryCli" DataSetName="QryCli" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="FONE: [QryCli.&#34;DDD_FONE&#34;] -  [QryCli.&#34;TELEFONE&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo103" IndexTag="1" AllowVectorExport="True" Left="15,11812" Top="-19,007885" Width="219,21274" Height="11,33859" DataSet="QryCli" DataSetName="QryCli" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="CEP: [QryCli.&#34;CEP&#34;]"/>
    </TfrxChild>
  </TfrxReportPage>
  <TfrxReportPage Name="Page3" PaperWidth="75" PaperHeight="270" PaperSize="256" LeftMargin="5" RightMargin="5" TopMargin="5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" MirrorMode="0" HGuides.Text="" VGuides.Text="">
    <TfrxGroupFooter Name="GroupFooter3" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="181,41744" Left="0" Top="638,74057" Width="245,66945">
      <TfrxMemoView Name="Memo106" AllowVectorExport="True" Left="152,66945" Top="111,37013" Width="90,70872" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[SUM(&#60;QryItVenda.&#34;TOTAL_LIQ&#34;&#62;,MasterData1,1) - (&#60;QryAntecipa.&#34;VALOR2&#34;&#62;)]"/>
      <TfrxMemoView Name="Memo107" AllowVectorExport="True" Left="4,81107" Top="111,37013" Width="143,62214" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="TOTAL LÍQUIDO: "/>
      <TfrxMemoView Name="Memo108" AllowVectorExport="True" Left="4,81107" Top="15,11812" Width="143,62214" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="QUANT. PEÇAS: "/>
      <TfrxMemoView Name="Memo111" AllowVectorExport="True" Left="152,66945" Top="15,11812" Width="90,70872" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[SUM(&#60;QryItVenda.&#34;quanTIDADE&#34;&#62;,MasterData1,1)]"/>
      <TfrxMemoView Name="Memo112" AllowVectorExport="True" Left="152,66945" Top="45,35436" Width="90,70872" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[SUM(IIF(&#60;QryItVenda.&#34;PERC_DESC&#34;&#62; &#62; 30,0,&#60;QryItVenda.&#34;DESC_ITEM&#34;&#62;),MasterData1,1)]"/>
      <TfrxMemoView Name="Memo113" AllowVectorExport="True" Left="4,81107" Top="45,35436" Width="143,62214" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="TOTAL DESCONTO: "/>
      <TfrxMemoView Name="Memo114" AllowVectorExport="True" Left="4,81107" Top="30,23624" Width="143,62214" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="TOTAL BRUTO: "/>
      <TfrxMemoView Name="Memo115" AllowVectorExport="True" Left="152,66945" Top="30,23624" Width="90,70872" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[SUM(IIF(&#60;QryItVenda.&#34;PERC_DESC&#34;&#62; &#62; 30,&#60;QryItVenda.&#34;TOTAL_LIQ&#34;&#62;,&#60;QryItVenda.&#34;TOTAL&#34;&#62;),MasterData1,1)]"/>
      <TfrxLineView Name="Line9" AllowVectorExport="True" Left="0" Top="7,55906" Width="245,66945" Height="0" Color="0" Frame.Style="fsDot" Frame.Typ="4"/>
      <TfrxLineView Name="Line10" AllowVectorExport="True" Left="-3,77953" Top="177,84261" Width="249,44898" Height="0" Color="0" Frame.Style="fsDot" Frame.Typ="4"/>
      <TfrxMemoView Name="Memo116" AllowVectorExport="True" Left="152,66945" Top="60,47248" Width="90,70872" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[iif(&#60;qtReg&#62; &#62; 0,(SUM(iif(&#60;QryItVenda.&#34;PERC_DESC&#34;&#62; &#60;=100,&#60;QryItVenda.&#34;PERC_DESC&#34;&#62;,0),MasterData1,1)/&#60;qtReg&#62;),0)]"/>
      <TfrxMemoView Name="Memo117" AllowVectorExport="True" Left="4,81107" Top="60,47248" Width="143,62214" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="PERC. DESC: "/>
      <TfrxMemoView Name="Memo118" AllowVectorExport="True" Left="152,66945" Top="94,48825" Width="90,70872" Height="11,33859" DataSet="QryAntecipa" DataSetName="QryAntecipa" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[IIF(&#60;QryVenda.&#34;FECHADA&#34;&#62; = 1,&#60;qryGamby.&#34;VALOR_PAGO&#34;&#62;,0)]"/>
      <TfrxMemoView Name="Memo119" AllowVectorExport="True" Left="4,81107" Top="94,48825" Width="143,62214" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="CRÉDITO UTILIZADO:"/>
      <TfrxMemoView Name="Memo120" AllowVectorExport="True" Left="152,66945" Top="158,40167" Width="90,70872" Height="11,33859" DataField="OBSERVACAO" DataSet="QryVenda" DataSetName="QryVenda" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[QryVenda.&#34;OBSERVACAO&#34;]"/>
      <TfrxMemoView Name="Memo121" AllowVectorExport="True" Left="24,40167" Top="158,40167" Width="124,72449" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="OBS:"/>
      <TfrxMemoView Name="Memo122" AllowVectorExport="True" Left="152,66945" Top="126,50402" Width="90,70872" Height="26,45671" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[IIF(SUM(&#60;QryItVenda.&#34;TOTAL_LIQ&#34;&#62;,MasterData1,1) - IIF((&#60;QryVenda.&#34;FECHADA&#34;&#62; = 0) AND (&#60;QryVenda.&#34;CANCELADA&#34;&#62; = 0) AND (&#60;QryVenda.&#34;DEVOLUCAO&#34;&#62; = 0),&#60;QryAntecipa.&#34;VALOR_PAGO&#34;&#62;,0) - IIF(&#60;QryVenda.&#34;FECHADA&#34;&#62; = 1,&#60;qryGamby.&#34;VALOR_PAGO&#34;&#62;,0) &#62; 0, SUM(&#60;QryItVenda.&#34;TOTAL_LIQ&#34;&#62;,MasterData1,1) - IIF((&#60;QryVenda.&#34;FECHADA&#34;&#62; = 0) AND (&#60;QryVenda.&#34;CANCELADA&#34;&#62; = 0) AND (&#60;QryVenda.&#34;DEVOLUCAO&#34;&#62; = 0),&#60;QryAntecipa.&#34;VALOR_PAGO&#34;&#62;,0) - IIF(&#60;QryVenda.&#34;FECHADA&#34;&#62; = 1,&#60;qryGamby.&#34;VALOR_PAGO&#34;&#62;,0), 0)]"/>
      <TfrxMemoView Name="Memo123" AllowVectorExport="True" Left="4,81107" Top="126,50402" Width="143,62214" Height="26,45671" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="TOTAL  ( LÍQUIDO - CREDITO ): "/>
      <TfrxMemoView Name="Memo124" AllowVectorExport="True" Left="152,66945" Top="75,5906" Width="90,70872" Height="11,33859" DataSet="QryAntecipa" DataSetName="QryAntecipa" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[IIF((&#60;QryVenda.&#34;FECHADA&#34;&#62; = 0) AND (&#60;QryVenda.&#34;CANCELADA&#34;&#62; = 0) AND (&#60;QryVenda.&#34;DEVOLUCAO&#34;&#62; = 0),&#60;QryAntecipa.&#34;VALOR_PAGO&#34;&#62;,0)]"/>
      <TfrxMemoView Name="Memo125" AllowVectorExport="True" Left="4,81107" Top="75,5906" Width="143,62214" Height="11,33859" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="CRÉDITO DISPONIVEL:"/>
    </TfrxGroupFooter>
    <TfrxMasterData Name="MasterData7" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="19,89765" Left="0" Top="597,16574" Width="245,66945" OnBeforePrint="MasterData1OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSet="QryItVenda" DataSetName="QryItVenda" RowCount="0">
      <TfrxMemoView Name="Memo126" AllowVectorExport="True" Left="0" Top="0" Width="41,57483" Height="18,89765" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[QryItVenda.&#34;CODPROD&#34;]"/>
      <TfrxMemoView Name="Memo127" AllowVectorExport="True" Left="99,26778" Top="0" Width="22,67718" Height="18,89765" DataField="QUANTIDADE" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[QryItVenda.&#34;QUANTIDADE&#34;]"/>
      <TfrxMemoView Name="Memo128" AllowVectorExport="True" Left="123,3859" Top="0" Width="41,57483" Height="18,89765" DataField="VALOR" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[QryItVenda.&#34;VALOR&#34;]"/>
      <TfrxMemoView Name="Memo129" AllowVectorExport="True" Left="162,51979" Top="0" Width="37,7953" Height="18,89765" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[iif(&#60;QryItVenda.&#34;PERC_DESC&#34;&#62; &#60;=100,&#60;QryItVenda.&#34;PERC_DESC&#34;&#62;,0)]"/>
      <TfrxMemoView Name="Memo130" AllowVectorExport="True" Left="199,53556" Top="0" Width="45,35436" Height="18,89765" DataSet="QryItVenda" DataSetName="QryItVenda" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[QryItVenda.&#34;TOTAL_LIQ&#34;]"/>
      <TfrxMemoView Name="Memo131" AllowVectorExport="True" Left="41,57483" Top="0" Width="56,69295" Height="18,89765" DataField="DESCRICAO" DataSet="QryItVenda" DataSetName="QryItVenda" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[QryItVenda.&#34;DESCRICAO&#34;]"/>
    </TfrxMasterData>
    <TfrxPageHeader Name="PageHeader3" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="272,12616" Left="0" Top="18,89765" Width="245,66945">
      <TfrxMemoView Name="Memo132" AllowVectorExport="True" Left="0" Top="164,04731" Width="245,66945" Height="34,01577" 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="ROMANEIO DE [iif(&#60;QryVenda.&#34;TIPO_VENDA&#34;&#62; = '2', 'CONSIGNADO',iif(&#60;QryVenda.&#34;DEVOLUCAO&#34;&#62; = '1','DEVOLUCAO','VENDA'))] - [tbRelatorio.&#34;CODVEN&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo133" AllowVectorExport="True" Left="0" Top="3,77953" Width="241,88992" Height="26,45671" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[QryEmpresa.&#34;EMP_FANTASIA&#34;]"/>
      <TfrxMemoView Name="Memo134" AllowVectorExport="True" Left="351,49629" Top="151,1812" Width="109,60637" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="Memo135" AllowVectorExport="True" Left="468,66172" Top="149,92919" Width="109,60637" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="Memo136" AllowVectorExport="True" Left="585,82715" Top="149,92919" Width="109,60637" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="Memo137" AllowVectorExport="True" Left="0" Top="63,47248" Width="211,65368" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="TELEFONE: [QryEmpresa.&#34;EMP_TELEFONE&#34;]"/>
      <TfrxMemoView Name="Memo138" AllowVectorExport="True" Left="0" Top="30,01577" Width="234,33086" Height="26,45671" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[&#60;QryEmpresa.&#34;EMP_ENDERECO&#34;&#62;], [ &#60;QryEmpresa.&#34;EMP_NUMERO&#34;&#62;], [&#60;QryEmpresa.&#34;EMP_BAIRRO&#34;&#62;], [&#60;QryEmpresa.&#34;EMP_CIDADE&#34;&#62;]">
        <Formats>
          <item/>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo139" AllowVectorExport="True" Left="0" Top="81,37013" Width="219,21274" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="CNPJ: [QryEmpresa.&#34;EMP_CNPJ&#34;]">
        <Formats>
          <item/>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo140" IndexTag="1" AllowVectorExport="True" Left="0" Top="198,06308" Width="241,88992" Height="22,67718" DataSet="QryVenda" DataSetName="QryVenda" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="DATA: [QryVenda.&#34;DATA&#34;]"/>
      <TfrxMemoView Name="Memo141" IndexTag="1" AllowVectorExport="True" Left="0" Top="235,85838" Width="241,88992" Height="34,01577" DataSet="QryVenda" DataSetName="QryVenda" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="VENDEDOR: [QryVenda.&#34;CODREP&#34;] - [QryVenda.&#34;NOME_REP&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo142" AllowVectorExport="True" Left="0" Top="213,1812" Width="181,41744" Height="30,23624" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="CODVEN: [QryVenda.&#34;CODVEN&#34;]"/>
      <TfrxMemoView Name="Memo143" AllowVectorExport="True" Left="0" Top="124,28355" Width="245,66945" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="VÁLIDO SOMENTE P/ ORÇAMENTO"/>
      <TfrxLineView Name="Line11" AllowVectorExport="True" Left="-3,22047" Top="146,96073" Width="253,22851" Height="0" Color="0" Frame.Style="fsDot" Frame.Typ="4"/>
      <TfrxLineView Name="Line12" AllowVectorExport="True" Left="-3,77953" Top="115,60637" Width="253,22851" Height="0" Color="0" Frame.Style="fsDot" Frame.Typ="4"/>
    </TfrxPageHeader>
    <TfrxGroupHeader Name="GroupHeader7" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="45,35436" Left="0" Top="529,1342" Width="245,66945" Condition="QryVenda.&#34;CODVEN&#34;">
      <TfrxMemoView Name="Memo144" AllowVectorExport="True" Left="0" Top="30,23624" Width="41,57483" Height="11,33859" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="CÓDIGO"/>
      <TfrxMemoView Name="Memo145" AllowVectorExport="True" Left="96,70872" Top="30,23624" Width="26,45671" Height="11,33859" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="QTD"/>
      <TfrxMemoView Name="Memo146" AllowVectorExport="True" Left="0" Top="3,77953" Width="245,66945" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="5" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="ITENS"/>
      <TfrxMemoView Name="Memo147" AllowVectorExport="True" Left="123,3859" Top="30,23624" Width="41,57483" Height="11,33859" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="PREÇO"/>
      <TfrxMemoView Name="Memo148" AllowVectorExport="True" Left="163,96073" Top="30,23624" Width="34,01577" Height="11,33859" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="DESC"/>
      <TfrxMemoView Name="Memo149" AllowVectorExport="True" Left="198,19697" Top="30,23624" Width="45,35436" Height="11,33859" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="VL.LIQ"/>
    </TfrxGroupHeader>
    <TfrxMasterData Name="MasterData8" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="41,57483" Left="0" Top="396,85065" Width="245,66945" ColumnWidth="0" ColumnGap="0" DataSet="QryCli" DataSetName="QryCli" RowCount="0">
      <TfrxMemoView Name="Memo150" IndexTag="1" AllowVectorExport="True" Left="0" Top="0" Width="241,88992" Height="22,67718" DataSet="QryCli" DataSetName="QryCli" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="CLIENTE: [QryCli.&#34;CODCLI&#34;] - [QryCli.&#34;NOME&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo151" IndexTag="1" AllowVectorExport="True" Left="0" Top="24,1811225" Width="143,62214" Height="11,33859" DataSet="QryCli" DataSetName="QryCli" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="CPF/CNPJ: [QryCli.&#34;CNPJ&#34;]"/>
      <TfrxMemoView Name="Memo156" IndexTag="1" AllowVectorExport="True" Left="15,11812" Top="41,464595" Width="219,21274" Height="11,33859" DataSet="QryCli" DataSetName="QryCli" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="CEP: [QryCli.&#34;CEP&#34;]"/>
    </TfrxMasterData>
    <TfrxGroupHeader Name="GroupHeader8" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="351,49629" Width="245,66945" Condition="QryVenda.&#34;CODCLIENTE&#34;">
      <TfrxMemoView Name="Memo152" AllowVectorExport="True" Left="0" Top="3,77953" Width="245,66945" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="5" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="CLIENTE"/>
    </TfrxGroupHeader>
    <TfrxMasterData Name="MasterData9" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="30,23624" Left="0" Top="899,52814" Width="245,66945" ColumnWidth="0" ColumnGap="0" DataSet="QryCondi" DataSetName="QryCondi" RowCount="0">
      <TfrxMemoView Name="Memo153" IndexTag="1" AllowVectorExport="True" Left="0" Top="0" Width="136,06308" Height="26,45671" DataSet="QryCondi" DataSetName="QryCondi" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[QryCondi.&#34;CDMOEDA&#34;] - [QryCondi.&#34;MOEDA&#34;]"/>
      <TfrxMemoView Name="Memo154" IndexTag="1" AllowVectorExport="True" Left="139,04731" Top="0" Width="102,04731" Height="26,45671" DataSet="QryCondi" DataSetName="QryCondi" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[QryCondi.&#34;VALOR_PAGO&#34;]"/>
    </TfrxMasterData>
    <TfrxGroupHeader Name="GroupHeader9" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="34,01577" Left="0" Top="842,83519" Width="245,66945" Condition="QryCondi.&#34;CDVENDA&#34;">
      <TfrxMemoView Name="Memo155" AllowVectorExport="True" Left="0" Top="11,33859" Width="245,66945" Height="15,11812" DataSetName="tbEmpresa" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="5" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="PAGAMENTO"/>
    </TfrxGroupHeader>
    <TfrxChild Name="Child3" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="45,35436" Left="0" Top="461,10266" Width="245,66945" ToNRows="0" ToNRowsMode="rmCount">
      <TfrxMemoView Name="Memo157" IndexTag="1" AllowVectorExport="True" Left="3,77953" Top="12,9527675" Width="230,55133" Height="11,33859" DataSet="QryCli" DataSetName="QryCli" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="END: [QryCli.&#34;ENDERECO&#34;] - [QryCli.&#34;NUMERO&#34;] - [QryCli.&#34;CIDADE&#34;] -  [QryCli.&#34;COD_UF&#34;]">
        <Formats>
          <item/>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo158" IndexTag="1" AllowVectorExport="True" Left="3,77953" Top="25,23624" Width="219,21274" Height="11,33859" DataSet="QryCli" DataSetName="QryCli" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="FONE: [QryCli.&#34;DDD_FONE&#34;] -  [QryCli.&#34;TELEFONE&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
    </TfrxChild>
  </TfrxReportPage>
</TfrxReport>
