<?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="45121,2604653009" 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"/>
  </Datasets>
  <Variables>
    <item Name=" Sisplan"/>
    <item Name="Empresa" Value="'_001'"/>
    <item Name="Layout" Value="'EstoqueComercialSimplificado.FR3'"/>
    <item Name="PastaFotos" Value="'C:\Sisplan\Foto'"/>
    <item Name="Usuario" Value="'SISPLAN'"/>
    <item Name="emp_id" Value="'1'"/>
    <item Name="VENDA_DE" Value="'2023-01-01'"/>
    <item Name="DEPOSITO" Value="''"/>
    <item Name="VENDA_ATE" Value="'2023-04-12'"/>
    <item Name="TELA_ORDENACAO" Value="'EstoqueComercial'"/>
    <item Name="TAMANHO" Value="''"/>
    <item Name="COR" Value="''"/>
    <item Name="TEMPO_DE_VIDA_UTIL" Value="'60'"/>
    <item Name="EMPRESAS_FILTRO" Value="''"/>
    <item Name="ORDEM_IMPRESSAO" Value="''"/>
    <item Name="ETIQUETA" Value="''"/>
    <item Name="GRUPO" Value="''"/>
    <item Name="COLECAO" Value="''"/>
    <item Name="LINHA" Value="''"/>
    <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/11554F.FDB" Params.Text="Protocol=TCPIP&#13;&#10;Database=d:/dados/bases/11554F.FDB&#13;&#10;Server=172.20.10.204&#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="240" Top="300">
      <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="">
    <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="328,81911" Width="755,906" OnBeforePrint="MasterData1OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSet="tbRelatorio" DataSetName="tbRelatorio" RowCount="0" Stretched="True">
      <TfrxMemoView Name="Memo22" AllowVectorExport="True" Left="0" Top="3,77953" Width="755,906" Height="11,33859" StretchMode="smMaxHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="8" Frame.Width="0,5" ParentFont="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="Memo8" AllowVectorExport="True" Left="0" Top="0" Width="219,21274" Height="15,11812" StretchMode="smMaxHeight" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;CODIGO&#34;] - [tbRelatorio.&#34;DESCRICAO&#34;]"/>
      <TfrxMemoView Name="Memo13" AllowVectorExport="True" Left="615,69326" Top="0" Width="60,47248" Height="15,11812" StretchMode="smMaxHeight" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;ESTOQUE_ATUAL&#34;]"/>
      <TfrxMemoView Name="mmDesempenho" AllowVectorExport="True" Left="675,94527" Top="0" Width="79,37013" Height="15,11812" StretchMode="smMaxHeight" 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="haCenter" ParentFont="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;ANALISE&#34;]"/>
      <TfrxMemoView Name="Memo9" AllowVectorExport="True" Left="230,55133" Top="0" Width="109,60637" Height="15,11812" StretchMode="smMaxHeight" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;COLECAO&#34;]"/>
      <TfrxMemoView Name="Memo11" AllowVectorExport="True" Left="342,93723" Top="0" Width="90,70872" Height="15,11812" StretchMode="smMaxHeight" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;ETIQUETA&#34;]"/>
      <TfrxMemoView Name="Memo15" AllowVectorExport="True" Left="437,42548" Top="0" Width="86,92919" Height="15,11812" StretchMode="smMaxHeight" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;GRUPO&#34;]"/>
      <TfrxMemoView Name="Memo19" AllowVectorExport="True" Left="528,35467" Top="0" Width="83,14966" Height="15,11812" StretchMode="smMaxHeight" DataSet="tbRelatorio" DataSetName="tbRelatorio" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="[tbRelatorio.&#34;LINHA&#34;]"/>
    </TfrxMasterData>
    <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="495,11843" 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"/>
    </TfrxPageFooter>
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="108,94496" Left="0" Top="18,89765" Width="755,906">
      <TfrxMemoView Name="Memo4" AllowVectorExport="True" Left="0" Top="47,01577" 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 Estoque Comercial - Simplificado"/>
      <TfrxMemoView Name="tbEmpresaEMP_NOME" AllowVectorExport="True" Left="115,94496" Top="13,77953" 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;] - [QryEmpresa.&#34;EMP_CNPJ&#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" DataSetName="QryEmpresa" Frame.Typ="0" HightQuality="True" Transparent="False" TransparentColor="16777215"/>
    </TfrxPageHeader>
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="79,37013" Left="0" Top="188,9765" Width="755,906" Condition="'GRUPO'">
      <TfrxShapeView Name="Shape2" AllowVectorExport="True" Left="0" Top="0" Width="755,906" Height="15,11812" Fill.BackColor="15000804" Frame.Typ="0"/>
      <TfrxMemoView Name="Memo21" AllowVectorExport="True" Left="0" Top="0" Width="755,906" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Totais Gerais"/>
      <TfrxMemoView Name="Memo23" AllowVectorExport="True" Left="132,28355" Top="20,89765" Width="170,07885" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Estoque Comercial"/>
      <TfrxMemoView Name="Memo24" AllowVectorExport="True" Left="455,433365" Top="20,89765" Width="170,07885" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Estoque Não Comercial"/>
      <TfrxMemoView Name="Memo25" AllowVectorExport="True" Left="132,28355" Top="44,35436" Width="170,07885" Height="18,89765" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Processing.ProcessAt="paGroupFinished" Text="[SUM(iif(&#60;tbRelatorio.&#34;ANALISE&#34;&#62; = 'COMERCIAL', &#60;tbRelatorio.&#34;ESTOQUE_ATUAL&#34;&#62;, 0), MasterData1, 1)]"/>
      <TfrxMemoView Name="Memo26" AllowVectorExport="True" Left="455,433365" Top="44,35436" Width="170,07885" Height="18,89765" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Processing.ProcessAt="paGroupFinished" Text="[SUM(iif(&#60;tbRelatorio.&#34;ANALISE&#34;&#62; &#60;&#62; 'COMERCIAL', &#60;tbRelatorio.&#34;ESTOQUE_ATUAL&#34;&#62;, 0), MasterData1, 1)]"/>
      <TfrxLineView Name="Line1" AllowVectorExport="True" Left="0" Top="69,03154" Width="755,906" Height="0" Color="0" Frame.Typ="4" Frame.Width="1,5"/>
    </TfrxGroupHeader>
    <TfrxGroupHeader Name="GroupHeader2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="15,11812" Left="0" Top="291,02381" Width="755,906" Condition="tbRelatorio.&#34;'GRUPO2'&#34;" ReprintOnNewPage="True">
      <TfrxShapeView Name="Shape1" AllowVectorExport="True" Left="0" Top="0,33859" Width="755,906" Height="15,11812" Fill.BackColor="-16777201" Frame.Typ="0"/>
      <TfrxMemoView Name="Memo16" AllowVectorExport="True" Left="0" Top="0,33859" Width="219,21274" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="Produto"/>
      <TfrxMemoView Name="Memo14" AllowVectorExport="True" Left="615,69326" Top="0,33859" Width="60,47248" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Est. Atual"/>
      <TfrxMemoView Name="Memo17" AllowVectorExport="True" Left="675,94527" Top="0,33859" Width="79,37013" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Análise"/>
      <TfrxMemoView Name="Memo10" AllowVectorExport="True" Left="230,55133" Top="0,33859" Width="109,60637" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="Coleção"/>
      <TfrxMemoView Name="Memo12" AllowVectorExport="True" Left="342,93723" Top="0,33859" Width="90,70872" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="Etiqueta"/>
      <TfrxMemoView Name="Memo18" AllowVectorExport="True" Left="437,42548" Top="0,33859" Width="86,92919" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="Grupo"/>
      <TfrxMemoView Name="Memo20" AllowVectorExport="True" Left="528,35467" Top="0,33859" Width="83,14966" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="Linha"/>
    </TfrxGroupHeader>
    <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="411,96877" Visible="False" Width="755,906">
      <TfrxMemoView Name="Memo31" AllowVectorExport="True" Left="451,653835" Top="3,77953" Width="170,07885" Height="18,89765" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Processing.ProcessAt="paGroupFinished" Text="[SUM(iif(&#60;tbRelatorio.&#34;ANALISE&#34;&#62; &#60;&#62; 'COMERCIAL', &#60;tbRelatorio.&#34;ESTOQUE_ATUAL&#34;&#62;, 0), MasterData1, 1)]"/>
      <TfrxMemoView Name="Memo30" AllowVectorExport="True" Left="128,50402" Top="3,77953" Width="170,07885" Height="18,89765" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Processing.ProcessAt="paGroupFinished" Text="[SUM(iif(&#60;tbRelatorio.&#34;ANALISE&#34;&#62; = 'COMERCIAL', &#60;tbRelatorio.&#34;ESTOQUE_ATUAL&#34;&#62;, 0), MasterData1, 1)]"/>
    </TfrxGroupFooter>
    <TfrxGroupFooter Name="GroupFooter2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="366,61441" Visible="False" Width="755,906"/>
  </TfrxReportPage>
</TfrxReport>
