<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="6.4.11" DotMatrixReport="False" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.Author="unionsystem" ReportOptions.CreateDate="41561,8945570602" ReportOptions.Description.Text="" ReportOptions.LastChange="45133,6173241551" ScriptLanguage="PascalScript" ScriptText.Text="begin&#13;&#10;&#13;&#10;end.">
  <Datasets>
    <item DataSet="dados" DataSetName="dados"/>
    <item DataSet="fparametros" DataSetName="parametros"/>
  </Datasets>
  <Variables>
    <item Name=" externas"/>
    <item Name="periodo"/>
    <item Name="vendedor"/>
    <item Name="atacado"/>
    <item Name="varejo"/>
    <item Name="tipomovimento"/>
    <item Name="primeiracompra"/>
    <item Name="tituloagrupador"/>
    <item Name="grupo"/>
  </Variables>
  <TfrxDataPage Name="frxDataPage1" Height="1000" Left="0" Top="0" Width="1000"/>
  <TfrxReportPage Name="Page1" Orientation="poLandscape" PaperWidth="297" PaperHeight="210" PaperSize="9" LeftMargin="5" RightMargin="5" TopMargin="10" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" MirrorMode="0" PrintIfEmpty="False" HGuides.Text="" VGuides.Text="" OnBeforePrint="Page1OnBeforePrint">
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="15,1181078" Left="0" Top="325,03958" Width="1084,72511" ColumnWidth="0" ColumnGap="0" DataSet="dados" DataSetName="dados" KeepFooter="True" KeepHeader="True" RowCount="0">
      <TfrxMemoView Name="dadosnomecliente" AllowVectorExport="True" Left="0" Top="0" Width="71,81107" Height="15,11812" DataField="titulo" DataSet="dados" DataSetName="dados" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[dados.&#34;titulo&#34;]"/>
      <TfrxMemoView Name="dadoshora_entrega" AllowVectorExport="True" Left="76,04731" Top="0" Width="71,81107" Height="15,11812" DataField="data_encerrado" DataSet="dados" DataSetName="dados" DisplayFormat.FormatStr="dd/mm/yyyy" DisplayFormat.Kind="fkDateTime" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[dados.&#34;data_encerrado&#34;]"/>
      <TfrxMemoView Name="Memo20" AllowVectorExport="True" Left="151,96073" Top="0" Width="253,22851" Height="15,11812" DataField="camponome" DataSet="dados" DataSetName="dados" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[dados.&#34;camponome&#34;]"/>
      <TfrxMemoView Name="Memo24" AllowVectorExport="True" Left="411,51206" Top="0" Width="90,70872" Height="15,11812" DataField="soma" DataSet="dados" DataSetName="dados" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[dados.&#34;soma&#34;]"/>
      <TfrxMemoView Name="Memo28" AllowVectorExport="True" Left="507,67749" Top="0" Width="49,13389" Height="15,11812" DataField="percentual" DataSet="dados" DataSetName="dados" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[dados.&#34;percentual&#34;]"/>
      <TfrxMemoView Name="Memo31" AllowVectorExport="True" Left="562,14997" Top="0" Width="75,5906" Height="15,11812" DataField="comissao" DataSet="dados" DataSetName="dados" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[dados.&#34;comissao&#34;]"/>
    </TfrxMasterData>
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="18,89765" Left="0" Top="566,9295" Width="1084,72511">
      <TfrxMemoView Name="Memo4" Align="baWidth" AllowVectorExport="True" Left="0" Top="0,77953" Width="1084,72511" Height="11,33859" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="UNIONSYSTEM SISTEMAS - www.unionsystem.com.br"/>
    </TfrxPageFooter>
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="56,69295" Left="0" Top="245,66945" Width="1084,72511" Condition="dados.&#34;agrupador&#34;">
      <TfrxMemoView Name="dadosnomecidade" AllowVectorExport="True" Left="2,77953" Top="15,11812" Width="400,63018" Height="18,89765" DataSet="dados" DataSetName="dados" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="[tituloagrupador]: [dados.&#34;agrupador&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo5" AllowVectorExport="True" Left="0" Top="38,01577" Width="71,81107" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Pedido"/>
      <TfrxMemoView Name="Memo8" AllowVectorExport="True" Left="76,04731" Top="37,7953" Width="71,81107" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Data Encerrado"/>
      <TfrxMemoView Name="Memo21" AllowVectorExport="True" Left="151,96073" Top="37,7953" Width="253,22851" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Grupo/Nome"/>
      <TfrxMemoView Name="Memo25" AllowVectorExport="True" Left="411,51206" Top="37,7953" Width="90,70872" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Valor venda"/>
      <TfrxMemoView Name="Memo30" AllowVectorExport="True" Left="507,67749" Top="37,7953" Width="49,13389" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="%"/>
      <TfrxMemoView Name="Memo32" AllowVectorExport="True" Left="562,14997" Top="37,7953" Width="75,5906" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Comissão"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="49,13389" Left="0" Top="362,83488" Width="1084,72511">
      <TfrxMemoView Name="Memo3" AllowVectorExport="True" Left="4,33858999999999" Top="1,77953" Width="75,5906" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Qtde registros: "/>
      <TfrxSysMemoView Name="SysMemo2" AllowVectorExport="True" Left="83,70872" Top="1,77953" Width="94,48825" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[COUNT(MasterData1)]"/>
      <TfrxSysMemoView Name="SysMemo4" AllowVectorExport="True" Left="415,29159" Top="1,77953" Width="86,92919" Height="18,89765" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;dados.&#34;soma&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo33" AllowVectorExport="True" Left="315,3624" Top="1,77953" Width="94,48825" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Totais:"/>
      <TfrxSysMemoView Name="SysMemo3" AllowVectorExport="True" Left="562,14997" Top="1,77953" Width="75,5906" Height="18,89765" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;dados.&#34;comissao&#34;&#62;,MasterData1)]"/>
    </TfrxGroupFooter>
    <TfrxFooter Name="Footer1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="71,81107" Left="0" Top="434,64595" Width="1084,72511">
      <TfrxMemoView Name="Memo34" AllowVectorExport="True" Left="2,77952999999999" Top="3,77953" Width="75,5906" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Qtde registros: "/>
      <TfrxSysMemoView Name="SysMemo6" AllowVectorExport="True" Left="82,14966" Top="3,77953" Width="94,48825" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[COUNT(MasterData1)]"/>
      <TfrxSysMemoView Name="SysMemo8" AllowVectorExport="True" Left="415,29159" Top="3,77953" Width="86,92919" Height="18,89765" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;dados.&#34;soma&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo35" AllowVectorExport="True" Left="315,3624" Top="3,77953" Width="94,48825" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Totais:"/>
      <TfrxSysMemoView Name="SysMemo7" AllowVectorExport="True" Left="539,47279" Top="3,77953" Width="98,26778" Height="18,89765" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;dados.&#34;comissao&#34;&#62;,MasterData1)]"/>
    </TfrxFooter>
    <TfrxReportTitle Name="ReportTitle1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="102,04731" Left="0" Top="18,89765" Width="1084,72511">
      <TfrxMemoView Name="Memo29" Align="baWidth" AllowVectorExport="True" Left="0" Top="0" Width="892,76438" Height="22,67718" DataSet="fparametros" DataSetName="parametros" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="[parametros.&#34;fantasia&#34;]"/>
      <TfrxMemoView Name="Memo40" AllowVectorExport="True" Left="892,76438" Top="1,32282" Width="188,9765" 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="Página [Page] de [TotalPages#]"/>
      <TfrxMemoView Name="Date" AllowVectorExport="True" Left="881,42579" Top="24,44094" Width="200,31509" 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="Data emissão [Date] [Time]"/>
      <TfrxMemoView Name="Memo7" AllowVectorExport="True" Left="881,42579" Top="43,33859" Width="200,31509" 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="Emitido por [login]"/>
      <TfrxMemoView Name="Memo9" AllowVectorExport="True" Left="1,77953" Top="40,57483" Width="56,69295" Height="18,89765" Frame.Typ="0" Text="Período:"/>
      <TfrxMemoView Name="data1" AllowVectorExport="True" Left="62,25201" Top="40,57483" Width="268,34663" Height="18,89765" DisplayFormat.FormatStr="dd/mm/yyyy" DisplayFormat.Kind="fkDateTime" Frame.Typ="0" Text="[periodo]"/>
      <TfrxMemoView Name="Memo11" AllowVectorExport="True" Left="335,81911" Top="40,57483" Width="68,03154" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Vendedor:"/>
      <TfrxMemoView Name="nomecidade" AllowVectorExport="True" Left="407,7483" Top="40,57483" Width="177,63791" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[vendedor]"/>
      <TfrxMemoView Name="Memo10" AllowVectorExport="True" Left="589,60668" Top="40,57483" Width="75,5906" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Ordenação:"/>
      <TfrxMemoView Name="Memo12" AllowVectorExport="True" Left="669,53587" Top="40,57483" Width="177,63791" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[tituloagrupador]"/>
      <TfrxMemoView Name="tipomovimento" AllowVectorExport="True" Left="0" Top="65,03154" Width="328,81911" Height="15,11812" Frame.Typ="0" Text="Tipo movimento: [tipomovimento]"/>
      <TfrxMemoView Name="Memo22" AllowVectorExport="True" Left="337,49629" Top="63,25201" Width="306,14193" Height="15,11812" Frame.Typ="0" Text="Grupo: [grupo]"/>
    </TfrxReportTitle>
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="41,57483" Left="0" Top="143,62214" Width="1084,72511">
      <TfrxMemoView Name="Memo1" Align="baWidth" AllowVectorExport="True" Left="0" Top="17,89765" Width="1084,72511" Height="18,89765" DataSet="fparametros" DataSetName="parametros" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="1" Frame.Typ="8" HAlign="haCenter" ParentFont="False" Text="RELATORIO DE COMISSÃO POR INDICAÇÃO"/>
    </TfrxPageHeader>
  </TfrxReportPage>
</TfrxReport>
