<?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.Printer="Padrão" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="43487,3236286458" ReportOptions.Description.Text="" ReportOptions.LastChange="45012,6280220833" ScriptLanguage="PascalScript" ScriptText.Text="Var&#13;&#10;ValTot : Double;&#13;&#10;procedure Memo11OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if not engine.finalpass then&#13;&#10;  ValTot := ValTot +(SUM(&#60;tbRelatorio.&#34;QTDE1&#34;&#62;+&#60;tbRelatorio.&#34;QTDE2&#34;&#62;+&#60;tbRelatorio.&#34;QTDE3&#34;&#62;+&#60;tbRelatorio.&#34;QTDE4&#34;&#62;+&#60;tbRelatorio.&#34;QTDE5&#34;&#62;+&#60;tbRelatorio.&#34;QTDE6&#34;&#62;+&#60;tbRelatorio.&#34;QTDE7&#34;&#62;+&#60;tbRelatorio.&#34;QTDE8&#34;&#62;+&#60;tbRelatorio.&#34;QTDE9&#34;&#62;+&#60;tbRelatorio.&#34;QTDE10&#34;&#62;+&#60;tbRelatorio.&#34;QTDE11&#34;&#62;+&#60;tbRelatorio.&#34;QTDE12&#34;&#62;+&#60;tbRelatorio.&#34;QTDE13&#34;&#62;+&#60;tbRelatorio.&#34;QTDE14&#34;&#62;,MasterData1))&#13;&#10;  else&#13;&#10;  memo11.text := formatfloat (',0.00',(SUM(&#60;tbRelatorio.&#34;QTDE1&#34;&#62;+&#60;tbRelatorio.&#34;QTDE2&#34;&#62;+&#60;tbRelatorio.&#34;QTDE3&#34;&#62;+&#60;tbRelatorio.&#34;QTDE4&#34;&#62;+&#60;tbRelatorio.&#34;QTDE5&#34;&#62;+&#60;tbRelatorio.&#34;QTDE6&#34;&#62;+&#60;tbRelatorio.&#34;QTDE7&#34;&#62;+&#60;tbRelatorio.&#34;QTDE8&#34;&#62;+&#60;tbRelatorio.&#34;QTDE9&#34;&#62;+&#60;tbRelatorio.&#34;QTDE10&#34;&#62;+&#60;tbRelatorio.&#34;QTDE11&#34;&#62;+&#60;tbRelatorio.&#34;QTDE12&#34;&#62;+&#60;tbRelatorio.&#34;QTDE13&#34;&#62;+&#60;tbRelatorio.&#34;QTDE14&#34;&#62;,MasterData1)/ValTot)*100)+ '%';&#13;&#10;&#13;&#10;end;&#13;&#10;&#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="'_004'"/>
    <item Name="Layout" Value="'RelRankProdutoQtde.FR3'"/>
    <item Name="PastaFotos" Value="'\\192.168.25.190\Sisplan\Foto'"/>
    <item Name="Usuario" Value="'SISPLAN'"/>
    <item Name="emp_id" Value="'4'"/>
    <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-03-01'"/>
    <item Name="DATAFIM" Value="'2023-03-27'"/>
    <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="FB" DatabaseName="C:\Sisplan\Base\13459F.FDB" Params.Text="Protocol=TCPIP&#13;&#10;Database=C:\Sisplan\Base\13459F.FDB&#13;&#10;Server=192.168.25.190&#13;&#10;Port=3051&#13;&#10;user_name=SYSDBA&#13;&#10;password=masterkey&#13;&#10;MonitorBy=Remote&#13;&#10;DriverID=FB&#13;&#10;CharacterSet=UTF8" LoginPrompt="False" Connected="false" PropData="05704C65667402280470546F700214"/>
    <TfrxFDQuery Name="QryEmpresa" UserName="QryEmpresa" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="SELECT * FROM EMPRESA WHERE EMP_ID = :EMP_ID  " MacroCreate="True" MacroExpand="True" ReadOnly="False" Database="Conexao" Left="120" Top="156">
      <Parameters>
        <item Name="EMP_ID" DataType="ftInteger" Expression="&#60;emp_id&#62;"/>
      </Parameters>
    </TfrxFDQuery>
  </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="396,85065" Width="755,906">
      <TfrxMemoView Name="Memo1" AllowVectorExport="True" Left="0" Top="3,77953" Width="325,03958" Height="11,33859" Font.Charset="1" Font.Color="-16777208" Font.Height="-8" Font.Name="Arial" Font.Style="0" Frame.Typ="4" ParentFont="False" VAlign="vaCenter" Text="Sisplan Sistemas e Planejamento LTDA - (47) 3380-6100 - www.sisplansistemas.com.br"/>
      <TfrxMemoView Name="Memo25" AllowVectorExport="True" Left="325,03958" Top="3,77953" Width="430,86642" 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="[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">
      <TfrxShapeView Name="Shape1" AllowVectorExport="True" Left="0" Top="-0,22047" Width="755,906" Height="90,70872" Frame.Typ="0" Shape="skRoundRectangle"/>
      <TfrxMemoView Name="Memo4" AllowVectorExport="True" Left="0" Top="37,01577" 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="7,55906" 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="10" Top="15,11812" Width="105,82684" Height="68,03154" Center="True" DataField="EMP_LOGO" DataSet="QryEmpresa" DataSetName="QryEmpresa" Frame.Typ="0" HightQuality="True" Transparent="False" TransparentColor="16777215"/>
      <TfrxMemoView Name="Date" IndexTag="1" AllowVectorExport="True" Left="634,96104" Top="0" Width="117,16543" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Date]"/>
      <TfrxMemoView Name="Memo14" IndexTag="1" AllowVectorExport="True" Left="634,96104" Top="18,89765" Width="117,16543" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Time]"/>
      <TfrxMemoView Name="Memo15" IndexTag="1" AllowVectorExport="True" Left="634,96104" Top="37,7953" Width="117,16543" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[vUsuario]"/>
      <TfrxMemoView Name="Memo16" IndexTag="1" AllowVectorExport="True" Left="634,96104" Top="56,69295" Width="117,16543" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[vLayout]"/>
    </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="245,66945" Width="755,906" ColumnWidth="0" ColumnGap="0" DataSet="tbRelatorio" DataSetName="tbRelatorio" RowCount="0" Stretched="True"/>
    <TfrxHeader Name="Header1" 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">
      <TfrxMemoView Name="Memo2" IndexTag="1" AllowVectorExport="True" Left="0" Top="0" Width="113,3859" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="13421772" ParentFont="False" Text="Código"/>
      <TfrxMemoView Name="Memo5" IndexTag="1" AllowVectorExport="True" Left="113,3859" Top="0" Width="377,953" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="13421772" ParentFont="False" Text="Descrição"/>
      <TfrxMemoView Name="Memo6" IndexTag="1" AllowVectorExport="True" Left="491,3389" Top="0" Width="90,70872" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="13421772" HAlign="haCenter" ParentFont="False" Text="Qtde"/>
      <TfrxMemoView Name="Memo7" IndexTag="1" AllowVectorExport="True" Left="582,04762" Top="0" Width="109,60637" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="13421772" HAlign="haRight" ParentFont="False" Text="Valor"/>
      <TfrxMemoView Name="Memo10" IndexTag="1" AllowVectorExport="True" Left="691,65399" Top="0" Width="64,25201" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" Fill.BackColor="13421772" HAlign="haCenter" ParentFont="False" Text="%"/>
    </TfrxHeader>
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="0" Left="0" Top="222,99227" Width="755,906" Condition="tbRelatorio.&#34;CODIGO&#34;"/>
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="268,34663" Width="755,906">
      <TfrxMemoView Name="tbRelatorioCODIGO" IndexTag="1" AllowVectorExport="True" Left="0" Top="0" Width="113,3859" Height="18,89765" DataField="CODIGO" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[tbRelatorio.&#34;CODIGO&#34;]"/>
      <TfrxMemoView Name="tbRelatorioDESC_PRODUTO" IndexTag="1" AllowVectorExport="True" Left="113,3859" Top="0" Width="377,953" Height="18,89765" DataField="DESC_PRODUTO" DataSet="tbRelatorio" DataSetName="tbRelatorio" Frame.Typ="0" Text="[tbRelatorio.&#34;DESC_PRODUTO&#34;]"/>
      <TfrxMemoView Name="tbRelatorioQTDE1" IndexTag="1" AllowVectorExport="True" Left="491,3389" Top="0" Width="90,70872" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[SUM(&#60;tbRelatorio.&#34;QTDE1&#34;&#62;+&#60;tbRelatorio.&#34;QTDE2&#34;&#62;+&#60;tbRelatorio.&#34;QTDE3&#34;&#62;+&#60;tbRelatorio.&#34;QTDE4&#34;&#62;+&#60;tbRelatorio.&#34;QTDE5&#34;&#62;+&#60;tbRelatorio.&#34;QTDE6&#34;&#62;+&#60;tbRelatorio.&#34;QTDE7&#34;&#62;+&#60;tbRelatorio.&#34;QTDE8&#34;&#62;+&#60;tbRelatorio.&#34;QTDE9&#34;&#62;+&#60;tbRelatorio.&#34;QTDE10&#34;&#62;+&#60;tbRelatorio.&#34;QTDE11&#34;&#62;+&#60;tbRelatorio.&#34;QTDE12&#34;&#62;+&#60;tbRelatorio.&#34;QTDE13&#34;&#62;+&#60;tbRelatorio.&#34;QTDE14&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="tbRelatorioVALOR" IndexTag="1" AllowVectorExport="True" Left="582,04762" Top="0" Width="109,60637" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;tbRelatorio.&#34;vaLOR&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo11" IndexTag="1" AllowVectorExport="True" Left="691,65399" Top="0" Width="64,25201" Height="18,89765" OnBeforePrint="Memo11OnBeforePrint" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text=""/>
    </TfrxGroupFooter>
    <TfrxFooter Name="Footer1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="313,70099" Width="755,906">
      <TfrxMemoView Name="Memo8" IndexTag="1" AllowVectorExport="True" Left="491,3389" Top="0" Width="90,70872" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haCenter" ParentFont="False" Text="[SUM(&#60;tbRelatorio.&#34;QTDE1&#34;&#62;+&#60;tbRelatorio.&#34;QTDE2&#34;&#62;+&#60;tbRelatorio.&#34;QTDE3&#34;&#62;+&#60;tbRelatorio.&#34;QTDE4&#34;&#62;+&#60;tbRelatorio.&#34;QTDE5&#34;&#62;+&#60;tbRelatorio.&#34;QTDE6&#34;&#62;+&#60;tbRelatorio.&#34;QTDE7&#34;&#62;+&#60;tbRelatorio.&#34;QTDE8&#34;&#62;+&#60;tbRelatorio.&#34;QTDE9&#34;&#62;+&#60;tbRelatorio.&#34;QTDE10&#34;&#62;+&#60;tbRelatorio.&#34;QTDE11&#34;&#62;+&#60;tbRelatorio.&#34;QTDE12&#34;&#62;+&#60;tbRelatorio.&#34;QTDE13&#34;&#62;+&#60;tbRelatorio.&#34;QTDE14&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo9" IndexTag="1" AllowVectorExport="True" Left="582,04762" Top="0" Width="109,60637" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;tbRelatorio.&#34;vaLOR&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo12" IndexTag="1" AllowVectorExport="True" Left="691,65399" Top="0" Width="64,25201" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haCenter" ParentFont="False" Text="100 %"/>
      <TfrxMemoView Name="Memo13" IndexTag="1" AllowVectorExport="True" Left="400,63018" Top="0" Width="90,70872" Height="18,89765" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="Total Geral:"/>
    </TfrxFooter>
  </TfrxReportPage>
</TfrxReport>
