<?xml version="1.0" encoding="utf-8"?>
<TfrxReport Version="4.12.1" DotMatrixReport="False" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Padrão" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="41565,5535409954" ReportOptions.Description.Text="" ReportOptions.Name="Relatorios\prevencao_acertos_geral.prevrelfr3" ReportOptions.LastChange="41920,3675236111" ScriptLanguage="PascalScript" ScriptText.Text="procedure Coluna1OnAfterData(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;       If trim(&#60;Logo&#62;) = '' Then Begin&#13;&#10;               Nome_Fantasia.Left := 0;&#13;&#10;               titulo1.Left := 0;&#13;&#10;               titulo2.Left := 0;&#13;&#10;               titulo3.Left := 0;&#13;&#10;               titulo4.Left := 0                                               &#13;&#10;               End;  &#13;&#10;end;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;procedure Memo2OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10; Memo8.Text:= 'Total motivo '+&#60;prevencao_acertos.&#34;pa_motivo&#34;&#62;;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure Memo10OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  &#13;&#10;       &#13;&#10;end;&#13;&#10;&#13;&#10;procedure Memo26OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;    mmResumo.Lines.Add(&#60;prevencao_acertos.&#34;lo_codigo&#34;&#62;+'..............................................................................................................');     &#13;&#10;   Memo28.Text:= 'Total Loja '+&#60;prevencao_acertos.&#34;lo_codigo&#34;&#62;;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure Memo27OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;   mmValor.Lines.Add(FormatFloat('#,##0.00;;0.00',SUM(&#60;prevencao_acertos.&#34;subtotal&#34;&#62;,Band4)));  &#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;       picture1.FileLink := trim(&#60;Logo&#62;)                                                                                                              &#13;&#10;end." ShowProgress="False" StoreInDFM="False" PropData="044C656674025803546F70026808446174617365747301010C2F00000020446174615365743D226F444D2E2220446174615365744E616D653D2270726576656E63616F5F61636572746F73220000095661726961626C657301010C0F000000204E616D653D222056657273616F2200010C20000000204E616D653D2256657273616F5F53697374656D61222056616C75653D22362200010C10000000204E616D653D2220456D70726573612200010C4D000000204E616D653D2252617A616F5F536F6369616C222056616C75653D222756494C4152454A4F204445204D41434145204D415445524941495320444520434F4E5354525543414F204C544441272200010C34000000204E616D653D224E6F6D655F46616E7461736961222056616C75653D222756494C4152454A4F20484F4D452043454E544552272200010C1F000000204E616D653D224C6F6A61222056616C75653D2227446570F37369746F272200010C2C000000204E616D653D22456E64657265636F222056616C75653D2227525541204E495445524F492C2032303939272200010C1F000000204E616D653D224E756D65726F222056616C75653D2227202032303939272200010C1E000000204E616D653D22436F6D706C656D656E746F222056616C75653D2227272200010C28000000204E616D653D2242616972726F222056616C75653D22274A415244494D204D4152494C454941272200010C27000000204E616D653D22436964616465222056616C75653D222752494F20444153204F5354524153272200010C17000000204E616D653D225546222056616C75653D2227524A272200010C1F000000204E616D653D22434550222056616C75653D222732383839302D303030272200010C33000000204E616D653D2254656C65666F6E65222056616C75653D22272832322920323736342D3035303020202020202020202020272200010C2E000000204E616D653D22466178222056616C75653D22272820202920202020202D2020202020202020202020202020272200010C29000000204E616D653D22434E504A222056616C75653D222730312E3138332E3634352F303030352D3031272200010C2A000000204E616D653D22496E73635F457374616475616C222056616C75653D222737372E3933342E333931272200010C29000000204E616D653D22496E73635F4D756E69636970616C222056616C75653D22273030303030303030272200010C2A000000204E616D653D2253697465222056616C75653D22277777772E76696C6172656A6F2E636F6D2E6272272200010C31000000204E616D653D22456D61696C222056616C75653D22277375706F72746540657861746173697374656D61732E636F6D272200010C31000000204E616D653D224C6F676F222056616C75653D2227496D6167656E735C4C6F676F5F52656C61746F72696F2E424D50272200010C33000000204E616D653D22536C6F67616E222056616C75653D22274F2053757065726D65726361646F20646120737561206F627261272200010C0F000000204E616D653D2220546974756C6F2200010C3B000000204E616D653D22546974756C6F31222056616C75653D222741636572746F732064652070726F6475746F73207669612070726576656EE7E36F272200010C3A000000204E616D653D22546974756C6F32222056616C75653D2227506572ED6F646F3A2030312F30392F32303134202D2033302F30392F32303134272200010C2F000000204E616D653D22546974756C6F33222056616C75653D22275469706F2064652041636572746F3A20546F646F73272200010C1A000000204E616D653D22546974756C6F34222056616C75653D2227272200010C1A000000204E616D653D22546974756C6F35222056616C75653D2227272200010C0E000000204E616D653D22204175746F722200010C2B000000204E616D653D224175746F725F4E6F6D65222056616C75653D222745584154412053697374656D6173272200010C32000000204E616D653D224175746F725F53697465222056616C75653D22277777772E657861746173697374656D61732E636F6D27220000055374796C650100">
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
  <TfrxReportPage Name="Page1" Orientation="poLandscape" PaperWidth="297" PaperHeight="210" PaperSize="9" LeftMargin="7" RightMargin="7" TopMargin="7" BottomMargin="7" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="279,68522">
    <TfrxPageHeader Name="Cabecalho" Height="116" Left="0" Top="18,89765" Width="1069,60699">
      <TfrxPictureView Name="Picture1" Left="0" Top="0" Width="98" Height="88" ShowHint="False" Center="True" FileLink="[Logo]" HightQuality="False" Transparent="False" TransparentColor="16777215"/>
      <TfrxMemoView Name="Nome_Fantasia" Left="113,3859" Top="0" Width="944,89462" Height="22" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="[Nome_Fantasia]"/>
      <TfrxMemoView Name="Titulo1" Left="113,3859" Top="21" Width="944,89462" Height="17" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="[Titulo1]"/>
      <TfrxMemoView Name="Titulo2" Left="113,3859" Top="37" Width="944,89462" Height="17" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="[Titulo2]"/>
      <TfrxMemoView Name="Titulo3" Left="113,3859" Top="53" Width="944,89462" Height="17" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="[Titulo3]"/>
      <TfrxMemoView Name="Titulo4" Left="113,3859" Top="69" Width="377,4141" Height="17" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="[Titulo4]"/>
      <TfrxMemoView Name="Data_Hora" Left="805,81942" Top="69" Width="250" Height="17" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" Text="EmissÃ£o: [Date] -  [Time]"/>
      <TfrxMemoView Name="Separador1" Left="0" Top="94" Width="1054,50099" Height="19" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text=""/>
    </TfrxPageHeader>
    <TfrxMasterData Name="Band4" Height="19" Left="0" Top="332,59864" Width="1069,60699" ColumnWidth="0" ColumnGap="0" DataSet="oDM." DataSetName="prevencao_acertos" RowCount="0">
      <TfrxMemoView Name="Zebrado" Align="baClient" Left="0" Top="0" Width="1069,60699" Height="19" ShowHint="False" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Color="15000804" Highlight.Condition="&#60;Line#&#62; mod 2" Text=""/>
      <TfrxMemoView Name="Memo3" Left="0" Top="0" Width="60,47248" Height="18,89765" ShowHint="False" DataField="pa_data" DataSet="oDM." DataSetName="prevencao_acertos" 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" WordWrap="False" VAlign="vaCenter" Text="[prevencao_acertos.&#34;pa_data&#34;]"/>
      <TfrxMemoView Name="Memo4" Left="64,25201" Top="0" Width="79,37013" Height="18,89765" ShowHint="False" DataField="lo_codigo" DataSet="oDM." DataSetName="prevencao_acertos" DisplayFormat.FormatStr="dd/mm/yyyy" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[prevencao_acertos.&#34;lo_codigo&#34;]"/>
      <TfrxMemoView Name="Memo5" Left="203,74026" Top="0" Width="321,26005" Height="18,89765" ShowHint="False" DataField="pd_nome" DataSet="oDM." DataSetName="prevencao_acertos" DisplayFormat.FormatStr="dd/mm/yyyy" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[prevencao_acertos.&#34;pd_nome&#34;]"/>
      <TfrxMemoView Name="Memo6" Left="147,04731" Top="0" Width="52,91342" Height="18,89765" ShowHint="False" DataField="pd_codigo" DataSet="oDM." DataSetName="prevencao_acertos" DisplayFormat.FormatStr="dd/mm/yyyy" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[prevencao_acertos.&#34;pd_codigo&#34;]"/>
      <TfrxMemoView Name="Memo7" Left="842,83519" Top="0" Width="52,91342" Height="18,89765" ShowHint="False" DataField="pa_quantidade" DataSet="oDM." DataSetName="prevencao_acertos" DisplayFormat.FormatStr="dd/mm/yyyy" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[prevencao_acertos.&#34;pa_quantidade&#34;]"/>
      <TfrxMemoView Name="Memo9" Left="899,52814" Top="0" Width="79,37013" Height="18,89765" ShowHint="False" DataSet="oDM." DataSetName="prevencao_acertos" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[&#60;prevencao_acertos.&#34;pd_valor_custo&#34;&#62;]"/>
      <TfrxMemoView Name="Memo11" Left="982,6778" Top="0" Width="79,37013" Height="18,89765" ShowHint="False" DataSet="oDM." DataSetName="prevencao_acertos" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[&#60;prevencao_acertos.&#34;subtotal&#34;&#62;]"/>
      <TfrxMemoView Name="Memo22" Left="528,77984" Top="0" Width="136,06308" Height="18,89765" ShowHint="False" DataField="dupla" DataSet="oDM." DataSetName="prevencao_acertos" DisplayFormat.FormatStr="dd/mm/yyyy" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[prevencao_acertos.&#34;dupla&#34;]"/>
      <TfrxMemoView Name="Memo24" Left="672,75634" Top="0" Width="162,51979" Height="18,89765" ShowHint="False" DataField="usuario" DataSet="oDM." DataSetName="prevencao_acertos" DisplayFormat.FormatStr="dd/mm/yyyy" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[prevencao_acertos.&#34;usuario&#34;]"/>
    </TfrxMasterData>
    <TfrxPageFooter Name="Rodape" Height="37,55906" Left="0" Top="778,58318" Width="1069,60699">
      <TfrxMemoView Name="Texto_Rodape1" Left="0" Top="7" Width="300" Height="19" ShowHint="False" Font.Charset="1" Font.Color="16711680" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[Autor_Site]"/>
      <TfrxMemoView Name="Texto_Rodape2" Left="0" Top="5" Width="1068,81911" Height="30" ShowHint="False" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="Total de registros: [Count(Band4)]&#13;&#10;PÃ¡gina: [Page#] de [TotalPages#]"/>
    </TfrxPageFooter>
    <TfrxGroupHeader Name="GroupHeader1" Height="22,67718" Left="0" Top="241,88992" Width="1069,60699" Child="Child1" Condition="prevencao_acertos.&#34;pm_codigo&#34;">
      <TfrxMemoView Name="Memo2" Left="0" Top="0" Width="317,48052" Height="19" OnBeforePrint="Memo2OnBeforePrint" ShowHint="False" Font.Charset="1" Font.Color="128" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[prevencao_acertos.&#34;pa_motivo&#34;]"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter1" Height="22,67718" Left="0" Top="374,17347" Width="1069,60699">
      <TfrxMemoView Name="Memo10" Left="982,6778" Top="0" Width="79,37013" Height="18,89765" OnBeforePrint="Memo10OnBeforePrint" ShowHint="False" DataSet="oDM." DataSetName="prevencao_acertos" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;prevencao_acertos.&#34;subtotal&#34;&#62;,Band4)]"/>
      <TfrxMemoView Name="Memo8" Left="472,44125" Top="0" Width="502,67749" Height="19" ShowHint="False" Font.Charset="1" Font.Color="128" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Total"/>
    </TfrxGroupFooter>
    <TfrxChild Name="Child1" Height="22,67718" Left="0" Top="287,24428" Width="1069,60699">
      <TfrxMemoView Name="Memo12" Left="0" Top="1" Width="1069,61911" Height="19" ShowHint="False" Frame.Typ="12" Text=""/>
      <TfrxMemoView Name="Memo13" Left="203,74026" Top="1" Width="275,90569" Height="19" OnAfterData="Coluna1OnAfterData" ShowHint="False" Font.Charset="1" Font.Color="128" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Produto"/>
      <TfrxMemoView Name="Memo14" Left="64,25201" Top="0,77953" Width="75,5906" Height="19" ShowHint="False" Font.Charset="1" Font.Color="128" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Loja"/>
      <TfrxMemoView Name="Memo15" Left="842,83519" Top="1" Width="52,91342" Height="19" ShowHint="False" Font.Charset="1" Font.Color="128" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Quant."/>
      <TfrxMemoView Name="Memo16" Left="147,03519" Top="1" Width="52,92554" Height="19" ShowHint="False" Font.Charset="1" Font.Color="128" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="CÃ³digo"/>
      <TfrxMemoView Name="Memo17" Left="-3,77953" Top="1,48824999999999" Width="63,57338627" Height="19" ShowHint="False" Font.Charset="1" Font.Color="128" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Data"/>
      <TfrxMemoView Name="Memo18" Left="899,52814" Top="1,48824999999999" Width="79,37013" Height="19" ShowHint="False" Font.Charset="1" Font.Color="128" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="R$ Custo Unt."/>
      <TfrxMemoView Name="Memo1" Left="982,6778" Top="0" Width="79,37013" Height="19" ShowHint="False" Font.Charset="1" Font.Color="128" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="R$ SubTotal"/>
      <TfrxMemoView Name="Memo21" Left="528,77984" Top="0" Width="113,3859" Height="19" ShowHint="False" Font.Charset="1" Font.Color="128" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Gerente | PrevenÃ§Ã£o"/>
      <TfrxMemoView Name="Memo23" Left="672,75634" Top="0" Width="113,3859" Height="19" ShowHint="False" Font.Charset="1" Font.Color="128" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Cadastro"/>
    </TfrxChild>
    <TfrxReportSummary Name="ReportSummary1" Height="253,22851" Left="0" Top="502,67749" Width="1069,60699">
      <TfrxMemoView Name="Memo19" Left="400,63018" Top="220,99227" Width="154,96073" Height="19" ShowHint="False" Font.Charset="1" Font.Color="128" Font.Height="-13" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Total Geral"/>
      <TfrxMemoView Name="Memo20" Left="563,14997" Top="220,99227" Width="86,92919" Height="18,89765" ShowHint="False" DataSet="oDM." DataSetName="prevencao_acertos" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;prevencao_acertos.&#34;subtotal&#34;&#62;,Band4)]"/>
      <TfrxMemoView Name="mmResumo" Left="238,11039" Top="37,7953" Width="317,48052" Height="170,1812" ShowHint="False" Font.Charset="1" Font.Color="128" Font.Height="-13" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text=""/>
      <TfrxMemoView Name="Memo25" Left="402,519945" Top="3,77953" Width="264,5671" Height="19" ShowHint="False" Font.Charset="1" Font.Color="128" Font.Height="-16" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="RESUMO DAS MOVIMENTAÃ‡Ã•ES"/>
      <TfrxMemoView Name="mmValor" Left="563,14997" Top="37,7953" Width="86,92919" Height="170,1812" ShowHint="False" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text=""/>
    </TfrxReportSummary>
    <TfrxGroupHeader Name="GroupHeader2" Height="22,67718" Left="0" Top="196,53556" Width="1069,60699" Condition="prevencao_acertos.&#34;lo_codigo&#34;" KeepTogether="True">
      <TfrxMemoView Name="Memo26" Left="0" Top="1,77953" Width="317,48052" Height="19" OnBeforePrint="Memo26OnBeforePrint" ShowHint="False" Font.Charset="1" Font.Color="128" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[prevencao_acertos.&#34;lo_codigo&#34;]"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter2" Height="22,67718" Left="0" Top="419,52783" Width="1069,60699">
      <TfrxMemoView Name="Memo27" Left="982,6778" Top="0,77953" Width="79,37013" Height="18,89765" OnBeforePrint="Memo27OnBeforePrint" ShowHint="False" DataSet="oDM." DataSetName="prevencao_acertos" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;prevencao_acertos.&#34;subtotal&#34;&#62;,Band4)]"/>
      <TfrxMemoView Name="Memo28" Left="472,44125" Top="0,77953" Width="502,67749" Height="19" ShowHint="False" Font.Charset="1" Font.Color="128" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Total"/>
    </TfrxGroupFooter>
  </TfrxReportPage>
</TfrxReport>
