<?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="43747.6652291319" ScriptLanguage="PascalScript" ScriptText.Text="begin&#13;&#10;&#13;&#10;end." PropData="08446174617365747301010C2000000020446174615365743D2253514C2220446174615365744E616D653D2253514C2200010C3200000020446174615365743D224F7267616E69736174696F6E2220446174615365744E616D653D224F7267616E69736174696F6E220000095661726961626C65730100055374796C650100">
  <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="UP_RPT_SALE_BY_WAREHOUSE '2012-4-13',2        " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C656674026B0470546F7002250A506172616D65746572730100"/>
    <TfrxADOQuery Name="Organisation" UserName="Organisation" CloseDataSource="True" FieldAliases.Text="" IgnoreDupParams="False" SQL.Text="SELECT * FROM VwOrganization                                                                                                          " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C65667403A4000470546F7002500A506172616D65746572730100"/>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="7.5" RightMargin="5" TopMargin="7.5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxMasterData Name="MasterData1" Height="20.78740157" Left="0" Top="230.55133" Width="746.457175" ColumnWidth="0" ColumnGap="0" DataSet="SQL" DataSetName="SQL" RowCount="0">
      <TfrxMemoView Name="Memo4" Left="0" Top="0" Width="745.52783" Height="20.7874015748031" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Color="15921906" Highlight.Condition="&#60;Line#&#62; mod 2  = 0" ParentFont="False" WordWrap="False" Text=""/>
      <TfrxMemoView Name="SQLWAREHOUSE" Left="37" Top="1.88976378000001" Width="179.76407" Height="15.1181102362205" ShowHint="False" DataField="WAREHOUSE" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" Text="[SQL.&#34;WAREHOUSE&#34;]"/>
      <TfrxMemoView Name="Memo1" Left="223" Top="1.88976378000001" Width="105.82677165" Height="15.1181102362205" ShowHint="False" DataField="COST" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" 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="[SQL.&#34;COST&#34;]"/>
      <TfrxMemoView Name="SQLPRICE" Left="339" Top="1.88976378000001" Width="105.82677165" Height="15.1181102362205" ShowHint="False" DataField="PRICE" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" 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="[SQL.&#34;PRICE&#34;]"/>
      <TfrxMemoView Name="SQLPROFIT_BY_WAREHOUSE" Left="452" Top="1.88976378000001" Width="105.82677165" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" Highlight.Font.Charset="1" Highlight.Font.Color="-1" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="1" Highlight.Color="1585890" Highlight.Condition="&#60;SQL.&#34;PROFIT_BY_WAREHOUSE&#34;&#62;&#60;0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;PROFIT_BY_WAREHOUSE&#34;]"/>
      <TfrxMemoView Name="SQLPERCENT_OF_PROFIT_BY_WAREHOUSE" Left="565" Top="1.88976378000001" Width="52.91338583" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" Highlight.Font.Charset="1" Highlight.Font.Color="-1" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="1" Highlight.Color="255" Highlight.Condition="&#60;SQL.&#34;PROFIT_BY_WAREHOUSE&#34;&#62;&#60;0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;PERCENT_OF_PROFIT_BY_WAREHOUSE&#34;] %"/>
      <TfrxMemoView Name="SQLPERCENT_OF_TOTAL_SALE" Left="631" Top="1.88976378000001" Width="52.91338583" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" 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="[SQL.&#34;PERCENT_OF_TOTAL_SALE&#34;] %"/>
      <TfrxMemoView Name="SQLPERCENT_OF_TOTAL_PROFIT" Left="694" Top="1.88976378000001" Width="52.91338583" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" Highlight.Font.Charset="1" Highlight.Font.Color="-1" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="1" Highlight.Color="255" Highlight.Condition="&#60;SQL.&#34;PROFIT_BY_WAREHOUSE&#34;&#62;&#60;0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;PERCENT_OF_TOTAL_PROFIT&#34;] %"/>
      <TfrxMemoView Name="Memo5" Left="0" Top="1.88976378000001" Width="31.86642" Height="15.1181102362205" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[Line#]"/>
    </TfrxMasterData>
    <TfrxReportTitle Name="ReportTitle1" Height="150.7795178" Left="0" Top="18.89765" Width="746.457175">
      <TfrxMemoView Name="Memo3" Left="1" Top="87.10235" Width="57.94496" Height="18.89765" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="DD/MMMM/YYYY" DisplayFormat.Kind="fkDateTime" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Courier New" Font.Style="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="De Data"/>
      <TfrxMemoView Name="Memo6" Left="0" Top="128.10235" Width="745.52783" Height="22.6771678" ShowHint="False" Color="13421772" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Color="15921906" Highlight.Condition="&#60;Line#&#62; mod 2  = 0" ParentFont="False" WordWrap="False" Text=""/>
      <TfrxMemoView Name="Memo7" Left="37" Top="131.99211378" Width="179.76407" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" Text="ARMAZEM"/>
      <TfrxMemoView Name="Memo8" Left="223" Top="131.99211378" Width="105.82677165" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="CUSTO DA VENDA"/>
      <TfrxMemoView Name="Memo9" Left="339" Top="131.99211378" Width="105.82677165" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="VENDA"/>
      <TfrxMemoView Name="Memo10" Left="452" Top="131.99211378" Width="105.82677165" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="LUCRO"/>
      <TfrxMemoView Name="Memo11" Left="565" Top="131.99211378" Width="52.91338583" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="%L/W"/>
      <TfrxMemoView Name="Memo12" Left="631" Top="131.99211378" Width="52.91338583" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="%T. V."/>
      <TfrxMemoView Name="Memo13" Left="694" Top="131.99211378" Width="52.91338583" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="%T. L."/>
      <TfrxMemoView Name="Memo14" Left="0" Top="131.99211378" Width="31.86642" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="LINE"/>
      <TfrxRichView Name="Rich1" Left="2" Top="64.10235" Width="739.48825" Height="18.89765" ShowHint="False" GapX="2" GapY="1" PropData="0852696368456469740AF00000007B5C727466315C6662696469735C616E73695C616E7369637067313235365C64656666305C6465666C616E6731323238397B5C666F6E7474626C7B5C66305C666E696C5C666368617273657430204D532053616E732053657269663B7D7D0D0A7B5C636F6C6F7274626C203B5C726564305C677265656E305C626C75653235353B7D0D0A5C766965776B696E64345C7563315C706172645C6C74727061725C71635C66305C6673333220524553554D4F2044452056454E4441204449415249415C6673313620205C63663120285B53514C2E2243757272656E63794E616D65225D295C6366305C7061720D0A7D0D0A00"/>
      <TfrxMemoView Name="Memo2" Left="1" Top="106.10235" Width="57.94496" Height="18.89765" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="DD/MMMM/YYYY" DisplayFormat.Kind="fkDateTime" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Courier New" Font.Style="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="Ate Data"/>
      <TfrxMemoView Name="Memo16" Left="63" Top="87.10235" Width="129.75603" Height="18.89765" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="DD/MMMM/YYYY" DisplayFormat.Kind="fkDateTime" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Courier New" Font.Style="4" ParentFont="False" VAlign="vaCenter" Text="[SQL.&#34;FromDate&#34;]"/>
      <TfrxMemoView Name="Memo17" Left="63" Top="106.10235" Width="129.75603" Height="18.89765" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="DD/MMMM/YYYY" DisplayFormat.Kind="fkDateTime" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Courier New" Font.Style="4" ParentFont="False" VAlign="vaCenter" Text="[SQL.&#34;ToDate&#34;]"/>
      <TfrxShapeView Name="Shape3" Left="80.6" Top="10.30235" Width="158.74016236" Height="52.35906" ShowHint="False" Curve="5" Frame.Color="16711680" Frame.Width="3" Shape="skRoundRectangle"/>
      <TfrxMemoView Name="Memo29" Left="64" Top="2.70235" Width="188.97640236" Height="56.68658" ShowHint="False" Font.Charset="1" Font.Color="16711680" Font.Height="-13" Font.Name="Arial Black" Font.Style="5" HAlign="haCenter" ParentFont="False" Rotation="10" VAlign="vaCenter" Text="[TxtNote.Text]"/>
      <TfrxPictureView Name="PicLOGO" Left="7.55906" Top="7.55906" Width="75.59045354" Height="78.58256" ShowHint="False" Center="True" DataField="LOGO" DataSet="Organisation" DataSetName="Organisation" Picture.PropData="[encoded data, 83718 characters]" HightQuality="True"/>
    </TfrxReportTitle>
    <TfrxReportSummary Name="ReportSummary1" Height="103.67718" Left="0" Top="313.70099" Width="746.457175">
      <TfrxMemoView Name="TxtTotalCost" Left="220" Top="3.36982" Width="105.82677165" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="4" Frame.Width="1.5" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;COST&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="TxtTotalSale" Left="336" Top="3.36982" Width="105.82677165" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="4" Frame.Width="1.5" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;PRICE&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="TxtTotalProfit" Left="449" Top="3.36982" Width="105.82677165" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="4" Frame.Width="1.5" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;PROFIT_BY_WAREHOUSE&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo19" Left="628" Top="3.36982" Width="52.91338583" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="4" Frame.Width="1.5" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;PERCENT_OF_TOTAL_SALE&#34;&#62;,MasterData1)] %"/>
      <TfrxMemoView Name="Memo20" Left="691" Top="3.36982" Width="52.91338583" Height="13.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Typ="4" Frame.Width="1.5" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;PERCENT_OF_TOTAL_PROFIT&#34;&#62;,MasterData1)] %"/>
      <TfrxShapeView Name="Shape1" Left="219" Top="35.59029" Width="525.48825" Height="55.11812" ShowHint="False" Color="14211288" Shape="skRoundRectangle"/>
      <TfrxMemoView Name="Memo21" Left="315" Top="59.35433071" Width="350.91338583" Height="24.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" Frame.Width="1.5" HAlign="haCenter" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-11" Highlight.Font.Name="Arial" Highlight.Font.Style="1" Highlight.Condition="TxtTotalProfit.Value&#60;0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[100*(txttotalsale.value-txttotalcost.value)/txttotalsale.value] %"/>
      <TfrxMemoView Name="Memo15" Left="224" Top="38.35433071" Width="514.47244583" Height="24.22834646" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="5" Frame.Width="1.5" HAlign="haCenter" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="PERCENTAGEM GERAL"/>
    </TfrxReportSummary>
    <TfrxPageFooter Name="PageFooter1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="47.28386" Left="0" ParentFont="False" Top="438.42548" Width="746.457175">
      <TfrxMemoView Name="Memo26" Left="2.44867" Top="26.04762" Width="725.859" Height="15.11812" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="COUrier" Font.Style="1" HAlign="haCenter" ParentFont="False" Text="[Page#] / [TotalPages#]"/>
      <TfrxMemoView Name="Memo53" Left="470.22078" Top="17.7795299999999" Width="253.41775" Height="15.11812" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8421504" Font.Height="-9" Font.Name="Courier" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[Date]  [Time] "/>
      <TfrxGradientView Name="Gradient2" Left="0" Top="13.9999999999999" Width="733.22834646" Height="3.77953" ShowHint="False" BeginColor="12632256" EndColor="-16777194" Style="gsHorizontal"/>
      <TfrxMemoView Name="Memo37" Left="0" Top="18.89765" 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>
  </TfrxReportPage>
  <TfrxDialogPage Name="DialogPage1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Height="200" Left="531" Top="192" Width="300">
    <TfrxEditControl Name="TxtNote" Left="25" Top="57" Width="170" Height="21" ShowHint="True" Color="-16777211" MaxLength="0" PasswordChar="0"/>
    <TfrxLabelControl Name="Label1" Left="23" Top="37" Width="23" Height="13" ShowHint="True" Caption="Note" Color="-16777201"/>
    <TfrxButtonControl Name="ok" Left="113" Top="88" Width="75" Height="25" ShowHint="True" Caption="ok" ModalResult="1"/>
  </TfrxDialogPage>
</TfrxReport>
