<?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="45028,3703425347" ScriptLanguage="PascalScript" ScriptText.Text="var&#13;&#10;desempenhoPerc: Real;&#13;&#10;&#13;&#10;procedure MasterData1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  desempenhoPerc := ((&#60;tbRelatorio.&#34;QUANTIDADE_VENDIDA&#34;&#62;/&#60;tbRelatorio.&#34;ESTOQUE_ANTIGO&#34;&#62;)*100);&#13;&#10;  if ValidFloat(FloatToStr(desempenhoPerc)) then&#13;&#10;    mmDesempenho.text := FormatFloat('0.00', desempenhoPerc) + '%'&#13;&#10;  else&#13;&#10;    mmDesempenho.text := '0%';&#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="Empresa" Value="'_005'"/>
    <item Name="Layout" Value="'DesempenhoProduto.fr3'"/>
    <item Name="PastaFotos" Value="''"/>
    <item Name="Usuario" Value="'SISPLAN'"/>
    <item Name="emp_id" Value="'5'"/>
    <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="''"/>
    <item Name="TAMANHO" Value="''"/>
    <item Name="COR" Value="''"/>
  </Variables>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxFDDatabase Name="Conexao" DriverName="FB" DatabaseName="d:/dados/bases/13131F.FDB" Params.Text="Protocol=TCPIP&#13;&#10;Database=d:/dados/bases/13131F.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="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="">
    <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="188,9765" Width="755,906" OnBeforePrint="MasterData1OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSet="tbRelatorio" DataSetName="tbRelatorio" RowCount="0">
      <TfrxMemoView Name="Memo22" AllowVectorExport="True" Left="0" Top="3,77953" 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" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="Memo8" AllowVectorExport="True" Left="0" Top="1,77953" Width="294,80334" Height="11,33859" DataSet="tbRelatorio" DataSetName="tbRelatorio" 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="[tbRelatorio.&#34;CODIGO&#34;] - [tbRelatorio.&#34;DESCRICAO&#34;]"/>
      <TfrxMemoView Name="Memo9" AllowVectorExport="True" Left="296,33086" Top="1,77953" Width="90,70872" Height="11,33859" 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="[tbRelatorio.&#34;COR&#34;]"/>
      <TfrxMemoView Name="Memo10" AllowVectorExport="True" Left="390,49629" Top="1,77953" Width="34,01577" Height="11,33859" 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="[tbRelatorio.&#34;TAM&#34;]"/>
      <TfrxMemoView Name="Memo11" AllowVectorExport="True" Left="427,17347" Top="1,77953" Width="75,5906" Height="11,33859" DataField="QUANTIDADE_VENDIDA" DataSet="tbRelatorio" DataSetName="tbRelatorio" 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="[tbRelatorio.&#34;QUANTIDADE_VENDIDA&#34;]"/>
      <TfrxMemoView Name="Memo12" AllowVectorExport="True" Left="505,08689" Top="1,77953" Width="79,37013" Height="11,33859" DataField="ESTOQUE_ATUAL" DataSet="tbRelatorio" DataSetName="tbRelatorio" 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="[tbRelatorio.&#34;ESTOQUE_ATUAL&#34;]"/>
      <TfrxMemoView Name="Memo13" AllowVectorExport="True" Left="588,23655" Top="1,77953" Width="90,70872" Height="11,33859" DataField="ESTOQUE_ANTIGO" DataSet="tbRelatorio" DataSetName="tbRelatorio" 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="[tbRelatorio.&#34;ESTOQUE_ANTIGO&#34;]"/>
      <TfrxMemoView Name="mmDesempenho" AllowVectorExport="True" Left="683,40198" Top="1,77953" Width="71,81107" Height="11,33859" 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="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text=""/>
    </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="264,5671" Width="755,906">
      <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"/>
    </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 Desempenho de Produto"/>
      <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>
      <TfrxShapeView Name="Shape1" AllowVectorExport="True" Left="0" Top="93,82684" Width="755,906" Height="15,11812" Fill.BackColor="-16777201" Frame.Typ="0" Shape="skRoundRectangle"/>
      <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"/>
      <TfrxMemoView Name="Memo16" AllowVectorExport="True" Left="0" Top="93,82684" Width="294,80334" 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="Memo18" AllowVectorExport="True" Left="296,33086" Top="93,82684" 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="Cor"/>
      <TfrxMemoView Name="Memo19" AllowVectorExport="True" Left="390,49629" Top="93,82684" Width="34,01577" 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="Tam"/>
      <TfrxMemoView Name="Memo20" AllowVectorExport="True" Left="424,39394" Top="93,82684" 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="haRight" ParentFont="False" VAlign="vaCenter" Text="Qtde. Vendida"/>
      <TfrxMemoView Name="Memo21" AllowVectorExport="True" Left="506,08689" Top="93,82684" 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="haRight" ParentFont="False" VAlign="vaCenter" Text="Estoque Atual"/>
      <TfrxMemoView Name="Memo14" AllowVectorExport="True" Left="588,23655" Top="93,82684" Width="90,70872" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Sell In Qtde Hist."/>
      <TfrxMemoView Name="Memo17" AllowVectorExport="True" Left="683,40198" Top="93,82684" Width="71,81107" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Desempenho"/>
    </TfrxPageHeader>
  </TfrxReportPage>
</TfrxReport>
