<?xml version="1.0" encoding="utf-8"?>
<TfrxReport Version="4.6.98" DotMatrixReport="False" EngineOptions.UseFileCache="True" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="39863,6152412384" ReportOptions.Description.Text="" ReportOptions.LastChange="42320,4761677662" ScriptLanguage="PascalScript" ScriptText.Text="procedure Picture1OnAfterData(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure Page2OnAfterPrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;                                                                                                                                                          &#13;&#10;end;&#13;&#10;&#13;&#10;procedure GroupHeader2OnAfterPrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;                                             &#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;&#13;&#10;end." PropData="08446174617365747301010C2000000020446174615365743D2253514C2220446174615365744E616D653D2253514C2200010C2C00000020446174615365743D2241444F5175657279312220446174615365744E616D653D2241444F5175657279312200010C3200000020446174615365743D224F7267616E69736174696F6E2220446174615365744E616D653D224F7267616E69736174696F6E220000095661726961626C65730100055374796C650100">
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxADODatabase Name="DB" LoginPrompt="False" PropData="05704C65667402240470546F700224"/>
    <TfrxADOQuery Name="SQL" UserName="SQL" CloseDataSource="True" FieldAliases.Text="" IgnoreDupParams="False" SQL.Text="select &#13;&#10;292683517.5 As Income,243643986.0056 as Expense,  &#13;&#10;WhName,CostCenterName,Code,Description1,Packing,CostCenterID,WhID,sum(Qty)As Qty,&#13;&#10;Avg(SellingPrice)As Price,Avg(AfterProductionCost)as AfterProductionCost,&#13;&#10;Avg(ProductionCost)as ProductionCost,&#13;&#10;sum(TOTAL_RAW_MATERIAL_COST)as TOTAL_RAW_MATERIAL_COST                       &#13;&#10;from Vw_Production_Analysis&#13;&#10;where WhID = 788 AND CostCenterID = 16 and RealDate between '2010-4-1' AND '2010-6-17'&#13;&#10;group by WhName,CostCenterName,Code,Description1,Packing,CostCenterID,WhID,TOTAL_RAW_MATERIAL_COST Order By WhName,Code" CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C65667402540470546F7002240A506172616D65746572730100"/>
    <TfrxADOQuery Name="ADOQuery1" UserName="ADOQuery1" CloseDataSource="True" FieldAliases.Text="" IgnoreDupParams="False" SQL.Text="select * from Tmp_Tbl_Production_Analysis                                                                                                                                           " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C6566740380000470546F7002240A506172616D65746572730100"/>
    <TfrxADOQuery Name="Organisation" UserName="Organisation" CloseDataSource="True" FieldAliases.Text="" IgnoreDupParams="False" SQL.Text="SELECT * FROM Organisation                                                                                                          " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C65667402000470546F7002000A506172616D65746572730100"/>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="5" RightMargin="5" TopMargin="10" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxMasterData Name="MasterData1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Courier New" Font.Style="0" Height="15,11811024" Left="0" ParentFont="False" Top="244" Width="755,906" ColumnWidth="0" ColumnGap="0" DataSet="SQL" DataSetName="SQL" RowCount="0">
      <TfrxMemoView Name="Memo1" Left="0" Top="0" Width="60,47248" Height="15,1181102362205" ShowHint="False" DataField="Code" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" Text="[SQL.&#34;Code&#34;]"/>
      <TfrxMemoView Name="SQLDescription1" Left="64,2519685" Top="0" Width="158,74015016" Height="15,1181102362205" ShowHint="False" DataField="Description1" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" Text="[SQL.&#34;Description1&#34;]"/>
      <TfrxMemoView Name="SQLPacking" Left="226,11023622" Top="0" Width="56,69291339" Height="15,1181102362205" ShowHint="False" DataField="Packing" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" Text="[SQL.&#34;Packing&#34;]"/>
      <TfrxMemoView Name="Memo3" Left="341,58267717" Top="0" Width="49,13389" Height="15,1181102362205" ShowHint="False" DataField="Qty" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" Text="[SQL.&#34;Qty&#34;]"/>
      <TfrxMemoView Name="SQLProductionCost" Left="401,27559055" Top="0" Width="49,13386559" Height="15,1181102362205" ShowHint="False" DataField="ProductionCost" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;ProductionCost&#34;]"/>
      <TfrxMemoView Name="Memo22" Left="283,46475" Top="0" Width="49,13389" Height="15,1181102362205" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" Text="[SQL.&#34;Price&#34;]"/>
      <TfrxMemoView Name="Memo23" Left="557,9295" Top="0" Width="56,69292559" Height="15,1181102362205" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[&#60;SQL.&#34;Qty&#34;&#62;*&#60;SQL.&#34;ProductionCost&#34;&#62;]"/>
      <TfrxMemoView Name="SQLTOTAL_RAW_MATERIAL_COST" Left="457,32313" Top="0" Width="94,48825" Height="15,11811024" ShowHint="False" DataField="TOTAL_RAW_MATERIAL_COST" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" Text="[SQL.&#34;TOTAL_RAW_MATERIAL_COST&#34;]"/>
    </TfrxMasterData>
    <TfrxPageFooter Name="PageFooter1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Courier New" Font.Style="0" Height="29,92918024" Left="0" ParentFont="False" Top="520" Width="755,906">
      <TfrxLineView Name="Line3" Left="2" Top="5,3067400000001" Width="746,77953" Height="0" ShowHint="False" Frame.Typ="4"/>
      <TfrxMemoView Name="Memo33" Left="560,37044" Top="11,03154" Width="189,17291591" Height="15,11811024" ShowHint="False" DataSetName="Company" Font.Charset="1" Font.Color="8421504" Font.Height="-11" Font.Name="Courier New" Font.Style="2" HAlign="haRight" ParentFont="False" Text="[Date] [Time]"/>
      <TfrxMemoView Name="Memo39" Left="3" Top="8,05473" Width="752,32288591" Height="15,11811024" ShowHint="False" DataSetName="Company" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="[Page#]/[TotalPages#]"/>
      <TfrxMemoView Name="Memo37" Left="0" Top="7,55906" Width="325,89528774" Height="15,11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8421504" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" ParentFont="False" Text="DESENVOLVIDO COM THE MASTER - info@ridleys.co.ao - 925489228"/>
    </TfrxPageFooter>
    <TfrxReportTitle Name="ReportTitle1" Height="98,21243" Left="0" Top="16" Width="755,906">
      <TfrxPictureView Name="LOGO" Left="7" Top="10,03958" Width="127,7715852" Height="53,27551" ShowHint="False" Center="True" Picture.PropData="[encoded data, 39116 characters]" HightQuality="True"/>
      <TfrxMemoView Name="Memo2" Left="4,22047" Top="62,6141" Width="745,81942" Height="22,67718" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Courier New" Font.Style="5" HAlign="haCenter" ParentFont="False" Text="PRODUCTION ANALYSIS"/>
      <TfrxMemoView Name="Memo9" Left="627,40198" Top="60,47248" Width="60,47244094" Height="17,00787646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="from"/>
      <TfrxMemoView Name="Memo10" Left="627,40198" Top="79,37013" Width="60,47244094" Height="17,00787646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="to"/>
      <TfrxMemoView Name="Memo11" Left="691,65399" Top="60,47248" Width="60,47244094" Height="17,00787646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="[SQL.&#34;FromDate&#34;]"/>
      <TfrxMemoView Name="Memo12" Left="691,65399" Top="79,37013" Width="60,47244094" Height="17,00787646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="[SQL.&#34;ToDate&#34;]"/>
    </TfrxReportTitle>
    <TfrxFooter Name="Footer1" Height="55,67718" Left="0" Top="280" Width="755,906"/>
    <TfrxGroupHeader Name="GroupHeader1" Height="86,92919" Left="0" Top="136" Width="755,906" Condition="SQL.&#34;CostCenterName&#34;">
      <TfrxMemoView Name="Memo16" Left="0" Top="30,02381" Width="752,12647" Height="37,79529024" ShowHint="False" Color="12632256" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="5" Frame.Color="8421504" Frame.Typ="15" HAlign="haRight" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo18" Left="0" Top="40,77931031" Width="60,47244094" Height="17,00787646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="Codico"/>
      <TfrxMemoView Name="Memo19" Left="64,2519685" Top="40,77931031" Width="158,74015016" Height="17,00787646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="Descrecao"/>
      <TfrxMemoView Name="Memo20" Left="341,58267717" Top="40,77931031" Width="49,13385339" Height="17,00787646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Qty"/>
      <TfrxMemoView Name="Memo21" Left="226,11023622" Top="40,77931031" Width="56,69291339" Height="17,00787646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="Packing"/>
      <TfrxMemoView Name="Memo30" Left="399,27559055" Top="37,77931031" Width="52,91339559" Height="24,56693646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Valor Producao"/>
      <TfrxMemoView Name="Memo49" Left="0" Top="5,59029000000001" Width="430,86624913" Height="23,00787646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="1" Frame.DropShadow="True" ParentFont="False" Text="[SQL.&#34;CostCenterName&#34;] (Cost Center = [SQL.&#34;CostCenterName&#34;])"/>
      <TfrxMemoView Name="Memo7" Left="455,64595" Top="32,23624" Width="98,2677555899999" Height="32,12599646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Consumo de materia prima"/>
      <TfrxMemoView Name="Memo13" Left="559,14997" Top="34,01577" Width="49,13386559" Height="32,12599646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Custo Producao"/>
      <TfrxMemoView Name="Memo14" Left="287,24428" Top="41,57483" Width="49,13385339" Height="17,00787646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Avg Price"/>
      <TfrxMemoView Name="Memo15" Left="616,84292" Top="34,01577" Width="60,47245559" Height="32,12599646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Price Margin"/>
      <TfrxMemoView Name="Memo17" Left="685,09493" Top="34,01577" Width="60,47245559" Height="32,12599646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="Production Margin"/>
    </TfrxGroupHeader>
    <TfrxHeader Name="Header1" Height="18,89764024" Left="0" Top="356" Width="755,906">
      <TfrxMemoView Name="Memo4" Left="0" Top="3,77953000000002" Width="347,71676" Height="15,11811024" ShowHint="False" DataSet="ADOQuery1" DataSetName="ADOQuery1" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="5" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Custos"/>
    </TfrxHeader>
    <TfrxMasterData Name="MasterData2" Height="18,89765" Left="0" Top="396" Width="755,906" ColumnWidth="0" ColumnGap="0" DataSet="ADOQuery1" DataSetName="ADOQuery1" RowCount="0">
      <TfrxMemoView Name="ADOQuery1ExpenseFamilyName" Left="0" Top="0" Width="222,99227" Height="15,11811024" ShowHint="False" DataField="ExpenseFamilyName" DataSet="ADOQuery1" DataSetName="ADOQuery1" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[ADOQuery1.&#34;ExpenseFamilyName&#34;]"/>
      <TfrxMemoView Name="ADOQuery1ExpenseAmount" Left="233,05535" Top="0" Width="132,28355" Height="15,11811024" ShowHint="False" DataField="ExpenseAmount" DataSet="ADOQuery1" DataSetName="ADOQuery1" DisplayFormat.FormatStr="#,###.000" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[ADOQuery1.&#34;ExpenseAmount&#34;]"/>
    </TfrxMasterData>
    <TfrxFooter Name="Footer2" Height="64,25201" Left="0" Top="436" Width="755,906">
      <TfrxMemoView Name="Memo5" Left="0" Top="18" Width="173,85838" Height="15,11811024" ShowHint="False" DataSet="ADOQuery1" DataSetName="ADOQuery1" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="5" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="INCOME"/>
      <TfrxMemoView Name="SQLIncome" Left="233,05535" Top="33,1181102399999" Width="132,28355" Height="18,89765" ShowHint="False" DataField="Income" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.000" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="4" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;Income&#34;]"/>
      <TfrxMemoView Name="Memo6" Left="0" Top="33,1181102399999" Width="222,99227" Height="18,89765" ShowHint="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="INCOME OF PRODUCTION"/>
    </TfrxFooter>
  </TfrxReportPage>
</TfrxReport>
