<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="5.4.6" 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="43308,6633642593" ScriptLanguage="PascalScript" ScriptText.Text="procedure MasterData2OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if &#60;dadosmateria.&#34;descunidade&#34;&#62; = 'KG' then&#13;&#10;  begin&#13;&#10;    memo12.text := 'G';&#13;&#10;    memo8.text := &#60;dadosmateria.&#34;quantidade&#34;&#62;*1000;&#13;&#10;  end&#13;&#10;  else&#13;&#10;  begin&#13;&#10;    memo12.text := &#60;dadosmateria.&#34;descunidade&#34;&#62;;&#13;&#10;    memo8.text := &#60;dadosmateria.&#34;quantidade&#34;&#62;;&#13;&#10;  end;&#13;&#10;&#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;&#13;&#10;end." StoreInDFM="False">
  <Datasets>
    <item DataSet="dados" DataSetName="dados"/>
    <item DataSet="dadosmateria" DataSetName="dadosmateria"/>
    <item DataSet="dadosprontos" DataSetName="dadosprontos"/>
    <item DataSet="fparametros" DataSetName="parametros"/>
  </Datasets>
  <Variables>
    <item Name=" externas"/>
    <item Name="logo"/>
    <item Name="Logo1"/>
    <item Name="Logo2"/>
    <item Name="Logo3"/>
    <item Name="Logo4"/>
  </Variables>
  <TfrxDataPage Name="frxDataPage1" Height="1000" Left="0" Top="0" Width="1000"/>
  <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" PrintIfEmpty="False" HGuides.Text="" VGuides.Text="">
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="15,1181078" Left="0" Top="291,02381" Width="718,1107" ColumnWidth="0" ColumnGap="0" DataSet="dadosprontos" DataSetName="dadosprontos" KeepFooter="True" KeepHeader="True" RowCount="0">
      <TfrxMemoView Name="Memo10" Left="0" Top="0" Width="74,83437472" Height="15,11812" DataField="produto" DataSet="dadosprontos" DataSetName="dadosprontos" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="[dadosprontos.&#34;produto&#34;]"/>
      <TfrxMemoView Name="Memo11" Left="74,81107" Top="0" Width="305,38570472" Height="15,11812" DataField="nomeproduto" DataSet="dadosprontos" DataSetName="dadosprontos" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[dadosprontos.&#34;nomeproduto&#34;]"/>
      <TfrxMemoView Name="Memo30" Left="453,70099" Top="0" Width="263,81087472" Height="15,11812" DataField="quantidade" DataSet="dadosprontos" DataSetName="dadosprontos" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[dadosprontos.&#34;quantidade&#34;]"/>
      <TfrxMemoView Name="Memo49" Left="374,70099" Top="0" Width="78,61390472" Height="15,11812" DataField="descunidade" DataSet="dadosprontos" DataSetName="dadosprontos" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[dadosprontos.&#34;descunidade&#34;]"/>
    </TfrxMasterData>
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="163,74026" Left="0" Top="18,89765" Width="718,1107">
      <TfrxMemoView Name="Memo2" Left="79,69295" Top="0,34632" Width="506,45702" Height="18,89765" DataSet="Form_Venda.fparametros" DataSetName="parametros" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" Text="[parametros.&#34;fantasia&#34;]"/>
      <TfrxMemoView Name="Memo29" Left="197,9765" Top="27,69295" Width="306,14193" Height="22,67718" DataSet="Form_Venda.fparametros" DataSetName="parametros" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" Text="PRODUÇÃO"/>
      <TfrxMemoView Name="Memo6" Left="0" Top="144,84261" Width="74,83437472" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="13" ParentFont="False" VAlign="vaCenter" Text="Quantidade"/>
      <TfrxMemoView Name="Memo7" Left="74,81107" Top="144,84261" Width="302,36210465" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="12" ParentFont="False" VAlign="vaCenter" Text="Descrição"/>
      <TfrxMemoView Name="Memo9" Left="453,10266" Top="144,84261" Width="263,81087472" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="14" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Quantidade"/>
      <TfrxMemoView Name="Memo18" Left="561,14997" Top="2,45671" Width="151,18095591" Height="18,89765" DataSet="Form_Venda.cliente" DataSetName="cliente" DisplayFormat.FormatStr="dd/mm/yyyy" DisplayFormat.Kind="fkDateTime" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Data emissão: [Date]"/>
      <TfrxMemoView Name="Memo51" Left="378,48052" Top="144,84261" Width="74,83437472" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="12" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="UND"/>
      <TfrxMemoView Name="Memo50" Left="569,9295" Top="35,57483" Width="147,40167" Height="22,67718" DataSet="Form_Venda.fparametros" DataSetName="parametros" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Arial" Font.Style="1" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="[dados.&#34;codigo&#34;]"/>
      <TfrxMemoView Name="dadosnomesetor" Left="7,55906" Top="73,48825" Width="238,11039" Height="15,11812" DataSet="dados" DataSetName="dados" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="Setor: [dados.&#34;nomesetor&#34;]"/>
      <TfrxMemoView Name="dadosnomeestoque" Left="7,55906" Top="92,16543" Width="400,63018" Height="18,89765" DataSet="dados" DataSetName="dados" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="Estoque: [dados.&#34;nomeestoque&#34;]"/>
      <TfrxMemoView Name="dadosobservacao" Left="7,55906" Top="112,96073" Width="702,99258" Height="18,89765" DataSet="dados" DataSetName="dados" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="Obs: [dados.&#34;observacao&#34;]"/>
    </TfrxPageHeader>
    <TfrxFooter Name="Footer1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="56,69295" Left="0" Top="328,81911" Width="718,1107">
      <TfrxSysMemoView Name="SysMemo1" Left="582,04762" Top="3,77953" Width="136,06308" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="Total produzido: [SUM(&#60;dadosprontos.&#34;quantidade&#34;&#62;,MasterData1)]"/>
    </TfrxFooter>
    <TfrxMasterData Name="MasterData2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="18,89765" Left="0" Top="457,32313" Width="718,1107" OnBeforePrint="MasterData2OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSet="dadosmateria" DataSetName="dadosmateria" RowCount="0">
      <TfrxMemoView Name="Memo4" Left="0" Top="0,77953" Width="74,83437472" Height="15,11812" DataSet="dadosprontos" DataSetName="dadosprontos" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="[dadosmateria.&#34;produto&#34;]"/>
      <TfrxMemoView Name="Memo5" Left="74,81107" Top="0,77953" Width="305,38570472" Height="15,11812" DataSet="dadosprontos" DataSetName="dadosprontos" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[dadosmateria.&#34;nomeproduto&#34;]"/>
      <TfrxMemoView Name="Memo8" Left="453,70099" Top="0,77953" Width="263,81087472" Height="15,11812" DataSet="dadosprontos" DataSetName="dadosprontos" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="Memo12" Left="374,70099" Top="0,77953" Width="78,61390472" Height="15,11812" OnBeforePrint="Memo12OnBeforePrint" DataSet="dadosmateria" DataSetName="dadosmateria" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text=""/>
    </TfrxMasterData>
    <TfrxHeader Name="Header1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="26,45671" Left="0" Top="241,88992" Width="718,1107">
      <TfrxMemoView Name="Memo1" Align="baWidth" Left="0" Top="0" Width="718,1107" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="Produto produzido"/>
    </TfrxHeader>
    <TfrxHeader Name="Header2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="26,45671" Left="0" Top="408,18924" Width="718,1107">
      <TfrxMemoView Name="Memo3" Align="baWidth" Left="0" Top="0" Width="718,1107" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="Materia prima"/>
    </TfrxHeader>
    <TfrxFooter Name="Footer2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="185,19697" Left="0" Top="498,89796" Width="718,1107"/>
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="132,28355" Left="0" Top="744,56741" Width="718,1107">
      <TfrxLineView Name="Line1" Left="222,99227" Top="66,141775" Width="272,12616" Height="0" Color="0" Frame.Typ="4"/>
      <TfrxMemoView Name="Memo13" Left="311,811225" Top="74,69295" Width="94,48825" Height="18,89765" Text="Responsável"/>
    </TfrxPageFooter>
  </TfrxReportPage>
</TfrxReport>
