<?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="43971,7131886458" 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="ordenacao"/>
    <item Name="tipomovimento"/>
    <item Name="primeiracompra"/>
  </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="dadosevento" AllowVectorExport="True" Left="78,37013" Top="0" Width="52,91342" Height="15,11812" 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;parcela&#34;] / [dados.&#34;qtde_parcela&#34;]"/>
      <TfrxMemoView Name="dadoshora_entrega" AllowVectorExport="True" Left="135,51979" 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="Memo13" AllowVectorExport="True" Left="211,65368" Top="0" Width="86,92919" Height="15,11812" DataField="vencimento" 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;vencimento&#34;]"/>
      <TfrxMemoView Name="Memo16" AllowVectorExport="True" Left="305,14193" Top="0" Width="86,92919" Height="15,11812" DataField="data_recebimento" 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_recebimento&#34;]"/>
      <TfrxMemoView Name="Memo18" AllowVectorExport="True" Left="397,63018" Top="0" Width="60,47248" Height="15,11812" DataField="cliente" 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;cliente&#34;]"/>
      <TfrxMemoView Name="Memo20" AllowVectorExport="True" Left="462,88219" Top="0" Width="253,22851" Height="15,11812" DataField="nomecliente" 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;nomecliente&#34;]"/>
      <TfrxMemoView Name="Memo22" AllowVectorExport="True" Left="721,89023" Top="0" Width="34,01577" Height="15,11812" DataField="atacado_varejo" 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;atacado_varejo&#34;]"/>
      <TfrxMemoView Name="Memo24" AllowVectorExport="True" Left="758,56741" 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="Memo26" AllowVectorExport="True" Left="854,71707" Top="0" Width="86,92919" Height="15,11812" DataField="valor_recebido" 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;valor_recebido&#34;]"/>
      <TfrxMemoView Name="Memo28" AllowVectorExport="True" Left="947,8825" 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="1001,57545" 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;login&#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="Vendedor: [dados.&#34;login&#34;]"/>
      <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="Titulo"/>
      <TfrxMemoView Name="Memo6" AllowVectorExport="True" Left="78,37013" Top="37,7953" Width="52,91342" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Parcela"/>
      <TfrxMemoView Name="Memo8" AllowVectorExport="True" Left="135,51979" 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 emissão"/>
      <TfrxMemoView Name="Memo15" AllowVectorExport="True" Left="211,65368" Top="37,7953" Width="86,92919" 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 vencimento"/>
      <TfrxMemoView Name="Memo17" AllowVectorExport="True" Left="305,14193" Top="37,7953" Width="86,92919" 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 recebimento"/>
      <TfrxMemoView Name="Memo19" AllowVectorExport="True" Left="397,63018" Top="37,7953" Width="60,47248" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Código"/>
      <TfrxMemoView Name="Memo21" AllowVectorExport="True" Left="462,88219" 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="Nome"/>
      <TfrxMemoView Name="Memo23" AllowVectorExport="True" Left="721,89023" Top="37,7953" Width="34,01577" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Tipo"/>
      <TfrxMemoView Name="Memo25" AllowVectorExport="True" Left="758,56741" 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="Memo27" AllowVectorExport="True" Left="854,71707" Top="37,7953" Width="86,92919" 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 recebido"/>
      <TfrxMemoView Name="Memo30" AllowVectorExport="True" Left="947,8825" 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="1001,57545" 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="318,26005" 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="397,63018" 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="854,71707" 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;valor_recebido&#34;&#62;,MasterData1)]"/>
      <TfrxSysMemoView Name="SysMemo5" AllowVectorExport="True" Left="751,00835" Top="1,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;soma&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo33" AllowVectorExport="True" Left="638,40198" 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="1001,57545" 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="Memo2" AllowVectorExport="True" Left="2,77953" Top="36,01577" 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="SysMemo1" AllowVectorExport="True" Left="82,14966" Top="34,01577" 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)]"/>
      <TfrxMemoView Name="Memo34" AllowVectorExport="True" Left="317,48052" 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="396,85065" 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="854,71707" 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;valor_recebido&#34;&#62;,MasterData1)]"/>
      <TfrxSysMemoView Name="SysMemo9" AllowVectorExport="True" Left="751,00835" 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;soma&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo35" AllowVectorExport="True" Left="637,62245" 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="978,89827" 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="[ordenacao]"/>
      <TfrxMemoView Name="tipomovimento" AllowVectorExport="True" Left="0" Top="70,5906" Width="260,78757" Height="18,89765" Frame.Typ="0" Text="[tipomovimento]"/>
    </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 TIPO DE CLIENTE"/>
    </TfrxPageHeader>
  </TfrxReportPage>
</TfrxReport>
