<?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="45114,6004422454" 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"/>
  </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="'_001'"/>
    <item Name="Layout" Value="'RelRankProdutoQtde.FR3'"/>
    <item Name="PastaFotos" Value="''"/>
    <item Name="Usuario" Value="'SISPLAN'"/>
    <item Name="emp_id" Value="'1'"/>
    <item Name="EMISSAOATE" Value="'2022-06-29'"/>
    <item Name="RADIONFCE" Value="''"/>
    <item Name="TELA_ORDENACAO" Value="'RelRankLoja'"/>
    <item Name="CLIENTE" Value="''"/>
    <item Name="RADIOOP" Value="''"/>
    <item Name="ORDEM_ORDENACAO" Value="'5'"/>
    <item Name="VENDEDOR" Value="''"/>
    <item Name="CAIXAECF" Value="''"/>
    <item Name="EMISSAODE" Value="'2022-06-28'"/>
    <item Name="FORNECEDOR" Value="''"/>
    <item Name="TABELA" Value="''"/>
    <item Name="DEPOSITO" Value="''"/>
    <item Name="DEVOLVIDO" Value="''"/>
    <item Name="GRUPO" Value="''"/>
    <item Name="CODIGO" Value="''"/>
    <item Name="TIPOPRODUTO" Value="''"/>
    <item Name="EMP_IDS" Value="''"/>
    <item Name="EMITIDO" Value="''"/>
    <item Name="SUBGRUPO" Value="''"/>
    <item Name="MARCA" Value="''"/>
    <item Name="ETIQUETA" Value="''"/>
    <item Name="COLECAO" Value="''"/>
    <item Name="PENDENTE" Value="''"/>
    <item Name="DATAINI" Value="'2023-07-07'"/>
    <item Name="DATAFIM" Value="'2023-07-07'"/>
    <item Name="USAMATERIAL" Value="''"/>
    <item Name="GUIA" Value="''"/>
    <item Name="USR_CAIXA" 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;CharacterSet=UTF8&#13;&#10;ApplicationName=C:\Sistema\Sisplan\apiWeb.exe" LoginPrompt="False" Connected="false" PropData="05704C65667402280470546F700214"/>
    <TfrxFDQuery Name="QryEmpresa" UserName="QryEmpresa" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT * FROM EMPRESA WHERE EMP_ID = :EMP_ID  " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="120" Top="156">
      <Parameters>
        <item Name="EMP_ID" DataType="ftInteger" Expression="&#60;emp_id&#62;"/>
      </Parameters>
    </TfrxFDQuery>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="5" RightMargin="5" TopMargin="5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" MirrorMode="0" HGuides.Text="" VGuides.Text="">
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="15,11812" Left="0" Top="461,10266" Width="755,906">
      <TfrxMemoView Name="Memo1" AllowVectorExport="True" Left="0" Top="3,77953" Width="755,906" Height="11,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="4" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Sisplan Sistemas e Planejamento LTDA - (47) 3380-6100 - www.sisplansistemas.com.br"/>
      <TfrxMemoView Name="Memo25" AllowVectorExport="True" Left="0" Top="3,77953" Width="347,71676" Height="11,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="[Page#]/[TotalPages#]"/>
    </TfrxPageFooter>
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="96,57483" Left="0" Top="18,89765" Width="755,906">
      <TfrxMemoView Name="Memo4" AllowVectorExport="True" Left="0" Top="48,35436" Width="755,906" 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 RANKING POR PRODUTO (QTDE)"/>
      <TfrxMemoView Name="tbEmpresaEMP_NOME" AllowVectorExport="True" Left="128,50402" Top="18,89765" 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="6,22047" Top="0" Width="105,82684" Height="68,03154" Center="True" DataField="EMP_LOGO" DataSet="QryEmpresa" DataSetName="QryEmpresa" Frame.Typ="0" HightQuality="True" Transparent="False" TransparentColor="16777215"/>
    </TfrxPageHeader>
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="0" Left="0" Top="275,90569" Width="755,906" ColumnWidth="0" ColumnGap="0" DataSet="tbRelatorio" DataSetName="tbRelatorio" RowCount="0" Stretched="True"/>
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="30,23624" Left="0" Top="222,99227" Width="755,906" Condition="&#60;tbRelatorio.&#34;CODIGO&#34;&#62;+&#60;tbRelatorio.&#34;COR&#34;&#62;">
      <TfrxMemoView Name="Memo37" AllowVectorExport="True" Left="0" Top="8" Width="755,906" Height="11,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Style="fsDot" Frame.Typ="8" Frame.Width="0,5" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="tbRelatorioCODIGO" IndexTag="1" AllowVectorExport="True" Left="1,55906" Top="0" Width="215,43321" Height="15,11812" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[tbRelatorio.&#34;CODIGO&#34;] - [tbRelatorio.&#34;DESC_PRODUTO&#34;]  "/>
      <TfrxMemoView Name="Memo22" AllowVectorExport="True" Left="375,88992" Top="0" Width="34,01577" Height="15,11812" DataField="QTDE1" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" HideZeros="True" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;QTDE1&#34;]"/>
      <TfrxMemoView Name="Memo23" AllowVectorExport="True" Left="409,90569" Top="0" Width="34,01577" Height="15,11812" DataField="QTDE2" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" HideZeros="True" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;QTDE2&#34;]"/>
      <TfrxMemoView Name="Memo24" AllowVectorExport="True" Left="443,92146" Top="0" Width="34,01577" Height="15,11812" DataField="QTDE3" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" HideZeros="True" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;QTDE3&#34;]"/>
      <TfrxMemoView Name="Memo27" AllowVectorExport="True" Left="477,93723" Top="0" Width="34,01577" Height="15,11812" DataField="QTDE4" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" HideZeros="True" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;QTDE4&#34;]"/>
      <TfrxMemoView Name="Memo28" AllowVectorExport="True" Left="511,953" Top="0" Width="34,01577" Height="15,11812" DataField="QTDE5" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" HideZeros="True" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;QTDE5&#34;]"/>
      <TfrxMemoView Name="Memo29" AllowVectorExport="True" Left="545,96877" Top="0" Width="34,01577" Height="15,11812" DataField="QTDE6" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" HideZeros="True" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;QTDE6&#34;]"/>
      <TfrxMemoView Name="Memo36" AllowVectorExport="True" Left="646,29963" Top="0" Width="90,70872" Height="15,11812" DataField="VALOR" DataSet="tbRelatorio" DataSetName="tbRelatorio" 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" HideZeros="True" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;VALOR&#34;]"/>
      <TfrxMemoView Name="Memo35" AllowVectorExport="True" Left="589,60668" Top="0" Width="56,69295" Height="15,11812" DataField="QUANTIDADE" DataSet="tbRelatorio" DataSetName="tbRelatorio" 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" HideZeros="True" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;QUANTIDADE&#34;]"/>
      <TfrxMemoView Name="Memo30" AllowVectorExport="True" Left="222,99227" Top="0" Width="143,62214" Height="15,11812" DataSet="tbRelatorio" DataSetName="tbRelatorio" 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" HideZeros="True" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;DESC_COR&#34;]"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="0" Left="0" Top="298,58287" Width="755,906" Stretched="True"/>
    <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="177,63791" Width="755,906" Condition="tbRelatorio.&#34;FAIXA&#34;" ReprintOnNewPage="True">
      <TfrxShapeView Name="Shape1" AllowVectorExport="True" Left="0" Top="0" Width="755,906" Height="15,11812" Fill.BackColor="15000804" Frame.Typ="0" Shape="skRoundRectangle"/>
      <TfrxMemoView Name="Memo8" AllowVectorExport="True" Left="2,55906" Top="2" Width="215,43321" Height="11,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Produto"/>
      <TfrxMemoView Name="Memo11" AllowVectorExport="True" Left="376,88992" Top="2" Width="34,01577" Height="11,33859" DataField="TAM1" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" HideZeros="True" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;TAM1&#34;]"/>
      <TfrxMemoView Name="Memo12" AllowVectorExport="True" Left="410,90569" Top="2" Width="34,01577" Height="11,33859" DataField="TAM2" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" HideZeros="True" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;TAM2&#34;]"/>
      <TfrxMemoView Name="Memo26" AllowVectorExport="True" Left="444,92146" Top="2" Width="34,01577" Height="11,33859" DataField="TAM3" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" HideZeros="True" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;TAM3&#34;]"/>
      <TfrxMemoView Name="Memo38" AllowVectorExport="True" Left="478,93723" Top="2" Width="34,01577" Height="11,33859" DataField="TAM4" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" HideZeros="True" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;TAM4&#34;]"/>
      <TfrxMemoView Name="Memo39" AllowVectorExport="True" Left="512,953" Top="2" Width="34,01577" Height="11,33859" DataField="TAM5" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" HideZeros="True" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;TAM5&#34;]"/>
      <TfrxMemoView Name="Memo40" AllowVectorExport="True" Left="546,96877" Top="2" Width="34,01577" Height="11,33859" DataField="TAM6" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" HideZeros="True" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;TAM6&#34;]"/>
      <TfrxMemoView Name="Memo10" AllowVectorExport="True" Left="647,29963" Top="2" Width="90,70872" Height="11,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Valor"/>
      <TfrxMemoView Name="Memo9" AllowVectorExport="True" Left="590,60668" Top="2" Width="56,69295" Height="11,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Qtde"/>
      <TfrxMemoView Name="Memo31" AllowVectorExport="True" Left="223,99227" Top="2" Width="143,62214" Height="11,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Cor"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="11,33859" Left="0" Top="321,26005" Width="755,906"/>
    <TfrxReportSummary Name="ReportSummary1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="45,35436" Left="0" Top="393,07112" Width="755,906">
      <TfrxMemoView Name="Memo34" AllowVectorExport="True" Left="597,16574" Top="0" Width="68,03154" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Total Qtde:"/>
      <TfrxMemoView Name="Memo45" AllowVectorExport="True" Left="665,19728" Top="0" Width="83,14966" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HideZeros="True" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;tbRelatorio.&#34;QUANTIDADE&#34;&#62;,MasterData1,1)]"/>
      <TfrxMemoView Name="Memo46" AllowVectorExport="True" Left="593,38621" Top="18,89765" Width="71,81107" Height="18,89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Total Valor:"/>
      <TfrxMemoView Name="Memo47" AllowVectorExport="True" Left="665,19728" Top="18,89765" Width="83,14966" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HideZeros="True" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;tbRelatorio.&#34;VALOR&#34;&#62;,MasterData1,1)]"/>
    </TfrxReportSummary>
  </TfrxReportPage>
</TfrxReport>
