<?xml version="1.0" encoding="utf-8"?>
<TfrxReport Tag="1" Version="5.2.3" DotMatrixReport="False" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="37871,9961568403" ReportOptions.Description.Text="Demonstrates how to create Master/Detail/SubDetail report. This report contains three data-bands which are connected to datasets." ReportOptions.LastChange="43614,4656021644" ScriptLanguage="PascalScript" ScriptText.Text="procedure Picture2OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  Picture2.Filelink := &#60;frxDBDataset1.&#34;ARQ_LOGOTIPO&#34;&#62;;  &#13;&#10;end;&#13;&#10;&#13;&#10;procedure Picture1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  Picture1.Filelink := &#60;frxDBDataset1.&#34;ARQ_LOGOTIPO&#34;&#62;;  &#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;end." OnReportPrint="frxReportOnReportPrint">
  <Datasets>
    <item DataSet="frxDBDataset1" DataSetName="frxDBDataset1"/>
    <item DataSet="frxDBDataset2" DataSetName="frxDBDataset2"/>
  </Datasets>
  <Variables>
    <item Name=" Periodo"/>
    <item Name="Periodo"/>
  </Variables>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
  <TfrxReportPage Name="Page1" Visible="False" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="5" RightMargin="5" TopMargin="5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="22,67718" Left="0" Top="464,88219" Width="755,906">
      <TfrxMemoView Name="Memo17" Left="-3,77953" Top="3,77953" Width="755,906" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="4" Frame.Width="2" HAlign="haRight" ParentFont="False" Text="Página: [Page] de [TotalPages#]"/>
      <TfrxMemoView Name="Memo18" Left="0" Top="3,77953" Width="275,90569" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" ParentFont="False" Text="Emissão: [Date] às [Time]"/>
    </TfrxPageFooter>
    <TfrxPageHeader Name="PageHeader2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="64,25201" Left="0" Top="18,89765" Width="755,906">
      <TfrxMemoView Name="Memo21" Left="196,53556" Top="41,57483" Width="408,18924" Height="18,89765" DataField="RAZAO_SOCIAL" DataSet="frxDBDataset1" DataSetName="frxDBDataset1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" ParentFont="False" Text="[frxDBDataset1.&#34;RAZAO_SOCIAL&#34;]"/>
      <TfrxMemoView Name="Memo28" Left="555,59054386" Top="41,57483" Width="204,09462" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" HAlign="haRight" ParentFont="False" Text="Emissão: [Date] às [Time]"/>
      <TfrxMemoView Name="Memo30" Left="196,53556" Top="0" Width="555,59091" Height="26,45671" Font.Charset="1" Font.Color="-16777210" Font.Height="-19" Font.Name="Courier New" Font.Style="1" HAlign="haCenter" ParentFont="False" Text="Relatório Pré-Venda Materiais por Margem (Vnd)"/>
      <TfrxLineView Name="Line1" Left="755,906" Top="61,16543" Width="-755,906" Height="0" Color="0" Diagonal="True"/>
      <TfrxPictureView Name="Picture2" Left="0" Top="0" Width="196,53556" Height="56,69295" OnBeforePrint="Picture2OnBeforePrint" DataField="LOGO" DataSet="frxDBDataset1" DataSetName="frxDBDataset1" HightQuality="False" Transparent="False" TransparentColor="16777215"/>
      <TfrxMemoView Name="Memo3" Left="196,53556" Top="26,45671" Width="555,59091" Height="11,33859" DataSet="frxDBDataset1" DataSetName="frxDBDataset1" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="1" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Período:  [Periodo]"/>
    </TfrxPageHeader>
    <TfrxMasterData Name="MasterData2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Height="11,33859" Left="0" ParentFont="False" Top="355,27582" Width="755,906" ColumnWidth="0" ColumnGap="0" DataSet="frxDBDataset2" DataSetName="frxDBDataset2" RowCount="0">
      <TfrxMemoView Name="Memo41" Left="22,67718" Top="0" Width="45,35436" Height="11,33859" DataField="MATERIAL" DataSet="frxDBDataset2" DataSetName="frxDBDataset2" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" ParentFont="False" Text="[frxDBDataset2.&#34;MATERIAL&#34;]"/>
      <TfrxMemoView Name="Memo42" Left="68,03154" Top="0" Width="358,29895874" Height="11,33859" DataField="DESC_COMPLETA" DataSet="frxDBDataset2" DataSetName="frxDBDataset2" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="12632256" ParentFont="False" Text="[frxDBDataset2.&#34;DESC_COMPLETA&#34;]"/>
      <TfrxMemoView Name="Memo43" Left="510,23655" Top="0" Width="71,81107" Height="11,33859" DataField="QTDE_TOTAL" DataSet="frxDBDataset2" DataSetName="frxDBDataset2" DisplayFormat.FormatStr="%2.3n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="1" HAlign="haRight" ParentFont="False" Text="[frxDBDataset2.&#34;QTDE_TOTAL&#34;]"/>
      <TfrxMemoView Name="Memo44" Left="430,86642" Top="0" Width="30,23624" Height="11,33859" DataField="UNIDADE" DataSet="frxDBDataset2" DataSetName="frxDBDataset2" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" ParentFont="False" Text="[frxDBDataset2.&#34;UNIDADE&#34;]"/>
      <TfrxMemoView Name="Memo54" Left="582,04762" Top="0" Width="64,25201" Height="11,33859" DataField="VLR_TOTAL" DataSet="frxDBDataset2" DataSetName="frxDBDataset2" DisplayFormat.FormatStr="%2.3n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="1" HAlign="haRight" ParentFont="False" Text="[frxDBDataset2.&#34;VLR_TOTAL&#34;]"/>
      <TfrxMemoView Name="Memo5" Left="468,66172" Top="0" Width="30,23624" Height="11,33859" DataField="TABELA" DataSet="frxDBDataset2" DataSetName="frxDBDataset2" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[frxDBDataset2.&#34;TABELA&#34;]"/>
      <TfrxMemoView Name="Memo7" Left="646,29963" Top="0" Width="60,47248" Height="11,33859" DataSet="frxDBDataset2" DataSetName="frxDBDataset2" DisplayFormat.FormatStr="%2.3n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="1" HAlign="haRight" ParentFont="False" Text="[(IIF(&#60;frxDBDataset2.&#34;PRECO_CUSTO&#34;&#62; &#62; 0,&#60;frxDBDataset2.&#34;PRECO_CUSTO&#34;&#62;, 0))]"/>
      <TfrxMemoView Name="Memo9" Left="710,43352" Top="0" Width="45,35436" Height="11,33859" DataSet="frxDBDataset2" DataSetName="frxDBDataset2" DisplayFormat.FormatStr="%2.1n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="1" HAlign="haRight" Highlight.Font.Charset="0" Highlight.Font.Color="255" Highlight.Font.Height="-9" Highlight.Font.Name="Tahoma" Highlight.Font.Style="1" Highlight.Condition="Value &#60; 15" Highlight.FillType="ftBrush" Highlight.Fill.BackColor="65535" ParentFont="False" Text="[IIF(&#60;frxDBDataset2.&#34;PRECO_CUSTO&#34;&#62; &#62; 0,((&#60;frxDBDataset2.&#34;VLR_TOTAL&#34;&#62;)/(&#60;frxDBDataset2.&#34;PRECO_CUSTO&#34;&#62; * &#60;frxDBDataset2.&#34;QTDE_TOTAL&#34;&#62;) * 100) - 100, 0)]"/>
    </TfrxMasterData>
    <TfrxGroupHeader Name="GroupHeader3" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="15,11812" Left="0" Top="230,55133" Width="755,906" Condition="frxDBDataset2.&#34;DESC_SECAO&#34;">
      <TfrxMemoView Name="Memo45" Left="-3,77953" Top="0" Width="340,1577" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" ParentFont="False" Text="[frxDBDataset2.&#34;DESC_SECAO&#34;]"/>
    </TfrxGroupHeader>
    <TfrxGroupHeader Name="GroupHeader4" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="15,11812" Left="0" Top="268,34663" Width="755,906" Condition="frxDBDataset2.&#34;DESC_GRUPO&#34;">
      <TfrxMemoView Name="Memo46" Left="3,77953" Top="0" Width="328,81911" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" ParentFont="False" Text="[frxDBDataset2.&#34;DESC_GRUPO&#34;]"/>
    </TfrxGroupHeader>
    <TfrxGroupHeader Name="GroupHeader5" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="26,45674173" Left="0" Top="306,14193" Width="755,906" Condition="frxDBDataset2.&#34;DESC_SUBGRP&#34;">
      <TfrxMemoView Name="Memo47" Left="11,33859" Top="0" Width="321,26005" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" ParentFont="False" Text="[frxDBDataset2.&#34;DESC_SUBGRP&#34;]"/>
      <TfrxMemoView Name="Memo48" Left="18,89765" Top="11,33862173" Width="49,13389" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="8" ParentFont="False" Text="Material"/>
      <TfrxMemoView Name="Memo49" Left="68,03154" Top="11,33859" Width="359,05535" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="8" ParentFont="False" Text="Descrição Completa"/>
      <TfrxMemoView Name="Memo50" Left="430,86642" Top="11,33862173" Width="30,23624" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="8" ParentFont="False" Text="Unid"/>
      <TfrxMemoView Name="Memo51" Left="514,01608" Top="11,33862173" Width="68,03154" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="8" HAlign="haRight" ParentFont="False" Text="Qtde Total"/>
      <TfrxMemoView Name="Memo53" Left="582,04762" Top="11,33859" Width="64,25201" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="8" HAlign="haRight" ParentFont="False" Text="Vlr Total"/>
      <TfrxMemoView Name="Memo4" Left="464,88219" Top="11,33859" Width="45,35436" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="8" HAlign="haCenter" ParentFont="False" Text="Tabela"/>
      <TfrxMemoView Name="Memo6" Left="646,29963" Top="11,33859" Width="60,47248" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="8" HAlign="haRight" ParentFont="False" Text="Custo"/>
      <TfrxMemoView Name="Memo8" Left="721,89023" Top="11,33859" Width="30,23624" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="8" HAlign="haRight" ParentFont="False" Text="%"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="15,11812" Left="0" Top="389,29159" Width="755,906"/>
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="22,67718" Left="0" Top="143,62214" Width="755,906" Condition="frxDBDataset2.&#34;EMPRESA&#34;">
      <TfrxMemoView Name="Memo1" Left="0" Top="0" Width="336,37817" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" ParentFont="False" Text="Empresa: [frxDBDataset2.&#34;EMPRESA&#34;]"/>
    </TfrxGroupHeader>
    <TfrxGroupHeader Name="GroupHeader2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="18,89765" Left="0" Top="188,9765" Width="755,906" Condition="frxDBDataset2.&#34;NOME&#34;">
      <TfrxMemoView Name="Memo2" Left="0" Top="0" Width="351,49629" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" Fill.BackColor="65535" ParentFont="False" Text="Vendedor: [frxDBDataset2.&#34;NOME&#34;]"/>
    </TfrxGroupHeader>
  </TfrxReportPage>
  <TfrxReportPage Name="Page2" Visible="False" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="5" RightMargin="5" TopMargin="5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="64,25201" Left="0" Top="18,89765" Width="755,906">
      <TfrxMemoView Name="Memo10" Left="196,53556" Top="41,57483" Width="408,18924" Height="18,89765" DataField="RAZAO_SOCIAL" DataSet="frxDBDataset1" DataSetName="frxDBDataset1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" ParentFont="False" Text="[frxDBDataset1.&#34;RAZAO_SOCIAL&#34;]"/>
      <TfrxMemoView Name="Memo11" Left="555,59054386" Top="41,57483" Width="204,09462" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" HAlign="haRight" ParentFont="False" Text="Emissão: [Date] às [Time]"/>
      <TfrxMemoView Name="Memo12" Left="196,53556" Top="0" Width="555,59091" Height="26,45671" Font.Charset="1" Font.Color="-16777210" Font.Height="-19" Font.Name="Courier New" Font.Style="1" HAlign="haCenter" ParentFont="False" Text="Relatório Pré-Venda Materiais por Margem (Emp)"/>
      <TfrxLineView Name="Line2" Left="755,906" Top="61,16543" Width="-755,906" Height="0" Color="0" Diagonal="True"/>
      <TfrxPictureView Name="Picture1" Left="0" Top="0" Width="196,53556" Height="56,69295" OnBeforePrint="Picture1OnBeforePrint" DataField="LOGO" DataSet="frxDBDataset1" DataSetName="frxDBDataset1" HightQuality="False" Transparent="False" TransparentColor="16777215"/>
      <TfrxMemoView Name="Memo13" Left="196,53556" Top="26,45671" Width="555,59091" Height="11,33859" DataSet="frxDBDataset1" DataSetName="frxDBDataset1" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="1" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Período:  [Periodo]"/>
    </TfrxPageHeader>
    <TfrxGroupHeader Name="GroupHeader6" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="22,67718" Left="0" Top="143,62214" Width="755,906" Condition="frxDBDataset2.&#34;EMPRESA&#34;">
      <TfrxMemoView Name="Memo14" Left="0" Top="0" Width="336,37817" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" ParentFont="False" Text="Empresa: [frxDBDataset2.&#34;EMPRESA&#34;]"/>
    </TfrxGroupHeader>
    <TfrxGroupHeader Name="GroupHeader7" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="15,11812" Left="0" Top="188,9765" Width="755,906" Condition="frxDBDataset2.&#34;DESC_SECAO&#34;">
      <TfrxMemoView Name="Memo15" Left="-3,77953" Top="0" Width="340,1577" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" ParentFont="False" Text="[frxDBDataset2.&#34;DESC_SECAO&#34;]"/>
    </TfrxGroupHeader>
    <TfrxGroupHeader Name="GroupHeader8" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="15,11812" Left="0" Top="226,7718" Width="755,906" Condition="frxDBDataset2.&#34;DESC_GRUPO&#34;">
      <TfrxMemoView Name="Memo16" Left="3,77953" Top="0" Width="328,81911" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" ParentFont="False" Text="[frxDBDataset2.&#34;DESC_GRUPO&#34;]"/>
    </TfrxGroupHeader>
    <TfrxGroupHeader Name="GroupHeader9" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="26,45674173" Left="0" Top="264,5671" Width="755,906" Condition="frxDBDataset2.&#34;DESC_SUBGRP&#34;">
      <TfrxMemoView Name="Memo19" Left="11,33859" Top="0" Width="321,26005" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" ParentFont="False" Text="[frxDBDataset2.&#34;DESC_SUBGRP&#34;]"/>
      <TfrxMemoView Name="Memo20" Left="18,89765" Top="11,33862173" Width="49,13389" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="8" ParentFont="False" Text="Material"/>
      <TfrxMemoView Name="Memo22" Left="68,03154" Top="11,33859" Width="359,05535" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="8" ParentFont="False" Text="Descrição Completa"/>
      <TfrxMemoView Name="Memo23" Left="430,86642" Top="11,33862173" Width="30,23624" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="8" ParentFont="False" Text="Unid"/>
      <TfrxMemoView Name="Memo24" Left="514,01608" Top="11,33862173" Width="68,03154" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="8" HAlign="haRight" ParentFont="False" Text="Qtde Total"/>
      <TfrxMemoView Name="Memo25" Left="582,04762" Top="11,33859" Width="64,25201" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="8" HAlign="haRight" ParentFont="False" Text="Vlr Total"/>
      <TfrxMemoView Name="Memo26" Left="464,88219" Top="11,33859" Width="45,35436" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="8" HAlign="haCenter" ParentFont="False" Text="Tabela"/>
      <TfrxMemoView Name="Memo27" Left="646,29963" Top="11,33859" Width="60,47248" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="8" HAlign="haRight" ParentFont="False" Text="Custo"/>
      <TfrxMemoView Name="Memo29" Left="721,89023" Top="11,33859" Width="30,23624" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="8" HAlign="haRight" ParentFont="False" Text="%"/>
    </TfrxGroupHeader>
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Height="11,33859" Left="0" ParentFont="False" Top="313,70099" Width="755,906" ColumnWidth="0" ColumnGap="0" DataSet="frxDBDataset2" DataSetName="frxDBDataset2" RowCount="0">
      <TfrxMemoView Name="Memo31" Left="22,67718" Top="0" Width="45,35436" Height="11,33859" DataField="MATERIAL" DataSet="frxDBDataset2" DataSetName="frxDBDataset2" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" ParentFont="False" Text="[frxDBDataset2.&#34;MATERIAL&#34;]"/>
      <TfrxMemoView Name="Memo32" Left="68,03154" Top="0" Width="358,29895874" Height="11,33859" DataField="DESC_COMPLETA" DataSet="frxDBDataset2" DataSetName="frxDBDataset2" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" Frame.Color="12632256" ParentFont="False" Text="[frxDBDataset2.&#34;DESC_COMPLETA&#34;]"/>
      <TfrxMemoView Name="Memo33" Left="510,23655" Top="0" Width="71,81107" Height="11,33859" DataField="QTDE_TOTAL" DataSet="frxDBDataset2" DataSetName="frxDBDataset2" DisplayFormat.FormatStr="%2.3n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="1" HAlign="haRight" ParentFont="False" Text="[frxDBDataset2.&#34;QTDE_TOTAL&#34;]"/>
      <TfrxMemoView Name="Memo34" Left="430,86642" Top="0" Width="30,23624" Height="11,33859" DataField="UNIDADE" DataSet="frxDBDataset2" DataSetName="frxDBDataset2" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" ParentFont="False" Text="[frxDBDataset2.&#34;UNIDADE&#34;]"/>
      <TfrxMemoView Name="Memo35" Left="582,04762" Top="0" Width="64,25201" Height="11,33859" DataField="VLR_TOTAL" DataSet="frxDBDataset2" DataSetName="frxDBDataset2" DisplayFormat.FormatStr="%2.3n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="1" HAlign="haRight" ParentFont="False" Text="[frxDBDataset2.&#34;VLR_TOTAL&#34;]"/>
      <TfrxMemoView Name="Memo36" Left="468,66172" Top="0" Width="30,23624" Height="11,33859" DataField="TABELA" DataSet="frxDBDataset2" DataSetName="frxDBDataset2" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[frxDBDataset2.&#34;TABELA&#34;]"/>
      <TfrxMemoView Name="Memo37" Left="646,29963" Top="0" Width="60,47248" Height="11,33859" DataSet="frxDBDataset2" DataSetName="frxDBDataset2" DisplayFormat.FormatStr="%2.3n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="1" HAlign="haRight" ParentFont="False" Text="[(IIF(&#60;frxDBDataset2.&#34;PRECO_CUSTO&#34;&#62; &#62; 0,&#60;frxDBDataset2.&#34;PRECO_CUSTO&#34;&#62;, 0))]"/>
      <TfrxMemoView Name="Memo38" Left="710,43352" Top="0" Width="45,35436" Height="11,33859" DataSet="frxDBDataset2" DataSetName="frxDBDataset2" DisplayFormat.FormatStr="%2.1n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="1" HAlign="haRight" Highlight.Font.Charset="0" Highlight.Font.Color="255" Highlight.Font.Height="-9" Highlight.Font.Name="Tahoma" Highlight.Font.Style="1" Highlight.Condition="Value &#60; 15" Highlight.FillType="ftBrush" Highlight.Fill.BackColor="65535" ParentFont="False" Text="[IIF(&#60;frxDBDataset2.&#34;PRECO_CUSTO&#34;&#62; &#62; 0,((&#60;frxDBDataset2.&#34;VLR_TOTAL&#34;&#62;)/(&#60;frxDBDataset2.&#34;PRECO_CUSTO&#34;&#62; * &#60;frxDBDataset2.&#34;QTDE_TOTAL&#34;&#62;) * 100) - 100, 0)]"/>
    </TfrxMasterData>
    <TfrxGroupFooter Name="GroupFooter2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="15,11812" Left="0" Top="347,71676" Width="755,906"/>
    <TfrxPageFooter Name="PageFooter2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="22,67718" Left="0" Top="468,66172" Width="755,906">
      <TfrxMemoView Name="Memo39" Left="-3,77953" Top="3,77953" Width="755,906" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="4" Frame.Width="2" HAlign="haRight" ParentFont="False" Text="Página: [Page] de [TotalPages#]"/>
      <TfrxMemoView Name="Memo40" Left="0" Top="3,77953" Width="275,90569" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" ParentFont="False" Text="Emissão: [Date] às [Time]"/>
    </TfrxPageFooter>
    <TfrxReportSummary Name="ReportSummary1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="22,67718" Left="0" Top="423,30736" Width="755,906">
      <TfrxSysMemoView Name="SysMemo2" Left="385,51206" Top="3,77953" Width="124,72449" Height="15,11812" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="4" Fill.BackColor="14211288" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;frxDBDataset2.&#34;VLR_TOTAL&#34;&#62;,MasterData1)]"/>
      <TfrxSysMemoView Name="SysMemo3" Left="525,35467" Top="3,77953" Width="117,16543" Height="15,11812" DisplayFormat.FormatStr="%2.2f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="4" Fill.BackColor="14211288" HAlign="haRight" ParentFont="False" Text="[SUM((&#60;frxDBDataset2.&#34;PRECO_CUSTO&#34;&#62; * &#60;frxDBDataset2.&#34;QTDE_TOTAL&#34;&#62;),MasterData1)]"/>
      <TfrxSysMemoView Name="SysMemo1" Left="665,19728" Top="3,77953" Width="75,5906" Height="15,11812" DisplayFormat.FormatStr="%2.1f" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="4" Fill.BackColor="14211288" HAlign="haRight" ParentFont="False" Text="[(((SUM(&#60;frxDBDataset2.&#34;VLR_TOTAL&#34;&#62;,MasterData1)/(SUM((&#60;frxDBDataset2.&#34;PRECO_CUSTO&#34;&#62; * &#60;frxDBDataset2.&#34;QTDE_TOTAL&#34;&#62;),MasterData1)))*100)-100)]"/>
      <TfrxMemoView Name="Memo52" Left="306,14193" Top="3,77953" Width="75,5906" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" ParentFont="False" Text="Total Geral:"/>
    </TfrxReportSummary>
  </TfrxReportPage>
</TfrxReport>
