<?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="43773.6101061806" ScriptLanguage="PascalScript" ScriptText.Text="&#13;&#10;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="EXEC GET_STOCK_TILL_DATE '2019-11-05','(1,2,3)',NULL,2,1                                                                                                                    " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C65667402620470546F7002240A506172616D65746572730100"/>
    <TfrxADOQuery Name="Organisation" UserName="Organisation" CloseDataSource="True" FieldAliases.Text="" IgnoreDupParams="False" SQL.Text="SELECT * FROM Organisation                                                                                                          " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C65667403A3000470546F7002240A506172616D65746572730100"/>
  </TfrxDataPage>
  <TfrxReportPage Name="KZ" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="5" TopMargin="7.5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxMasterData Name="MasterData1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="18.8976378" Left="0" ParentFont="False" Top="248" Width="737.00835" ColumnWidth="0" ColumnGap="0" DataSet="SQL" DataSetName="SQL" RowCount="0">
      <TfrxMemoView Name="Memo16" Left="0" Top="0" Width="737.63110818" Height="18.8976378" ShowHint="False" 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="15987699" Highlight.Condition="&#60;Line#&#62; MOD 2" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo2" Left="37.79527559" Top="1.88976378000001" Width="75.59055118" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;Item_Code&#34;]"/>
      <TfrxMemoView Name="SQLDescription" Left="117.16535433" Top="1.88976378000001" Width="215.23980445" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;Item_Descr&#34;]"/>
      <TfrxMemoView Name="TxtQty" Left="356.31601818" Top="1.88976378" Width="56.69295" Height="15.11811024" 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="0" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SQL.&#34;TILL_DATE_STK&#34;]"/>
      <TfrxMemoView Name="Memo9" Left="0" Top="1.88976377952758" Width="26.45671" Height="15.1181102362205" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[Line#]"/>
      <TfrxMemoView Name="Memo3" Left="421.45454546" Top="1.88976378" Width="49.13389" 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;AT_DATE_UNIT_COST&#34;]"/>
      <TfrxMemoView Name="Memo17" Left="481.03149606" Top="1.88976378" Width="90.70864677" 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="[&#60;SQL.&#34;TILL_DATE_STK&#34;&#62;*&#60;SQL.&#34;AT_DATE_UNIT_COST&#34;&#62;]"/>
      <TfrxMemoView Name="Memo21" Left="578.40198" Top="1" Width="60.47248" 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;CURRENT_PRICE&#34;]"/>
      <TfrxMemoView Name="Memo22" Left="646.29963" Top="1.13385827" Width="83.14966" 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="[&#60;SQL.&#34;TILL_DATE_STK&#34;&#62;*&#60;SQL.&#34;CURRENT_PRICE&#34;&#62;]"/>
    </TfrxMasterData>
    <TfrxPageFooter Name="PageFooter1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="48.51112206" Left="0" ParentFont="False" Top="408" Width="737.00835">
      <TfrxMemoView Name="Memo1" Align="baCenter" Left="3.779548305" Top="14.49536182" Width="729.44925339" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Courier New" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="PAGE [Page#] OF [TotalPages#]"/>
      <TfrxMemoView Name="Memo7" Align="baRight" Left="190.18618388" Top="1.96134818000002" Width="546.82216612" Height="13.29992842" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="8421504" Font.Height="-9" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="THE MASTER [Date] [Time]"/>
      <TfrxMemoView Name="Memo26" Left="7.55906" Top="3.77953000000002" Width="188.9765" Height="18.89765" ShowHint="False" Font.Charset="1" Font.Color="16711680" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="Printed By [SQL.&#34;PrintedBy&#34;]"/>
    </TfrxPageFooter>
    <TfrxReportTitle Name="ReportTitle1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="152.3837257" Left="0" ParentFont="False" Top="16" Width="737.00835">
      <TfrxPictureView Name="PicLogo" Left="3.77953" Top="4.11812" Width="62.8581652" Height="86.19387728" ShowHint="False" Center="True" DataField="Logo" DataSet="Organisation" DataSetName="Organisation" Picture.PropData="[encoded data, 77492 characters]" HightQuality="True"/>
      <TfrxMemoView Name="Memo25" Align="baCenter" Left="3.77956051" Top="77.60204091" Width="729.44922898" Height="30.23623024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-21" Font.Name="Courier New" Font.Style="5" HAlign="haCenter" ParentFont="False" Text="EXISTENCIA GERAL DE ARMAZEM COM CUSTO"/>
      <TfrxShapeView Name="Shape1" Left="489.09090909" Top="2.01144091" Width="229.03370454" Height="57.07946818" ShowHint="False" Frame.Width="2" Shape="skRoundRectangle"/>
      <TfrxMemoView Name="Memo18" Left="495.45454545" Top="20.19325909" Width="214.48825" Height="18.89765" ShowHint="False" Font.Charset="1" Font.Color="16711680" Font.Height="-12" Font.Name="Courier New" Font.Style="1" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[txtnote.text]"/>
      <TfrxMemoView Name="Memo19" Left="436.36363636" Top="103.55689545" Width="168.94063091" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" 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="[SQL.&#34;TillDate&#34;]"/>
      <TfrxMemoView Name="SQLCurrencyCode" Left="606.50433" Top="81.14966" Width="120.94496" Height="18.89765" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="16711680" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="([SQL.&#34;CurrencyCode&#34;])"/>
    </TfrxReportTitle>
    <TfrxGroupHeader Name="GroupHeader2" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="41.57480315" Left="0" ParentFont="False" Top="188" Width="737.00835" Condition="SQL.&#34;FamilyCode&#34;">
      <TfrxMemoView Name="Memo12" Left="0" Top="0" Width="737.63110818" Height="22.67716535" ShowHint="False" Color="13421772" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo6" Left="0" Top="22.67716535" Width="521.57514" Height="18.8976378" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="2850218" Font.Height="-11" Font.Name="Arial" Font.Style="5" ParentFont="False" Text="[SQL.&#34;FamilyCode&#34;]  [SQL.&#34;FamilyName&#34;]"/>
      <TfrxMemoView Name="Memo5" Left="37.79527559" Top="1.88976377952753" Width="75.59055118" Height="18.8976378" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="Codigo"/>
      <TfrxMemoView Name="Memo8" Left="117.16535433" Top="1.88976378000001" Width="234.33071354" Height="18.8976378" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="Desc"/>
      <TfrxMemoView Name="Memo13" Left="0" Top="1.88976378000001" Width="34.01577" Height="18.8976378" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="SEQ"/>
      <TfrxMemoView Name="Memo11" Left="421.63779528" Top="1.88976378000001" Width="49.13389" Height="18.8976378" 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" VAlign="vaCenter" Text="COST"/>
      <TfrxMemoView Name="Memo10" Left="356.31601818" Top="1.88976378000001" Width="56.69295" Height="18.8976378" 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" VAlign="vaCenter" Text="STOCK"/>
      <TfrxMemoView Name="Memo14" Left="481.03149606" Top="1.88976378000001" Width="90.70864677" Height="18.8976378" 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" VAlign="vaCenter" Text="TOTAL COST"/>
      <TfrxMemoView Name="Memo20" Left="578.40198" Top="1" Width="60.47248" Height="18.8976378" 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" VAlign="vaCenter" Text="PRICE"/>
      <TfrxMemoView Name="Memo23" Left="646.29963" Top="1.13385826999999" Width="83.14966" Height="18.8976378" 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" VAlign="vaCenter" Text="TOTAL PRICE"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="33.82251091" Left="0" ParentFont="False" Top="288" Width="737.00835">
      <TfrxMemoView Name="Memo4" Left="477.90692636" Top="0" Width="94.48817677" 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" Frame.Typ="4" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;TILL_DATE_STK&#34;&#62;*&#60;SQL.&#34;AT_DATE_UNIT_COST&#34;&#62;,MasterData1)]"/>
      <TfrxMemoView Name="Memo24" Left="627.40198" Top="3.77953000000002" Width="94.48817677" 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" Frame.Typ="4" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;TILL_DATE_STK&#34;&#62;*&#60;SQL.&#34;CURRENT_PRICE&#34;&#62;,MasterData1)]"/>
    </TfrxGroupFooter>
    <TfrxReportSummary Name="ReportSummary1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="49.18398273" Left="0" ParentFont="False" Top="340" Width="737.00835">
      <TfrxMemoView Name="Memo15" Align="baCenter" Left="246.35671616" Top="9.71335727000002" Width="244.29491768" Height="26.93629206" ShowHint="False" Color="-16777201" 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" Frame.DropShadow="True" Frame.Typ="15" HAlign="haRight" ParentFont="False" WordWrap="False" VAlign="vaCenter" Text="[SUM(&#60;SQL.&#34;TILL_DATE_STK&#34;&#62;*&#60;SQL.&#34;AT_DATE_UNIT_COST&#34;&#62;,MasterData1)]"/>
    </TfrxReportSummary>
  </TfrxReportPage>
  <TfrxDialogPage Name="DialogPage1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" BorderStyle="bsDialog" Height="214" Left="497" Top="188" Width="298" OnKeyDown="DialogPage1OnKeyDown">
    <TfrxEditControl Name="TxtNote" Left="17" Top="32" Width="246" Height="21" ShowHint="True" Color="-16777211" MaxLength="0" PasswordChar="0"/>
    <TfrxLabelControl Name="Label1" Left="17" Top="12" Width="69" Height="13" ShowHint="True" Caption="Optional note:" Color="-16777201"/>
    <TfrxButtonControl Name="Button1" Left="182" Top="137" Width="75" Height="25" ShowHint="True" Caption="OK" Default="True" ModalResult="1"/>
  </TfrxDialogPage>
</TfrxReport>
