<?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="44818,7230144907" 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="qryPedIten" DataSetName="qryPedIten"/>
    <item DataSet="qryPedidoCapa" DataSetName="qryPedidoCapa"/>
    <item DataSet="qryRegiao" DataSetName="qryRegiao"/>
  </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="'_005'"/>
    <item Name="Layout" Value="'relPedidoAcesso.fr3'"/>
    <item Name="PastaFotos" Value="'\\172.20.10.208\arquivos\Desenvolvimento\Sisplan\Foto'"/>
    <item Name="Usuario" Value="'SISPLAN'"/>
    <item Name="emp_id" Value="'5'"/>
    <item Name="DT_SAIDA" Value="''"/>
    <item Name="DT_EMISSAO" Value="''"/>
    <item Name="TAB_PRE" Value="''"/>
    <item Name="FINANCEIRO" Value="''"/>
    <item Name="DT_FATURA" Value="''"/>
    <item Name="CODCLI" Value="''"/>
    <item Name="COLECAO" Value="''"/>
    <item Name="NUMERO" Value="'''00001'''"/>
    <item Name="BLOQUEIO" Value="''"/>
    <item Name="ENTREGA" Value="''"/>
    <item Name="TELA_ORDENACAO" Value="'RelPedidoA'"/>
    <item Name="ORDEM_ORDENACAO" Value="'-1'"/>
  </Variables>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxFDDatabase Name="Conexao" DriverName="FB" DatabaseName="d:/dados/Bases/13131F_teste.FDB" Params.Text="Protocol=TCPIP&#13;&#10;Database=d:/dados/Bases/13131F_teste.FDB&#13;&#10;Server=172.20.10.204&#13;&#10;user_name=sysdba&#13;&#10;password=masterkey&#13;&#10;MonitorBy=Remote&#13;&#10;DriverID=FB&#13;&#10;ApplicationName=C:\Sisplan\apiWeb.exe&#13;&#10;CharacterSet=UTF8&#13;&#10;Port=3051" LoginPrompt="False" Connected="false" PropData="05704C656674021A0470546F700237"/>
    <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="645" Top="189">
      <Parameters>
        <item Name="EMP_ID" DataType="ftInteger" Expression="&#60;emp_id&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qryPedIten" UserName="qryPedIten" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="tbRelatorio" IgnoreDupParams="False" SQL.Text="SELECT PEDI.NUMERO, PEDI.CODIGO, PEDI.PRECO, PEDI.QTDE, PEDI.QTDE_F, PEDI.TAM, PEDI.COR, PEDI.QTDE_ORIG, C.DESCRICAO AS DESCRICAO_COR, PRO.DESCRICAO                               &#13;&#10;FROM PED_ITEN_001 PEDI&#13;&#10;LEFT JOIN PRODUTO_001 PRO&#13;&#10;ON PEDI.CODIGO=PRO.CODIGO&#13;&#10;LEFT JOIN CADCOR_001 C&#13;&#10;ON PEDI.COR = C.COR                                                                  &#13;&#10;WHERE PEDI.NUMERO IN (:NUMERO)                  " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="708" Top="189">
      <Parameters>
        <item Name="NUMERO" DataType="ftString" Expression="&#60;tbRelatorio.&#34;NUMERO&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qryPedidoCapa" UserName="qryPedidoCapa" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="tbRelatorio" IgnoreDupParams="False" SQL.Text="SELECT &#13;&#10;PED.CODCLI, ENT.CNPJ, PED.CLI_BAIRRO, PED.CLI_CEP, PED.CLI_COMPL, PED.CLI_DDD, PED.CLI_FONE, PED.CLI_END, PED.CLI_NUM, PED.PGTO, PED.PED_CLI, ENT.EMAIL,                                      &#13;&#10;PED.CODREP, REP.NOME AS REP_NOME, PED.DESCONTO, PED.FRETE, PED.PER_DESC, PED.PERC_DESC_EMPENHO, PED.VAL_DESC_EMPENHO, PED.CIF, PED.REDESP_CIF, PED.STATUS, ST.DESCRICAO, &#13;&#10;PED.TAB_TRANS, TAB.NOME AS TRANSPORTADORA_NOME, CID.NOME AS CIDADE, CID.COD_UF&#13;&#10;FROM PEDIDO_001 PED&#13;&#10;LEFT JOIN SITPROD_001 ST    &#13;&#10;ON PED.STATUS = ST.CODIGO&#13;&#10;LEFT JOIN TABTRAN_001 TAB           &#13;&#10;ON PED.TAB_TRANS = TAB.CODIGO&#13;&#10;LEFT JOIN REPRESEN_001 REP&#13;&#10;ON PED.CODREP=REP.CODREP&#13;&#10;LEFT JOIN ENTIDADE_001 ENT&#13;&#10;ON PED.CODCLI=ENT.CODCLI&#13;&#10;LEFT JOIN CADCEP_001 CEPC&#13;&#10;ON PED.CLI_CEP = CEPC.CEP&#13;&#10;LEFT JOIN CIDADE CID&#13;&#10;ON CEPC.CODMUN=CID.CODIGO                                                               &#13;&#10;WHERE PED.NUMERO IN (:NUMERO)                                                                                                 " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="775" Top="189">
      <Parameters>
        <item Name="NUMERO" DataType="ftString" Expression="&#60;tbRelatorio.&#34;NUMERO&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="qryRegiao" UserName="qryRegiao" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT REGIAO, DESCRICAO FROM REGIAO_001 WHERE REGIAO IN (:TAB_PRECO)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="836" Top="189">
      <Parameters>
        <item Name="TAB_PRECO" DataType="ftInteger" Expression="&#60;tbRelatorio.&#34;TAB_PRE&#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="">
    <TfrxDetailData Name="DetailData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="26,45671" Left="0" Top="498,89796" Width="718,1107" ColumnWidth="0" ColumnGap="0" DataSet="qryPedIten" DataSetName="qryPedIten" RowCount="0">
      <TfrxMemoView Name="Memo9" AllowVectorExport="True" Left="561,22047" Top="2" Width="38,28355" Height="11,33859" DataField="QTDE" DataSet="qryPedIten" DataSetName="qryPedIten" DisplayFormat.FormatStr="%2.0n" 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" WordWrap="False" VAlign="vaCenter" Text="[qryPedIten.&#34;QTDE&#34;]"/>
      <TfrxMemoView Name="Memo11" AllowVectorExport="True" Left="474,22047" Top="2" Width="30,81107" Height="11,33859" DataField="TAM" DataSet="qryPedIten" DataSetName="qryPedIten" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[qryPedIten.&#34;TAM&#34;]"/>
      <TfrxMemoView Name="Memo12" AllowVectorExport="True" Left="648,22047" Top="2" Width="64,74026" Height="11,33859" DisplayFormat.FormatStr="%2.2m" 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" WordWrap="False" VAlign="vaCenter" Text="[&#60;qryPedIten.&#34;PRECO&#34;&#62; * &#60;qryPedIten.&#34;QTDE_ORIG&#34;&#62;]"/>
      <TfrxMemoView Name="Memo51" AllowVectorExport="True" Left="64,22047" Top="2" Width="287,81911" Height="11,33859" DataField="DESCRICAO" DataSet="qryPedIten" DataSetName="qryPedIten" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[qryPedIten.&#34;DESCRICAO&#34;]"/>
      <TfrxMemoView Name="Memo52" AllowVectorExport="True" Left="508,22047" Top="2" Width="49,70872" Height="11,33859" DataField="PRECO" DataSet="qryPedIten" DataSetName="qryPedIten" DisplayFormat.FormatStr="%2.2m" 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" WordWrap="False" VAlign="vaCenter" Text="[qryPedIten.&#34;PRECO&#34;]"/>
      <TfrxMemoView Name="Memo54" AllowVectorExport="True" Left="603,22047" Top="2" Width="42,06308" Height="11,33859" DataField="QTDE_F" DataSet="qryPedIten" DataSetName="qryPedIten" DisplayFormat.FormatStr="%2.0n" 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" WordWrap="False" VAlign="vaCenter" Text="[qryPedIten.&#34;QTDE_F&#34;]"/>
      <TfrxMemoView Name="Memo50" AllowVectorExport="True" Left="1" Top="2" Width="61,04731" Height="11,33859" DataField="CODIGO" DataSet="qryPedIten" DataSetName="qryPedIten" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[qryPedIten.&#34;CODIGO&#34;]"/>
      <TfrxMemoView Name="Memo10" AllowVectorExport="True" Left="355,22047" Top="2" Width="113,96073" Height="11,33859" DataField="DESCRICAO_COR" DataSet="qryPedIten" DataSetName="qryPedIten" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[qryPedIten.&#34;DESCRICAO_COR&#34;]"/>
    </TfrxDetailData>
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="275,68491" Left="0" Top="162,51979" Width="718,1107" Condition="tbRelatorio.&#34;NUMERO&#34;" StartNewPage="True">
      <TfrxShapeView Name="Shape2" AllowVectorExport="True" Left="0" Top="18" Width="718,1107" Height="18,89765" Fill.BackColor="-16777201" Frame.Typ="0" Shape="skRoundRectangle"/>
      <TfrxMemoView Name="Memo22" AllowVectorExport="True" Left="155,252165" Top="18" Width="407,60637" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="INFORMAÇÕES DO CLIENTE"/>
      <TfrxMemoView Name="Memo24" AllowVectorExport="True" Left="0" Top="0" Width="78,81107" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Nº PEDIDO: "/>
      <TfrxMemoView Name="Memo8" AllowVectorExport="True" Left="77,16543" Top="0" Width="71,70872" Height="17,33859" AutoWidth="True" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;NUMERO&#34;]"/>
      <TfrxMemoView Name="Memo27" AllowVectorExport="True" Left="0" Top="38" Width="49,26778" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Cliente: "/>
      <TfrxMemoView Name="Memo28" AllowVectorExport="True" Left="0" Top="58" Width="41,57483" Height="16,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="CNPJ:"/>
      <TfrxMemoView Name="Memo18" AllowVectorExport="True" Left="0" Top="77" Width="64,25201" Height="16,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Endereço: "/>
      <TfrxMemoView Name="Memo20" AllowVectorExport="True" Left="357" Top="58" Width="47,60637" Height="16,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Cidade: "/>
      <TfrxMemoView Name="Memo21" AllowVectorExport="True" Left="357" Top="38" Width="56,60637" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Telefone: "/>
      <TfrxMemoView Name="Memo23" AllowVectorExport="True" Left="357" Top="77" Width="39,82684" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Email: "/>
      <TfrxShapeView Name="Shape1" AllowVectorExport="True" Left="0" Top="99,56679" Width="718,1107" Height="18,89765" Fill.BackColor="-16777201" Frame.Typ="0" Shape="skRoundRectangle"/>
      <TfrxMemoView Name="Memo29" AllowVectorExport="True" Left="155,252165" Top="99,56679" Width="407,60637" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="INFORMAÇÕES DO PEDIDO"/>
      <TfrxMemoView Name="Memo30" AllowVectorExport="True" Left="0" Top="120,56679" Width="122,04731" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Emissão do Pedido:"/>
      <TfrxMemoView Name="Memo31" AllowVectorExport="True" Left="0" Top="158,56679" Width="98,04731" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Transportadora: "/>
      <TfrxMemoView Name="Memo33" AllowVectorExport="True" Left="0" Top="178,56679" Width="40,04731" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Frete: "/>
      <TfrxMemoView Name="Memo34" AllowVectorExport="True" Left="0" Top="139,56679" Width="93,04731" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Representante: "/>
      <TfrxMemoView Name="Memo35" AllowVectorExport="True" Left="356" Top="120,56679" Width="98,04731" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Prazo Entrega: "/>
      <TfrxMemoView Name="Memo36" AllowVectorExport="True" Left="485" Top="218,56679" Width="96,26778" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Pedido Cliente: "/>
      <TfrxMemoView Name="Memo37" AllowVectorExport="True" Left="356" Top="139,56679" Width="103,26778" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Tabela de Preço:"/>
      <TfrxMemoView Name="Memo38" AllowVectorExport="True" Left="356" Top="158,56679" Width="95,26778" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Cond de Pagto: "/>
      <TfrxMemoView Name="Memo39" AllowVectorExport="True" Left="356" Top="178,56679" Width="64,26778" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Desconto: "/>
      <TfrxMemoView Name="Memo41" AllowVectorExport="True" Left="0" Top="218,56679" Width="109,26778" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Status do Pedido: "/>
      <TfrxShapeView Name="Shape3" AllowVectorExport="True" Left="0" Top="236,56679" Width="718,1107" Height="18,89765" Fill.BackColor="-16777201" Frame.Typ="0" Shape="skRoundRectangle"/>
      <TfrxMemoView Name="Memo42" AllowVectorExport="True" Left="155,252165" Top="236,56679" Width="407,60637" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="ITENS DO PEDIDO"/>
      <TfrxMemoView Name="Memo43" AllowVectorExport="True" Left="0" Top="257,56679" Width="61,04731" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Código"/>
      <TfrxMemoView Name="Memo44" AllowVectorExport="True" Left="67" Top="257,56679" Width="287,81911" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Descrição"/>
      <TfrxMemoView Name="Memo45" AllowVectorExport="True" Left="358" Top="257,56679" Width="113,96073" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Cor"/>
      <TfrxMemoView Name="Memo46" AllowVectorExport="True" Left="477" Top="257,56679" Width="30,81107" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" WordWrap="False" Text="Tam"/>
      <TfrxMemoView Name="Memo48" AllowVectorExport="True" Left="511" Top="257,56679" Width="49,70872" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" WordWrap="False" Text="Preço"/>
      <TfrxMemoView Name="Memo47" AllowVectorExport="True" Left="564" Top="257,56679" Width="38,28355" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" WordWrap="False" Text="Qtde"/>
      <TfrxMemoView Name="Memo49" AllowVectorExport="True" Left="651" Top="257,56679" Width="64,74026" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" WordWrap="False" Text="Valor"/>
      <TfrxMemoView Name="Memo53" AllowVectorExport="True" Left="606" Top="257,56679" Width="42,06308" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" WordWrap="False" Text="Qtde F"/>
      <TfrxMemoView Name="Memo55" AllowVectorExport="True" Left="50" Top="38" Width="301,07885" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[tbRelatorio.&#34;CODCLI&#34;] - [tbRelatorio.&#34;NOME&#34;]"/>
      <TfrxMemoView Name="Memo56" AllowVectorExport="True" Left="44" Top="58" Width="208,00804" Height="16,33859" DataField="CNPJ" DataSet="qryPedidoCapa" DataSetName="qryPedidoCapa" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[qryPedidoCapa.&#34;CNPJ&#34;]"/>
      <TfrxMemoView Name="Memo57" AllowVectorExport="True" Left="67" Top="77" Width="284,85838" Height="16,33859" DataField="CLI_END" DataSet="qryPedidoCapa" DataSetName="qryPedidoCapa" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[qryPedidoCapa.&#34;CLI_END&#34;]"/>
      <TfrxMemoView Name="Memo58" AllowVectorExport="True" Left="417" Top="38" Width="211,78757" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="([qryPedidoCapa.&#34;CLI_DDD&#34;]) - [qryPedidoCapa.&#34;CLI_FONE&#34;]"/>
      <TfrxMemoView Name="Memo59" AllowVectorExport="True" Left="409" Top="58" Width="223,12616" Height="16,33859" DataSet="qryPedidoCapa" DataSetName="qryPedidoCapa" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[qryPedidoCapa.&#34;CIDADE&#34;]/[qryPedidoCapa.&#34;COD_UF&#34;]"/>
      <TfrxMemoView Name="Memo60" AllowVectorExport="True" Left="400" Top="77" Width="234,46475" Height="17,33859" DataField="EMAIL" DataSet="qryPedidoCapa" DataSetName="qryPedidoCapa" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[qryPedidoCapa.&#34;EMAIL&#34;]"/>
      <TfrxMemoView Name="Memo61" AllowVectorExport="True" Left="125" Top="120,56679" Width="230,68522" Height="17,33859" DataField="DT_EMISSAO" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[tbRelatorio.&#34;DT_EMISSAO&#34;]"/>
      <TfrxMemoView Name="Memo62" AllowVectorExport="True" Left="97" Top="139,56679" Width="230,68522" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[qryPedidoCapa.&#34;CODREP&#34;] - [qryPedidoCapa.&#34;REP_NOME&#34;]"/>
      <TfrxMemoView Name="Memo65" AllowVectorExport="True" Left="100" Top="158,56679" Width="230,68522" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[qryPedidoCapa.&#34;TAB_TRANS&#34;] - [qryPedidoCapa.&#34;TRANSPORTADORA_NOME&#34;]"/>
      <TfrxMemoView Name="Memo66" AllowVectorExport="True" Left="44" Top="178,56679" Width="305,68522" Height="17,33859" DataSet="qryPedidoCapa" DataSetName="qryPedidoCapa" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" WordWrap="False" Text="[IIF(&#60;qryPedidoCapa.&#34;CIF&#34;&#62; = '0', '0 - Contratação do Frete por conta do Remetente(CIF)', IIF(&#60;qryPedidoCapa.&#34;CIF&#34;&#62; = '1', '1 - Contratação do Frete por Conta do Destinatário (FOB)', IIF(&#60;qryPedidoCapa.&#34;CIF&#34;&#62; = '2', '2 - Contratação do Frete por conta de Terceiros', IIF(&#60;qryPedidoCapa.&#34;CIF&#34;&#62; = '3', '3 - Transporte Próprio por conta do Remetente', IIF(&#60;qryPedidoCapa.&#34;CIF&#34;&#62; = '4', '4 - Transporte Próprio por conta do Destinatário', '9 - Sem Ocorrência de Transporte')))))]"/>
      <TfrxMemoView Name="Memo67" AllowVectorExport="True" Left="113" Top="218,56679" Width="366,7483" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[qryPedidoCapa.&#34;STATUS&#34;] - [qryPedidoCapa.&#34;DESCRICAO&#34;]"/>
      <TfrxMemoView Name="Memo68" AllowVectorExport="True" Left="457" Top="120,56679" Width="189,11039" Height="17,33859" DataField="ENTREGA" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[tbRelatorio.&#34;ENTREGA&#34;]"/>
      <TfrxMemoView Name="Memo69" AllowVectorExport="True" Left="460" Top="139,56679" Width="189,11039" Height="17,33859" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[tbRelatorio.&#34;TAB_PRE&#34;] - [ &#60;qryRegiao.&#34;DESCRICAO&#34;&#62;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo70" AllowVectorExport="True" Left="453" Top="158,56679" Width="260,11039" Height="17,33859" DataField="PGTO" DataSet="qryPedidoCapa" DataSetName="qryPedidoCapa" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[qryPedidoCapa.&#34;PGTO&#34;]"/>
      <TfrxMemoView Name="Memo71" AllowVectorExport="True" Left="422" Top="178,56679" Width="189,11039" Height="17,33859" DataField="PER_DESC" DataSet="qryPedidoCapa" DataSetName="qryPedidoCapa" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[qryPedidoCapa.&#34;PER_DESC&#34;]"/>
      <TfrxMemoView Name="Memo73" AllowVectorExport="True" Left="585" Top="218,56679" Width="124,85838" Height="17,33859" DataField="PED_CLI" DataSet="qryPedidoCapa" DataSetName="qryPedidoCapa" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[qryPedidoCapa.&#34;PED_CLI&#34;]"/>
      <TfrxMemoView Name="Memo79" AllowVectorExport="True" Left="0" Top="197,56679" Width="89,1812" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Valor do Frete: "/>
      <TfrxMemoView Name="Memo80" AllowVectorExport="True" Left="91" Top="197,56679" Width="74,26778" Height="17,33859" DataField="FRETE" DataSet="qryPedidoCapa" DataSetName="qryPedidoCapa" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[qryPedidoCapa.&#34;FRETE&#34;]"/>
    </TfrxGroupHeader>
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="15,11812" Left="0" Top="461,10266" Width="718,1107" ColumnWidth="0" ColumnGap="0" DataSet="tbRelatorio" DataSetName="tbRelatorio" KeepTogether="True" RowCount="0" Stretched="True"/>
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="17,11812" Left="0" Top="646,29963" 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="[&#60;Page#&#62;] / [TotalPages#]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
    </TfrxPageFooter>
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="81,45671" Left="0" Top="18,89765" Width="718,1107">
      <TfrxMemoView Name="Memo4" AllowVectorExport="True" Left="0" Top="39,45671" 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 PEDIDO"/>
      <TfrxMemoView Name="tbEmpresaEMP_NOME" AllowVectorExport="True" Left="114,94496" Top="18,67718" 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>
      <TfrxPictureView Name="Picture1" AllowVectorExport="True" Left="2,22047" Top="0" Width="109,60637" Height="73,03154" Center="True" DataField="EMP_LOGO" DataSet="qryEmpresa" DataSetName="qryEmpresa" Frame.Typ="0" HightQuality="True" Transparent="False" TransparentColor="16777215"/>
      <TfrxMemoView Name="Memo64" AllowVectorExport="True" Left="3" Top="-5,89765" Width="49,26778" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" WordWrap="False" Text=""/>
    </TfrxPageHeader>
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="38,7953" Left="0" Top="548,03185" Width="718,1107">
      <TfrxMemoView Name="Memo78" AllowVectorExport="True" Left="563" Top="0,51144" Width="155,09462" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Style="fsDot" Frame.Typ="4" Frame.Width="0,5" ParentFont="False" WordWrap="False" Text=""/>
      <TfrxMemoView Name="Memo74" AllowVectorExport="True" Left="448,54329" Top="1,51144" Width="103,26778" Height="17,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="Totais do Pedido:"/>
      <TfrxMemoView Name="Memo75" AllowVectorExport="True" Left="564" Top="2,51144" Width="38,28355" Height="17,33859" DisplayFormat.FormatStr="%2.0n" 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" WordWrap="False" Text="[SUM(&#60;qryPedIten.&#34;QTDE&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo76" AllowVectorExport="True" Left="606" Top="1,51144" Width="42,06308" Height="17,33859" DisplayFormat.FormatStr="%2.0n" 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" WordWrap="False" Text="[SUM(&#60;qryPedIten.&#34;QTDE_F&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo77" AllowVectorExport="True" Left="651" Top="1,51144" Width="64,74026" Height="17,33859" DisplayFormat.FormatStr="%2.2m" 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" WordWrap="False" Text="[SUM(&#60;qryPedIten.&#34;PRECO&#34;&#62;*&#60;qryPedIten.&#34;QTDE_ORIG&#34;&#62;,MasterData1)]"/>
    </TfrxGroupFooter>
  </TfrxReportPage>
</TfrxReport>
