<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="4.8.27" DotMatrixReport="False" EngineOptions.MaxMemSize="20" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="40602,6690597801" ReportOptions.Description.Text="" ReportOptions.LastChange="41512,6622687963" ScriptLanguage="PascalScript" ScriptText.Text="begin&#13;&#10;{      &#13;&#10;  //dados Teste&#13;&#10;  Set('DataInicial',StrToDate('01/01/2013'));&#13;&#10;  Set('DataFinal',StrToDate('10/05/2013'));  &#13;&#10;  Set('CodCliente','0');&#13;&#10;  Set('CodEmpresa','1');&#13;&#10;  Set('CodEmpresa2','1');&#13;&#10;  Set('Ordem','1');&#13;&#10;  Set('Tipo','1');      &#13;&#10;  Set('Filtros','''Sem filtro''');&#13;&#10;  Set('RelReferencia','''2T00''');                                                                        &#13;&#10;}        &#13;&#10;  QPrincipal.Close;&#13;&#10;  QPrincipal.SQL.Add('ORDER BY '+ IntToStr(&#60;Ordem&#62;+3) +' DESC');&#13;&#10;  QPrincipal.Open;&#13;&#10;  if QPrincipal.IsEmpty then&#13;&#10;  begin              &#13;&#10;    CreateError('Não exitem registros para os filtros selecionados.');&#13;&#10;  end;  &#13;&#10;  &#13;&#10;  if (&#60;Tipo&#62; = 0) then         &#13;&#10;  begin&#13;&#10;   GHDetalhe.Visible:=False;&#13;&#10;   GFDetalhe.Visible:=False;&#13;&#10;   Detalhe.Visible:=False;&#13;&#10;   PH_VlrUnitario.Visible:=False;&#13;&#10;   DD_VlrUnitario.Visible:=False;&#13;&#10;   GH_VlrUnitario.Visible:=False;&#13;&#10;   RS_VlrUnitario.Visible:=False;         &#13;&#10;   Set('Titulo','''Sintético''');                                                                       &#13;&#10;  end&#13;&#10;  else&#13;&#10;  begin&#13;&#10;   Set('Titulo','''Analítico''');      &#13;&#10;   Page1.Orientation:=poLandScape;&#13;&#10;  end;             &#13;&#10;end." StoreInDFM="False" PropData="044C65667403D80203546F7002100844617461736574730101062A20446174615365743D2251456D70726573612220446174615365744E616D653D2251456D7072657361220001062E20446174615365743D22515072696E636970616C2220446174615365744E616D653D22515072696E636970616C220001062E20446174615365743D2251546F7461697353696E2220446174615365744E616D653D2251546F7461697353696E220001062A20446174615365743D2251446574616C68652220446174615365744E616D653D2251446574616C6865220001063620446174615365743D2251546F74616973446574616C68652220446174615365744E616D653D2251546F74616973446574616C6865220000095661726961626C65730100055374796C650100">
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxADOQuery Name="QPrincipal" UserName="QPrincipal" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="declare @DtI date = :DtI,&#13;&#10;        @DtF date = :DtF,&#13;&#10;        @CodCli int = :CodCli,&#13;&#10;        @CodEmp int = :CodEmp,&#13;&#10;        @Cancel int = :Cancel                                                       &#13;&#10;&#13;&#10;;with Table1 as (&#13;&#10;SELECT B.FGO_CODCLI,C.CLI_NOMCLI+&#13;&#10; case when (C.CLI_FANTAS is not null) and (C.CLI_FANTAS&#60;&#62;'') then&#13;&#10;  coalesce(' ('+C.CLI_FANTAS+')','')&#13;&#10;  else ''&#13;&#10; end as NomeCliente,&#13;&#10; SUM(COALESCE(A.FDO_QTDITE,0)) AS TOTAL_QTD,        &#13;&#10; SUM(COALESCE(A.FDO_TOTITE,0)) AS TOTAL_VENDA,       &#13;&#10; SUM(COALESCE(A.FDO_QTDITE,0) * COALESCE(A.FDO_PRECUS,0)) AS TOTAL_CUSTO,       &#13;&#10; SUM(COALESCE(A.FDO_TOTITE,0) - (COALESCE(A.FDO_QTDITE,0) * COALESCE(A.FDO_PRECUS,0))) AS TOTAL_LUCRO,            &#13;&#10; dbo.fn_CALCULA_PRECO_MARGEM(A.FDO_CODEMP,SUM(COALESCE(A.FDO_TOTITE,0)),SUM(COALESCE(A.FDO_QTDITE,0) * COALESCE(A.FDO_PRECUS,0)),0) AS TOTAL_MARGEM&#13;&#10; &#13;&#10;FROM FATDOR A      &#13;&#10; LEFT JOIN FATGOR AS B ON A.FDO_CODEMP = B.FGO_CODEMP &#13;&#10;                      AND A.FDO_NUMDOC = B.FGO_NUMDOC &#13;&#10;                      AND A.FDO_ESPDOC = B.FGO_ESPDOC &#13;&#10; AND A.FDO_DTAENT = B.FGO_DTAENT      &#13;&#10; LEFT OUTER JOIN CADCLI AS C ON B.FGO_CODCLI = C.CLI_CODIGO &#13;&#10;WHERE B.FGO_CODCLI IS NOT NULL&#13;&#10;  AND A.FDO_ESPDOC = 'OR'&#13;&#10;  AND coalesce(B.FGO_CANCEL, 0) = @Cancel                                                                         &#13;&#10;  AND cast(A.FDO_DTAENT as date) between @DtI AND @DtF&#13;&#10;  AND ((@CodCli=0) or (B.FGO_CODCLI = @CodCli))&#13;&#10;  AND ((@CodEmp=0) or (A.FDO_CODEMP = @CodEmp))&#13;&#10;GROUP BY B.FGO_CODCLI,C.CLI_NOMCLI,A.FDO_CODEMP,C.CLI_FANTAS  &#13;&#10;)&#13;&#10;select Table1.*,(Table1.TOTAL_VENDA/Tots.TOTAL_VENDA*100) TotRepres from Table1&#13;&#10;left join (&#13;&#10;&#13;&#10;SELECT  &#13;&#10; SUM(COALESCE(A.FDO_QTDITE,0)) AS TOTAL_QTD,        &#13;&#10; SUM(COALESCE(A.FDO_TOTITE,0)) AS TOTAL_VENDA,       &#13;&#10; SUM(COALESCE(A.FDO_QTDITE,0) * COALESCE(A.FDO_PRECUS,0)) AS TOTAL_CUSTO,       &#13;&#10; SUM(COALESCE(A.FDO_TOTITE,0) - (COALESCE(A.FDO_QTDITE,0) * COALESCE(A.FDO_PRECUS,0))) AS TOTAL_LUCRO            ,&#13;&#10; SUM(COALESCE(A.FDO_TOTITE,0) - (COALESCE(A.FDO_QTDITE,0) * COALESCE(A.FDO_PRECUS,0)))/SUM(COALESCE(A.FDO_QTDITE,0) * COALESCE(A.FDO_PRECUS,0))*100 as Tot_Lucro&#13;&#10;FROM FATDOR A      &#13;&#10; LEFT JOIN FATGOR AS B ON A.FDO_CODEMP = B.FGO_CODEMP &#13;&#10;                      AND A.FDO_NUMDOC = B.FGO_NUMDOC &#13;&#10;                      AND A.FDO_ESPDOC = B.FGO_ESPDOC &#13;&#10; AND A.FDO_DTAENT = B.FGO_DTAENT      &#13;&#10; LEFT OUTER JOIN CADCLI AS C ON B.FGO_CODCLI = C.CLI_CODIGO &#13;&#10;WHERE B.FGO_CODCLI IS NOT NULL&#13;&#10;  AND A.FDO_ESPDOC = 'OR'&#13;&#10;  AND coalesce(B.FGO_CANCEL, 0) = @Cancel                     &#13;&#10;  AND cast(A.FDO_DTAENT as date) between @DtI AND @DtF&#13;&#10;  AND ((@CodCli=0) or (B.FGO_CODCLI = @CodCli))&#13;&#10;  AND ((@CodEmp=0) or (A.FDO_CODEMP = @CodEmp))&#13;&#10;&#13;&#10;) Tots on 1=1&#13;&#10;&#13;&#10;    " CommandTimeout="1800" LockType="ltReadOnly" PropData="05704C65667402680470546F7002440A506172616D657465727301010640204E616D653D22447449222044617461547970653D22667444617465222045787072657373696F6E3D22262336303B44617461496E696369616C262336323B220001063E204E616D653D22447446222044617461547970653D22667444617465222045787072657373696F6E3D22262336303B4461746146696E616C262336323B2200010645204E616D653D22436F64436C69222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303B436F64436C69656E7465262336323B2200010646204E616D653D22436F64456D70222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303B436F64456D707265736132262336323B2200010640204E616D653D2243616E63656C222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303B4F7063616F262336323B220000"/>
    <TfrxADOQuery Name="QEmpresa" UserName="QEmpresa" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="select emp_nomemp &#13;&#10;from cademp &#13;&#10;where EMP_CODIGO=:CodEmpresa" CommandTimeout="1800" LockType="ltReadOnly" PropData="05704C65667402680470546F700398000A506172616D657465727301010649204E616D653D22436F64456D7072657361222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303B436F64456D7072657361262336323B220000"/>
    <TfrxADOQuery Name="QTotaisSin" UserName="QTotaisSin" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="declare @DtI date = :DtI,&#13;&#10;        @DtF date = :DtF,&#13;&#10;        @CodCli int = :CodCli,&#13;&#10;        @CodEmp int = :CodEmp,&#13;&#10;        @Cancel int = :Cancel                                                       &#13;&#10;SELECT&#13;&#10; SUM(COALESCE(A.FDO_QTDITE,0)) AS TOTAL_QTD,        &#13;&#10; SUM(COALESCE(A.FDO_TOTITE,0)) AS TOTAL_VENDA,       &#13;&#10; SUM(COALESCE(A.FDO_QTDITE,0) * COALESCE(A.FDO_PRECUS,0)) AS TOTAL_CUSTO,       &#13;&#10; SUM(COALESCE(A.FDO_TOTITE,0) - (COALESCE(A.FDO_QTDITE,0) * COALESCE(A.FDO_PRECUS,0))) AS TOTAL_LUCRO            ,       &#13;&#10; SUM(COALESCE(A.FDO_TOTITE,0) - (COALESCE(A.FDO_QTDITE,0) * COALESCE(A.FDO_PRECUS,0)))/SUM(COALESCE(A.FDO_QTDITE,0) * COALESCE(A.FDO_PRECUS,0))*100 as Tot_Lucro&#13;&#10;FROM FATDOR A      &#13;&#10; LEFT JOIN FATGOR AS B ON A.FDO_CODEMP = B.FGO_CODEMP &#13;&#10;                      AND A.FDO_NUMDOC = B.FGO_NUMDOC &#13;&#10;                      AND A.FDO_ESPDOC = B.FGO_ESPDOC &#13;&#10; AND A.FDO_DTAENT = B.FGO_DTAENT      &#13;&#10; LEFT OUTER JOIN CADCLI AS C ON B.FGO_CODCLI = C.CLI_CODIGO &#13;&#10;WHERE B.FGO_CODCLI IS NOT NULL&#13;&#10;  AND A.FDO_ESPDOC = 'OR'&#13;&#10;  AND coalesce(B.FGO_CANCEL, 0) = @Cancel                     &#13;&#10;  AND cast(A.FDO_DTAENT as date) between @DtI AND @DtF&#13;&#10;  AND ((@CodCli=0) or (B.FGO_CODCLI = @CodCli))&#13;&#10;  AND ((@CodEmp=0) or (A.FDO_CODEMP = @CodEmp))  " CommandTimeout="1800" LockType="ltReadOnly" PropData="05704C65667403A8000470546F7002440A506172616D657465727301010640204E616D653D22447449222044617461547970653D22667444617465222045787072657373696F6E3D22262336303B44617461496E696369616C262336323B220001063E204E616D653D22447446222044617461547970653D22667444617465222045787072657373696F6E3D22262336303B4461746146696E616C262336323B2200010645204E616D653D22436F64436C69222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303B436F64436C69656E7465262336323B2200010646204E616D653D22436F64456D70222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303B436F64456D707265736132262336323B2200010640204E616D653D2243616E63656C222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303B4F7063616F262336323B220000"/>
    <TfrxADOQuery Name="QDetalhe" UserName="QDetalhe" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="QPrincipal" IgnoreDupParams="False" SQL.Text="declare @DtI date = :DtI,&#13;&#10;        @DtF date = :DtF,&#13;&#10;        @CodCli int = :FGO_CODCLI,&#13;&#10;        @CodEmp int = :CodEmp,&#13;&#10;        @Cancel int = :Cancel                                                       &#13;&#10;&#13;&#10;select FGO_CODCLI,FGO_CODEMP,convert(varchar(12),FGO_DTAENT,103) as FGO_DTAENT,FDO_CODITE, ite_descri,&#13;&#10;(select top 1 CBR_CODBAR from cadcbr where CBR_CODITE=FDO_CODITE ) CodBar,&#13;&#10; fatgor.FGO_CODDIG, FGO_NUMDOC,     &#13;&#10; FDO_UNITAR,       &#13;&#10; FDO_QTDITE AS TOTAL_QTD,&#13;&#10; COALESCE(FDO_TOTITE,0) AS TOTAL_VENDA,&#13;&#10; COALESCE(FDO_QTDITE,0) * COALESCE(FDO_PRECUS,0) AS TOTAL_CUSTO,&#13;&#10; cast(COALESCE(FDO_TOTITE,0) - (COALESCE(FDO_QTDITE,0) * COALESCE(FDO_PRECUS,0)) as decimal(9,2)) AS TOTAL_LUCRO,&#13;&#10; dbo.fn_CALCULA_PRECO_MARGEM(FGO_CODEMP,FDO_TOTITE,(FDO_QTDITE * FDO_PRECUS),0) AS Por_Lucro    &#13;&#10; from FATGOR       &#13;&#10; LEFT JOIN FATDOR     ON  FDO_CODEMP = FGO_CODEMP &#13;&#10;                      AND FDO_NUMDOC = FGO_NUMDOC &#13;&#10;                      AND FDO_ESPDOC = FGO_ESPDOC &#13;&#10;       &#13;&#10;inner join cadite on ite_codigo=fdo_codite&#13;&#10;where ((@CodEmp=0) or (FGO_CODEMP=@CodEmp))  &#13;&#10;and ((@CodCli=0) or (FGO_CODCLI=@CodCli))&#13;&#10;and coalesce(FGO_CANCEL, 0) = @Cancel                                               &#13;&#10;AND cast(FDO_DTAENT as date) between @DtI AND @DtF&#13;&#10;&#13;&#10;order by FGO_DTAENT desc, FGO_NUMDOC  " CommandTimeout="1800" LockType="ltReadOnly" PropData="05704C65667402680470546F7003EC000A506172616D657465727301010640204E616D653D22447449222044617461547970653D22667444617465222045787072657373696F6E3D22262336303B44617461496E696369616C262336323B220001063E204E616D653D22447446222044617461547970653D22667444617465222045787072657373696F6E3D22262336303B4461746146696E616C262336323B2200010627204E616D653D2246474F5F434F44434C49222044617461547970653D226674496E74656765722200010646204E616D653D22436F64456D70222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303B436F64456D707265736132262336323B2200010640204E616D653D2243616E63656C222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303B4F7063616F262336323B220000"/>
    <TfrxADOQuery Name="QTotaisDetalhe" UserName="QTotaisDetalhe" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="QDetalhe" IgnoreDupParams="False" SQL.Text="declare @DtI date = :DtI,&#13;&#10;        @DtF date = :DtF,&#13;&#10;        @CodCli int = :FGO_CODCLI,&#13;&#10;        @CodEmp int = :FGO_CODEMP,&#13;&#10;        @NDoc int   = :FGO_NUMDOC                    &#13;&#10;          &#13;&#10;;with Tab1 as (&#13;&#10;select &#13;&#10; FDO_QTDITE AS TOTAL_QTD,&#13;&#10; COALESCE(FDO_TOTITE,0) AS TOTAL_VENDA,&#13;&#10; COALESCE(FDO_QTDITE,0) * COALESCE(FDO_PRECUS,0) AS TOTAL_CUSTO,&#13;&#10; cast(COALESCE(FDO_TOTITE,0) - (COALESCE(FDO_QTDITE,0) * COALESCE(FDO_PRECUS,0)) as decimal(9,2)) AS TOTAL_LUCRO&#13;&#10;-- cast(((COALESCE(FDO_TOTITE,0) / (COALESCE(FDO_QTDITE,0)* COALESCE(FDO_PRECUS,0)))-1)*100 as decimal(9,3)) as Por_Lucro&#13;&#10; --dbo.fn_CALCULA_PRECO_MARGEM(FGO_CODEMP,FDO_TOTITE,(FDO_QTDITE * FDO_PRECUS),0) AS Por_Lucro,&#13;&#10; from FATGOR       &#13;&#10; LEFT JOIN FATDOR     ON  FDO_CODEMP = FGO_CODEMP &#13;&#10;                      AND FDO_NUMDOC = FGO_NUMDOC &#13;&#10;                      AND FDO_ESPDOC = FGO_ESPDOC &#13;&#10;       &#13;&#10;inner join cadite on ite_codigo=fdo_codite&#13;&#10;where FGO_CODEMP=@CodEmp&#13;&#10;and FGO_CODCLI=@CodCli&#13;&#10;AND cast(FDO_DTAENT as date) between @DtI AND @DtF&#13;&#10;and FGO_NUMDOC=@NDoc    &#13;&#10;)&#13;&#10;select sum(t.TOTAL_VENDA) as TotVenda,&#13;&#10;       sum(t.TOTAL_QTD) as TotQtde,&#13;&#10;       SUM(t.TOTAL_CUSTO) as TotCusto,&#13;&#10;       SUM(t.TOTAL_LUCRO) as TotLucro,&#13;&#10;       dbo.fn_CALCULA_PRECO_MARGEM(1,sum(t.TOTAL_VENDA),SUM(t.TOTAL_CUSTO),0) AS PorLucro&#13;&#10; from tab1 t&#13;&#10;   " CommandTimeout="1800" LockType="ltReadOnly" PropData="05704C65667403A8000470546F7003EC000A506172616D657465727301010640204E616D653D22447449222044617461547970653D22667444617465222045787072657373696F6E3D22262336303B44617461496E696369616C262336323B220001063E204E616D653D22447446222044617461547970653D22667444617465222045787072657373696F6E3D22262336303B4461746146696E616C262336323B2200010627204E616D653D2246474F5F434F44434C49222044617461547970653D226674496E74656765722200010627204E616D653D2246474F5F434F44454D50222044617461547970653D226674496E74656765722200010628204E616D653D2246474F5F4E554D444F43222044617461547970653D226674536D616C6C696E74220000"/>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxReportTitle Name="ReportTitle1" Height="68,03154" Left="0" Top="16" Width="718,1107" Stretched="True">
      <TfrxMemoView Name="Titulo" Left="0" Top="19" Width="517,79561" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Courier New" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="Relátorio de Consignação - [Titulo]"/>
      <TfrxMemoView Name="Mem_Filtros" Left="60,22047" Top="37,67718" Width="650,07916" Height="26,45671" ShowHint="False" StretchMode="smMaxHeight" Font.Charset="0" Font.Color="0" Font.Height="-11" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[&#60;Filtros&#62;]"/>
      <TfrxMemoView Name="Memo2" Left="0" Top="37,67718" Width="56,69295" Height="11,33859" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="Filtros:"/>
      <TfrxMemoView Name="Memo_Empresa" Left="0" Top="0" Width="427,08689" Height="18,89765" ShowHint="False" DataField="EMP_NOMEMP" DataSet="QEmpresa" DataSetName="QEmpresa" Font.Charset="0" Font.Color="0" Font.Height="-13" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[QEmpresa.&#34;EMP_NOMEMP&#34;]"/>
      <TfrxMemoView Name="Memo4" Align="baRight" Left="517,79561" Top="0" Width="200,31509" Height="15,11812" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" Text="Emissão: [DATE] [Time]"/>
      <TfrxMemoView Name="RelReferencia" Align="baRight" Left="517,79561" Top="18,89765" Width="200,31509" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[IIF(&#60;RelReferencia&#62;='','','(Ref.:'+&#60;RelReferencia&#62;+')')]"/>
    </TfrxReportTitle>
    <TfrxPageHeader Name="PageHeader1" Height="37,79527559" Left="0" Top="104" Width="718,1107">
      <TfrxMemoView Name="Memo5" Align="baWidth" Left="0" Top="0" Width="158,74055292" Height="37,79527559" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="0" Frame.Typ="12" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Cliente"/>
      <TfrxMemoView Name="Memo6" Align="baRight" Left="309,92165528" Top="0" Width="75,59055118" Height="37,79527559" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="0" Frame.Typ="12" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Total&#13;&#10;Venda"/>
      <TfrxMemoView Name="Memo7" Align="baRight" Left="385,51220646" Top="0" Width="75,59055118" Height="37,79527559" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="0" Frame.Typ="12" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Total&#13;&#10;Custo"/>
      <TfrxMemoView Name="Memo8" Align="baRight" Left="461,10275764" Top="0" Width="75,59055118" Height="37,79527559" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="0" Frame.Typ="12" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Total&#13;&#10;Lucro"/>
      <TfrxMemoView Name="Memo9" Align="baRight" Left="612,28386" Top="0" Width="105,82684" Height="37,79527559" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="0" Frame.Typ="12" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="% Representação"/>
      <TfrxMemoView Name="Memo10" Align="baRight" Left="536,69330882" Top="0" Width="75,59055118" Height="37,79527559" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="0" Frame.Typ="12" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="% Lucro"/>
      <TfrxMemoView Name="Memo11" Align="baRight" Left="158,74055292" Top="0" Width="75,59055118" Height="37,79527559" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="0" Frame.Typ="12" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Total Quantidade"/>
      <TfrxMemoView Name="PH_VlrUnitario" Align="baRight" Left="234,3311041" Top="0" Width="75,59055118" Height="37,79527559" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="0" Frame.Typ="12" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Valor Unitário"/>
    </TfrxPageHeader>
    <TfrxReportSummary Name="ReportSummary1" Height="18,89765" Left="0" Top="336" Width="718,1107">
      <TfrxMemoView Name="Memo15" Align="baWidth" Left="0" Top="0" Width="158,74055292" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="Totais Gerais:"/>
      <TfrxMemoView Name="Memo3" Align="baRight" Left="536,69330882" Top="0" Width="75,59055118" Height="18,89765" ShowHint="False" DataField="Tot_Lucro" DataSet="QTotaisSin" DataSetName="QTotaisSin" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[QTotaisSin.&#34;Tot_Lucro&#34;]"/>
      <TfrxMemoView Name="Memo13" Align="baRight" Left="461,10275764" Top="0" Width="75,59055118" Height="18,89765" ShowHint="False" DataField="TOTAL_LUCRO" DataSet="QTotaisSin" DataSetName="QTotaisSin" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[QTotaisSin.&#34;TOTAL_LUCRO&#34;]"/>
      <TfrxMemoView Name="Memo16" Align="baRight" Left="385,51220646" Top="0" Width="75,59055118" Height="18,89765" ShowHint="False" DataField="TOTAL_CUSTO" DataSet="QTotaisSin" DataSetName="QTotaisSin" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[QTotaisSin.&#34;TOTAL_CUSTO&#34;]"/>
      <TfrxMemoView Name="Memo17" Align="baRight" Left="309,92165528" Top="0" Width="75,59055118" Height="18,89765" ShowHint="False" DataField="TOTAL_VENDA" DataSet="QTotaisSin" DataSetName="QTotaisSin" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[QTotaisSin.&#34;TOTAL_VENDA&#34;]"/>
      <TfrxMemoView Name="Memo18" Align="baRight" Left="158,74055292" Top="0" Width="75,59055118" Height="18,89765" ShowHint="False" DataField="TOTAL_QTD" DataSet="QTotaisSin" DataSetName="QTotaisSin" DisplayFormat.FormatStr="%2.3n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[QTotaisSin.&#34;TOTAL_QTD&#34;]"/>
      <TfrxMemoView Name="Memo19" Align="baRight" Left="612,28386" Top="0" Width="105,82684" Height="18,89765" ShowHint="False" DataSet="QTotaisSin" DataSetName="QTotaisSin" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text=""/>
      <TfrxMemoView Name="RS_VlrUnitario" Align="baRight" Left="234,3311041" Top="0" Width="75,59055118" Height="18,89765" ShowHint="False" DataSet="QTotaisSin" DataSetName="QTotaisSin" DisplayFormat.FormatStr="%2.3f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text=""/>
    </TfrxReportSummary>
    <TfrxPageFooter Name="PageFooter1" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Height="15,11812" Left="0" ParentFont="False" Top="376" Width="718,1107">
      <TfrxSysMemoView Name="SysMemo3" Align="baRight" Left="551,81138" Top="0,13385827" Width="166,29932" Height="15,11812" ShowHint="False" Font.Charset="0" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[PAGE#]/[TOTALPAGES#]"/>
    </TfrxPageFooter>
    <TfrxMasterData Name="MasterData1" Height="26,45671" Left="0" Top="160" Width="718,1107" ColumnWidth="0" ColumnGap="0" DataSet="QPrincipal" DataSetName="QPrincipal" PrintIfDetailEmpty="True" RowCount="0">
      <TfrxMemoView Name="NomeCli" Align="baWidth" Left="0" Top="0" Width="158,74055292" Height="26,45671" ShowHint="False" DataSet="QPrincipal" DataSetName="QPrincipal" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Courier New" Font.Style="0" Highlight.Font.Charset="1" Highlight.Font.Color="0" Highlight.Font.Height="-11" Highlight.Font.Name="Courier New" Highlight.Font.Style="1" Highlight.Condition="&#60;Tipo&#62;=1" ParentFont="False" VAlign="vaCenter" Text="[QPrincipal.&#34;FGO_CODCLI&#34;] - [QPrincipal.&#34;NomeCliente&#34;]"/>
      <TfrxMemoView Name="GH_VlrUnitario" Align="baRight" Left="234,3311041" Top="0" Width="75,59055118" Height="26,45671" ShowHint="False" DataSet="QPrincipal" DataSetName="QPrincipal" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="DBDS_QryPrincTOTAL_CUSTO" Align="baRight" Left="309,92165528" Top="0" Width="75,59055118" Height="26,45671" ShowHint="False" DataField="TOTAL_VENDA" DataSet="QPrincipal" DataSetName="QPrincipal" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[QPrincipal.&#34;TOTAL_VENDA&#34;]"/>
      <TfrxMemoView Name="DBDS_QryPrincTOTAL_LUCRO" Align="baRight" Left="385,51220646" Top="0" Width="75,59055118" Height="26,45671" ShowHint="False" DataField="TOTAL_CUSTO" DataSet="QPrincipal" DataSetName="QPrincipal" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[QPrincipal.&#34;TOTAL_CUSTO&#34;]"/>
      <TfrxMemoView Name="Per_Representacao" Align="baRight" Left="612,28386" Top="0" Width="105,82684" Height="26,45671" ShowHint="False" DataField="TotRepres" DataSet="QPrincipal" DataSetName="QPrincipal" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[QPrincipal.&#34;TotRepres&#34;]"/>
      <TfrxMemoView Name="Mem_PercentagemLucro" Align="baRight" Left="461,10275764" Top="0" Width="75,59055118" Height="26,45671" ShowHint="False" DataField="TOTAL_LUCRO" DataSet="QPrincipal" DataSetName="QPrincipal" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[QPrincipal.&#34;TOTAL_LUCRO&#34;]"/>
      <TfrxMemoView Name="Memo12" Align="baRight" Left="536,69330882" Top="0" Width="75,59055118" Height="26,45671" ShowHint="False" DataField="TOTAL_MARGEM" DataSet="QPrincipal" DataSetName="QPrincipal" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[QPrincipal.&#34;TOTAL_MARGEM&#34;]"/>
      <TfrxMemoView Name="Memo1" Align="baRight" Left="158,74055292" Top="0" Width="75,59055118" Height="26,45671" ShowHint="False" DataField="TOTAL_QTD" DataSet="QPrincipal" DataSetName="QPrincipal" DisplayFormat.FormatStr="%2.3n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[QPrincipal.&#34;TOTAL_QTD&#34;]"/>
    </TfrxMasterData>
    <TfrxDetailData Name="Detalhe" Height="15,11812" Left="0" Top="264" Width="718,1107" ColumnWidth="0" ColumnGap="0" DataSet="QDetalhe" DataSetName="QDetalhe" RowCount="0">
      <TfrxMemoView Name="QTotaisSinTOTAL_VENDA" Align="baRight" Left="309,92165528" Top="0" Width="75,59055118" Height="15,11812" ShowHint="False" DataField="TOTAL_VENDA" DataSet="QDetalhe" DataSetName="QDetalhe" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[QDetalhe.&#34;TOTAL_VENDA&#34;]"/>
      <TfrxMemoView Name="QDetalheTOTAL_VENDA" Align="baRight" Left="385,51220646" Top="0" Width="75,59055118" Height="15,11812" ShowHint="False" DataField="TOTAL_CUSTO" DataSet="QDetalhe" DataSetName="QDetalhe" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[QDetalhe.&#34;TOTAL_CUSTO&#34;]"/>
      <TfrxMemoView Name="QDetalheTOTAL_CUSTO" Align="baRight" Left="461,10275764" Top="0" Width="75,59055118" Height="15,11812" ShowHint="False" DataField="TOTAL_LUCRO" DataSet="QDetalhe" DataSetName="QDetalhe" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[QDetalhe.&#34;TOTAL_LUCRO&#34;]"/>
      <TfrxMemoView Name="QDetalhePor_Lucro" Align="baRight" Left="536,69330882" Top="0" Width="75,59055118" Height="15,11812" ShowHint="False" DataField="Por_Lucro" DataSet="QDetalhe" DataSetName="QDetalhe" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[QDetalhe.&#34;Por_Lucro&#34;]"/>
      <TfrxMemoView Name="QDetalheite_descri" Align="baWidth" Left="117,16543" Top="0" Width="41,57512292" Height="15,11812" ShowHint="False" DataSet="QDetalhe" DataSetName="QDetalhe" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[QDetalhe.&#34;ite_descri&#34;]"/>
      <TfrxMemoView Name="QDetalheTOTAL_QTD" Align="baRight" Left="158,74055292" Top="0" Width="75,59055118" Height="15,11812" ShowHint="False" DataField="TOTAL_QTD" DataSet="QDetalhe" DataSetName="QDetalhe" DisplayFormat.FormatStr="%2.3f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[QDetalhe.&#34;TOTAL_QTD&#34;]"/>
      <TfrxMemoView Name="Memo25" Align="baRight" Left="612,28386" Top="0" Width="105,82684" Height="15,11812" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haCenter" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo26" Align="baLeft" Left="0" Top="0" Width="15,11812" Height="15,11812" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haCenter" ParentFont="False" Text=""/>
      <TfrxMemoView Name="QDetalheCodBar" Align="baLeft" Left="15,11812" Top="0" Width="102,04731" Height="15,11812" ShowHint="False" DataField="CodBar" DataSet="QDetalhe" DataSetName="QDetalhe" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="[QDetalhe.&#34;CodBar&#34;]"/>
      <TfrxMemoView Name="DD_VlrUnitario" Align="baRight" Left="234,3311041" Top="0" Width="75,59055118" Height="15,11812" ShowHint="False" DataField="FDO_UNITAR" DataSet="QDetalhe" DataSetName="QDetalhe" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[QDetalhe.&#34;FDO_UNITAR&#34;]"/>
    </TfrxDetailData>
    <TfrxGroupHeader Name="GHDetalhe" Height="34,01577" Left="0" Top="208" Width="718,1107" Condition="QDetalhe.&#34;FGO_NUMDOC&#34;">
      <TfrxMemoView Name="QDetalheFGO_DTAENT" Align="baLeft" Left="75,5906" Top="15,79527559" Width="83,14966" Height="15,11812" ShowHint="False" DataField="FGO_DTAENT" DataSet="QDetalhe" DataSetName="QDetalhe" DisplayFormat.FormatStr="dd/mm/yyyy" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" Frame.Typ="8" HAlign="haCenter" Highlight.Font.Charset="1" Highlight.Font.Color="0" Highlight.Font.Height="-12" Highlight.Font.Name="Courier New" Highlight.Font.Style="1" Highlight.Condition="&#60;Tipo&#62;=1" ParentFont="False" Text="[QDetalhe.&#34;FGO_DTAENT&#34;]"/>
      <TfrxMemoView Name="QDetalheFGO_CODDIG" Align="baWidth" Left="158,74026" Top="16" Width="453,5436" Height="15,11812" ShowHint="False" DataField="FGO_CODDIG" DataSet="QDetalhe" DataSetName="QDetalhe" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" Frame.Typ="8" Highlight.Font.Charset="1" Highlight.Font.Color="0" Highlight.Font.Height="-12" Highlight.Font.Name="Courier New" Highlight.Font.Style="1" Highlight.Condition="&#60;Tipo&#62;=1" ParentFont="False" Text="[QDetalhe.&#34;FGO_CODDIG&#34;]"/>
      <TfrxMemoView Name="QDetalheFGO_NUMDOC" Align="baLeft" Left="15,11812" Top="16" Width="60,47248" Height="15,11812" ShowHint="False" DataField="FGO_NUMDOC" DataSet="QDetalhe" DataSetName="QDetalhe" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" Frame.Typ="8" Highlight.Font.Charset="1" Highlight.Font.Color="0" Highlight.Font.Height="-12" Highlight.Font.Name="Courier New" Highlight.Font.Style="1" Highlight.Condition="&#60;Tipo&#62;=1" ParentFont="False" Text="[QDetalhe.&#34;FGO_NUMDOC&#34;]"/>
      <TfrxMemoView Name="GH_Cab2" Align="baLeft" Left="75,5906" Top="0" Width="83,14966" Height="15,11812" ShowHint="False" DataSet="QDetalhe" DataSetName="QDetalhe" DisplayFormat.FormatStr="dd/mm/yyyy" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haCenter" Highlight.Font.Charset="1" Highlight.Font.Color="0" Highlight.Font.Height="-12" Highlight.Font.Name="Courier New" Highlight.Font.Style="1" Highlight.Condition="&#60;Tipo&#62;=1" ParentFont="False" Text="Data"/>
      <TfrxMemoView Name="GH_Cab3" Align="baWidth" Left="158,74026" Top="0" Width="453,5436" Height="15,11812" ShowHint="False" DataSet="QDetalhe" DataSetName="QDetalhe" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" Highlight.Font.Charset="1" Highlight.Font.Color="0" Highlight.Font.Height="-12" Highlight.Font.Name="Courier New" Highlight.Font.Style="1" Highlight.Condition="&#60;Tipo&#62;=1" ParentFont="False" Text="Digitador"/>
      <TfrxMemoView Name="GH_Cab1" Align="baLeft" Left="15,11812" Top="0" Width="60,47248" Height="15,11812" ShowHint="False" DataSet="QDetalhe" DataSetName="QDetalhe" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haCenter" Highlight.Font.Charset="1" Highlight.Font.Color="0" Highlight.Font.Height="-12" Highlight.Font.Name="Courier New" Highlight.Font.Style="1" Highlight.Condition="&#60;Tipo&#62;=1" ParentFont="False" Text="Nº Doc."/>
      <TfrxMemoView Name="Memo28" Align="baRight" Left="612,28386" Top="0" Width="105,82684" Height="30,23624" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haCenter" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo29" Align="baLeft" Left="0" Top="0" Width="15,11812" Height="30,23624" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haCenter" ParentFont="False" Text=""/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GFDetalhe" Height="15,11812" Left="0" Top="300" Width="718,1107">
      <TfrxMemoView Name="Memo20" Align="baRight" Left="536,69326" Top="0" Width="75,5906" Height="15,11812" ShowHint="False" DataField="PorLucro" DataSet="QTotaisDetalhe" DataSetName="QTotaisDetalhe" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[QTotaisDetalhe.&#34;PorLucro&#34;]"/>
      <TfrxMemoView Name="Memo24" Align="baRight" Left="612,28386" Top="0" Width="105,82684" Height="15,11812" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haCenter" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo27" Align="baLeft" Left="0" Top="0" Width="15,11812" Height="15,11812" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haCenter" ParentFont="False" Text=""/>
      <TfrxSysMemoView Name="SysMemo6" Align="baRight" Left="234,33086" Top="0" Width="75,5906" Height="15,11812" ShowHint="False" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo14" Align="baRight" Left="461,10266" Top="0" Width="75,5906" Height="15,11812" ShowHint="False" DataField="TotLucro" DataSet="QTotaisDetalhe" DataSetName="QTotaisDetalhe" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[QTotaisDetalhe.&#34;TotLucro&#34;]"/>
      <TfrxMemoView Name="Memo21" Align="baRight" Left="385,51206" Top="0" Width="75,5906" Height="15,11812" ShowHint="False" DataField="TotCusto" DataSet="QTotaisDetalhe" DataSetName="QTotaisDetalhe" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[QTotaisDetalhe.&#34;TotCusto&#34;]"/>
      <TfrxMemoView Name="Memo22" Align="baRight" Left="309,92146" Top="0" Width="75,5906" Height="15,11812" ShowHint="False" DataField="TotVenda" DataSet="QTotaisDetalhe" DataSetName="QTotaisDetalhe" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[QTotaisDetalhe.&#34;TotVenda&#34;]"/>
      <TfrxMemoView Name="Memo23" Align="baWidth" Left="15,11812" Top="0" Width="219,21274" Height="15,11812" ShowHint="False" DataField="TotQtde" DataSet="QTotaisDetalhe" DataSetName="QTotaisDetalhe" DisplayFormat.FormatStr="%2.3f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[QTotaisDetalhe.&#34;TotQtde&#34;]"/>
    </TfrxGroupFooter>
  </TfrxReportPage>
</TfrxReport>
