<?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="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="44813,6348224653" ReportOptions.Description.Text="" ReportOptions.LastChange="44814,4644932523" ScriptLanguage="PascalScript" ScriptText.Text="begin&#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="QryCliente" DataSetName="QryCliente"/>
    <item DataSet="QryRep" DataSetName="QryRep"/>
  </Datasets>
  <Variables>
    <item Name="Empresa" Value="'_003'"/>
    <item Name="Layout" Value="'imprimircupom.fr3'"/>
    <item Name="PastaFotos" Value="''"/>
    <item Name="Usuario" Value="'SISPLAN'"/>
    <item Name="emp_id" Value="'3'"/>
    <item Name="VENDA" Value="'26'"/>
    <item Name="VENDACUPOM" Value="''"/>
    <item Name="TELA_ORDENACAO" Value="''"/>
  </Variables>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxFDDatabase Name="Conexao" DriverName="SisplanMSSqlDB" DatabaseName="14182S" Params.Text="Protocol=TCPIP&#13;&#10;Database=14182S&#13;&#10;Server=172.16.1.12&#13;&#10;Port=1433&#13;&#10;user_name=Sisplan&#13;&#10;password=Osm,2020.&#13;&#10;MonitorBy=Remote&#13;&#10;DriverID=SisplanMSSqlDB&#13;&#10;ApplicationName=C:\Sistema\Sisplan\apiWeb.exe" LoginPrompt="False" Connected="false" PropData="05704C65667402000470546F700200"/>
    <TfrxFDQuery Name="QryEmpresa" UserName="QryEmpresa" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT * FROM EMPRESA WHERE EMP_ID='3'                                                                                                 " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="76" Top="40"/>
    <TfrxFDQuery Name="QryVenda" UserName="QryVenda" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="tbRelatorio" IgnoreDupParams="False" SQL.Text="SELECT * FROM VENDA_001 WHERE CODVEN = (:CODVEN)                                                                                                                                          " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="144" Top="40">
      <Parameters>
        <item Name="CODVEN" DataType="ftString" Expression="&#60;tbRelatorio.&#34;VENDA&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="QryCliente" UserName="QryCliente" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT * FROM ENTIDADE_001 WHERE CODCLI=:CODCLI                                                                                                                                    " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="228" Top="40">
      <Parameters>
        <item Name="CODCLI" DataType="ftString" Expression="&#60;QryVenda.&#34;CODCLI&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
    <TfrxFDQuery Name="QryRep" UserName="QryRep" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT * FROM ENTIDADE_001 WHERE CODCLI=:CODREP                                                                                                                                        " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="292" Top="40">
      <Parameters>
        <item Name="CODREP" DataType="ftString" Expression="&#60;QryVenda.&#34;CODREP&#34;&#62;"/>
      </Parameters>
    </TfrxFDQuery>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" PaperWidth="80" PaperHeight="297" PaperSize="256" LeftMargin="3" RightMargin="3" TopMargin="3" BottomMargin="3" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" MirrorMode="0" HGuides.Text="" VGuides.Text="">
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="86,92919" Left="0" Top="18,89765" Width="279,68522">
      <TfrxMemoView Name="Memo1" AllowVectorExport="True" Left="0" Top="-0,755906" Width="275,90569" Height="81,637848" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[QryEmpresa.&#34;EMP_FANTASIA&#34;]&#13;&#10;[&#60;QryEmpresa.&#34;EMP_ENDERECO&#34;&#62;],[&#60;QryEmpresa.&#34;EMP_NUMERO&#34;&#62;] &#13;&#10;BAIRRO: [&#60;QryEmpresa.&#34;EMP_BAIRRO&#34;&#62;] CEP: [&#60;QryEmpresa.&#34;EMP_CEP&#34;&#62;],[&#60;QryEmpresa.&#34;EMP_CIDADE&#34;&#62;],[QryEmpresa.&#34;EMP_ESTADO&#34;]&#13;&#10;CNPJ: [&#60;QryEmpresa.&#34;EMP_CNPJ&#34;&#62;]&#13;&#10;IE: [&#60;QryEmpresa.&#34;EMP_INSCRICAO&#34;&#62;]"/>
    </TfrxPageHeader>
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="185,19697" Left="0" Top="166,29932" Width="279,68522" ColumnWidth="0" ColumnGap="0" DataSet="tbRelatorio" DataSetName="tbRelatorio" RowCount="0" StartNewPage="True">
      <TfrxMemoView Name="tbRelatorioCODIGO" IndexTag="1" AllowVectorExport="True" Left="0" Top="45,35436" Width="321,26005" Height="26,45671" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;CODIGO&#34;]- [tbRelatorio.&#34;DESC_COR&#34;] - [tbRelatorio.&#34;TAM&#34;] - [tbRelatorio.&#34;QTDE&#34;]&#13;&#10;[tbRelatorio.&#34;DESCRICAO&#34;] ">
        <Formats>
          <item/>
          <item/>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo3" AllowVectorExport="True" Left="0" Top="0,755906" Width="278,173408" Height="47,622078" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="NÃO É DOCUMENTO FISCAL&#13;&#10;RELATÓRIO GERENCIAL&#13;&#10;CUPOM DE TROCA"/>
      <TfrxMemoView Name="Memo4" AllowVectorExport="True" Left="0" Top="75,5906" Width="278,173408" Height="54,425232" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="VENDA: [tbRelatorio.&#34;VENDA&#34;]&#13;&#10;VENDEDOR: [&#60;QryRep.&#34;CODCLI&#34;&#62;] - [&#60;QryRep.&#34;NOME&#34;&#62;]&#13;&#10;CLIENTE: [&#60;QryCliente.&#34;CODCLI&#34;&#62;] - [&#60;QryCliente.&#34;NOME&#34;&#62;]&#13;&#10;CPF/CNPJ: [QryCliente.&#34;CNPJ&#34;]"/>
      <TfrxMemoView Name="Memo5" AllowVectorExport="True" Left="0" Top="136,48825" Width="278,173408" Height="62,740198" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="ESTE PRODUTO SÓ PODERA SER TROCADO SE ESTIVER INTACTO E COM ESTE CUPOM DE TROCA&#13;&#10;O CUPOM FISCAL EQUIVALENTE O PRAZO DE 30 DIAS."/>
    </TfrxMasterData>
  </TfrxReportPage>
</TfrxReport>
