<?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="44105.3908901157" 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="08446174617365747301010C2000000020446174615365743D2253514C2220446174615365744E616D653D2253514C2200010C3400000020446174615365743D2242616E6B4163636F756E745F412220446174615365744E616D653D2242616E6B4163636F756E745F412200010C3400000020446174615365743D2242616E6B4163636F756E745F422220446174615365744E616D653D2242616E6B4163636F756E745F422200010C3400000020446174615365743D2242616E6B4163636F756E745F432220446174615365744E616D653D2242616E6B4163636F756E745F432200010C2E00000020446174615365743D22436C69656E74496E666F2220446174615365744E616D653D22436C69656E74496E666F2200010C3600000020446174615365743D22436F6D70616E79416464726573732220446174615365744E616D653D22436F6D70616E79416464726573732200010C3200000020446174615365743D224F7267616E69736174696F6E2220446174615365744E616D653D224F7267616E69736174696F6E220000095661726961626C65730100055374796C650100">
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxADOQuery Name="SQL" UserName="SQL" CloseDataSource="True" FieldAliases.Text="" IgnoreDupParams="False" SQL.Text="select * from VwFullInvoice where ID = 5128                                                                                                                  " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C65667402540470546F7002240A506172616D65746572730100"/>
    <TfrxADOTable Name="BankAccount_A" UserName="BankAccount_A" CloseDataSource="True" FieldAliases.Text="" MasterFields="ID=BankAccountID1" TableName="dbo.Account" IndexFieldNames="ID" Database="DB" PropData="05704C656674039A000470546F700224"/>
    <TfrxADOTable Name="BankAccount_B" UserName="BankAccount_B" CloseDataSource="True" FieldAliases.Text="" MasterFields="ID=BankAccountID2" TableName="dbo.Account" IndexFieldNames="ID" Database="DB" PropData="05704C656674039C000470546F700268"/>
    <TfrxADOTable Name="BankAccount_C" UserName="BankAccount_C" CloseDataSource="True" FieldAliases.Text="" MasterFields="ID=BankAccountID3" TableName="dbo.Account" IndexFieldNames="ID" Database="DB" PropData="05704C656674039A000470546F7003AE00"/>
    <TfrxADODatabase Name="DB" LoginPrompt="False" PropData="05704C65667402240470546F700248"/>
    <TfrxADOTable Name="ClientInfo" UserName="ClientInfo" CloseDataSource="True" FieldAliases.Text="" Master="SQL" MasterFields="AccountID=AccountID" TableName="Representative" IndexFieldNames="AccountID" Database="DB" PropData="05704C6566740338010470546F7003A800"/>
    <TfrxADOQuery Name="CompanyAddress" UserName="CompanyAddress" CloseDataSource="True" FieldAliases.Text="" Master="SQL" IgnoreDupParams="False" SQL.Text="select * from CompanyAddress   Where ID = :InvoiceCompanyAddress                                                                                                                                                                                                                                                    " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C65667403A0010470546F7002540A506172616D657465727301010C68000000204E616D653D22496E766F696365436F6D70616E7941646472657373222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303B53514C2E262333343B436F6D70616E79416464726573734944262333343B262336323B220000"/>
    <TfrxADOQuery Name="Organisation" UserName="Organisation" CloseDataSource="True" FieldAliases.Text="" IgnoreDupParams="False" SQL.Text="SELECT * FROM VwOrganization                                                                                                          " CommandTimeout="30" Database="DB" LockType="ltReadOnly" PropData="05704C6566740348010470546F7002240A506172616D65746572730100"/>
  </TfrxDataPage>
  <TfrxReportPage Name="Original" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="5" RightMargin="5" TopMargin="5" BottomMargin="5" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxGroupFooter Name="GroupFooter1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Courier New" Font.Style="0" Height="73.8017831" Left="0" ParentFont="False" Top="377.953" Width="755.906">
      <TfrxLineView Name="Line4" Left="382" Top="10.36982" Width="369.5906" Height="0" ShowHint="False" Frame.Typ="4"/>
      <TfrxMemoView Name="Memo36" Left="369.52380952" Top="13.48794" Width="82.52721096" Height="21.7547831" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="1" Frame.DropShadow="True" HAlign="haRight" ParentFont="False" Text="[sUM(&#60;SQL.&#34;QTY&#34;&#62;,MasterData1)]"/>
    </TfrxGroupFooter>
    <TfrxGroupHeader Name="GroupHeader1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Courier New" Font.Style="0" Height="298.81910024" Left="0" ParentFont="False" Top="18.89765" Width="755.906" Condition="SQL.&#34;ID&#34;" KeepTogether="True" StartNewPage="True">
      <TfrxMemoView Name="Memo24" Left="2" Top="266.80334" Width="676.53587" Height="18.89764024" ShowHint="False" Color="15790320" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="5" HAlign="haRight" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-11" Highlight.Font.Name="ms Sans Serif" Highlight.Font.Style="0" Highlight.Color="14342874" Highlight.Condition="&#60;Line#&#62; mod  2 =0" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo16" Left="2" Top="259.80334" Width="752.12647" Height="34.01576024" ShowHint="False" Color="15790320" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="5" Frame.Color="8421504" Frame.Typ="15" HAlign="haRight" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo18" Left="4" Top="267.80334" Width="75.5906" Height="17.00787646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="1" ParentFont="False" Text="Codico"/>
      <TfrxMemoView Name="Memo19" Left="85.14966" Top="267.80334" Width="226.7718" Height="17.00787646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="1" ParentFont="False" Text="Descrecao"/>
      <TfrxMemoView Name="Memo20" Left="404.18924" Top="267.80334" Width="41.57483" Height="17.00787646" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="1" HAlign="haRight" ParentFont="False" Text="Qty"/>
      <TfrxShapeView Name="Shape2" Left="-0.55905268" Top="174.28355" Width="755.90551181" Height="80.5039248" ShowHint="False" Frame.Color="8421504"/>
      <TfrxShapeView Name="Shape3" Left="418.81107732" Top="3.77953" Width="334.48825" Height="166.89765" ShowHint="False" Frame.Color="8421504"/>
      <TfrxShapeView Name="Shape5" Left="423.81107732" Top="44.77953" Width="324.48825" Height="120.89765" ShowHint="False" Frame.Color="8421504"/>
      <TfrxShapeView Name="Shape4" Left="423.81107732" Top="9.77953" Width="324.48825" Height="30.89765" ShowHint="False" Color="15790320" Frame.Color="8421504"/>
      <TfrxPictureView Name="PicLogo" Left="3.22047732" Top="2.55906" Width="96.1417152" Height="135.27551" ShowHint="False" Center="True" DataField="LOGO" DataSet="Organisation" DataSetName="Organisation" Picture.PropData="[encoded data, 39116 characters]" HightQuality="True"/>
      <TfrxMemoView Name="Memo1" Left="427.59060732" Top="16.16543" Width="311.07916" Height="20.57483" ShowHint="False" Font.Charset="1" Font.Color="2105376" Font.Height="-16" Font.Name="Courier New" Font.Style="1" HAlign="haCenter" ParentFont="False" Text="GUIA DE REMESSA"/>
      <TfrxMemoView Name="Memo7" Left="532.35438441" Top="66.55899898" Width="188.97637795" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[SQL.&#34;RealDate&#34;]"/>
      <TfrxMemoView Name="SQLAccount" Left="-3.77953" Top="149.55897457" Width="411.96830622" Height="22.67717024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="1" Frame.DropShadow="True" ParentFont="False" Text=" I D E N T I F I C A C A O  D O  C L I E N T E"/>
      <TfrxMemoView Name="Memo5" Left="532.35438441" Top="85.25191236" Width="188.97637795" Height="15.11811024" ShowHint="False" DataField="Job" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[SQL.&#34;Job&#34;]"/>
      <TfrxMemoView Name="SQLWHName" Left="532.35438441" Top="105.14955016" Width="188.97637795" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[SQL.&#34;WHName&#34;]"/>
      <TfrxMemoView Name="Memo11" Left="428.52761275" Top="66.55899898" Width="94.48818898" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="1" ParentFont="False" Text="Data"/>
      <TfrxMemoView Name="Memo14" Left="428.52761275" Top="85.25191236" Width="94.48818898" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="1" ParentFont="False" Text="Job"/>
      <TfrxMemoView Name="Memo15" Left="428.52761275" Top="105.14955016" Width="94.48818898" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="1" ParentFont="False" Text="Armazem"/>
      <TfrxMemoView Name="Memo8" Left="532.26771898" Top="124.77953" Width="188.97637795" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[SQL.&#34;sys_code&#34;]"/>
      <TfrxMemoView Name="Memo22" Left="428.44094732" Top="124.77953" Width="94.48818898" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="1" ParentFont="False" Text="Reference"/>
      <TfrxMemoView Name="Memo32" Left="1.77953" Top="177.33086" Width="718.11023622" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="NOME: [SQL.&#34;ClientCode&#34;] [SQL.&#34;ClientName&#34;]  ([SQL.&#34;ClientLocation&#34;])"/>
      <TfrxMemoView Name="Memo115" Left="1.77953" Top="192.44898" Width="718.11023622" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="ENDRECO: [ClientInfo.&#34;Address&#34;]"/>
      <TfrxMemoView Name="Memo119" Left="1.77953" Top="211.34663" Width="718.11023622" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="CONTRIBUINTE/NIF: [ClientInfo.&#34;Contribuinte&#34;]"/>
      <TfrxMemoView Name="Memo10" Left="1.77953" Top="232.79522677" Width="744.56694622" Height="18.89764024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" VAlign="vaCenter" Text="[SQL.&#34;Description&#34;]"/>
      <TfrxMemoView Name="Memo12" Left="532.69319166" Top="147.40167" Width="188.97637795" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[SQL.&#34;OrderID&#34;]"/>
      <TfrxMemoView Name="Memo13" Left="428.86642" Top="147.40167" Width="94.48818898" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="1" ParentFont="False" Text="Order Num"/>
      <TfrxMemoView Name="Memo17" Left="530.91366166" Top="49.13389" Width="188.97637795" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="GR 2019/[SQL.&#34;DocNum&#34;]"/>
      <TfrxMemoView Name="Memo25" Left="427.08689" Top="49.13389" Width="94.48818898" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="1" ParentFont="False" Text="ID/SERIAL"/>
      <TfrxRichView Name="Rich10" Left="105.82684" Top="3.77953" Width="279.68522" Height="132.28355" ShowHint="False" GapX="2" GapY="1" PropData="0852696368456469740A2C0200007B5C727466315C6662696469735C616E73695C616E7369637067313235365C64656666305C6465666C616E6731323238397B5C666F6E7474626C7B5C66305C666E696C5C666368617273657430204D532053616E732053657269663B7D7D0D0A5C766965776B696E64345C7563315C706172645C6C74727061725C625C66305C66733230205B4F7267616E69736174696F6E2E224E616D65225D5C7061720D0A5C62305C66733136204E49462E3A205B4F7267616E69736174696F6E2E22436F6E7472696275696E7465225D5C7061720D0A5C62205B4F7267616E69736174696F6E2E22526567696D655F495641225D5C667332305C7061720D0A5C62305C66733136205B436F6D70616E79416464726573732E22436F756E747279225D202D205B436F6D70616E79416464726573732E2250726F76696E6365225D202D205B436F6D70616E79416464726573732E2243697479225D5C7061720D0A5B436F6D70616E79416464726573732E225374726565744E616D65225D202D205B436F6D70616E79416464726573732E224275696C64696E674E756D626572225D5C7061720D0A5B436F6D70616E79416464726573732E224164647265737344657461696C225D5C7061720D0A54656C2E3A205B4F7267616E69736174696F6E2E2254656C31225D5C7061720D0A4661783A205B4F7267616E69736174696F6E2E22466178225D5C7061720D0A41726D617A656D3A20285B53514C2E2257484E616D65225D295C7061720D0A7D0D0A00"/>
    </TfrxGroupHeader>
    <TfrxMasterData Name="MasterData1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Courier New" Font.Style="0" Height="16.11811024" Left="0" ParentFont="False" Top="340.1577" Width="755.906" ColumnWidth="0" ColumnGap="0" DataSet="SQL" DataSetName="SQL" RowCount="0">
      <TfrxMemoView Name="Memo26" Left="2" Top="1" Width="752.48052" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" Highlight.Font.Charset="1" Highlight.Font.Color="255" Highlight.Font.Height="-12" Highlight.Font.Name="Courier New" Highlight.Font.Style="0" Highlight.Color="65280" Highlight.Condition="&#60;SQL.&#34;IsPromotion&#34;&#62;" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Memo2" Left="4" Top="0" Width="75.5906" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[SQL.&#34;ItemCode&#34;]"/>
      <TfrxMemoView Name="Memo3" Left="85.14966" Top="0" Width="284.17718048" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[SQL.&#34;ItemName&#34;]"/>
      <TfrxMemoView Name="Memo4" Left="379.64780523" Top="0" Width="66.33673477" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###.00" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Courier New" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[SQL.&#34;Qty&#34;]"/>
      <TfrxMemoView Name="Memo29" Left="448.57142857" Top="0" Width="34.01577" Height="15.11811024" ShowHint="False" DataSet="SQL" DataSetName="SQL" DisplayFormat.FormatStr="#,###" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Courier New" Font.Style="0" ParentFont="False" Text="[SQL.&#34;ItemPacking&#34;]"/>
    </TfrxMasterData>
    <TfrxPageFooter Name="PageFooter1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Courier New" Font.Style="0" Height="90.70871024" Left="0" ParentFont="False" Top="514.01608" Width="755.906">
      <TfrxLineView Name="Line3" Left="0" Top="0" Width="755.90551181" Height="0" ShowHint="False" Frame.Typ="4"/>
      <TfrxMemoView Name="AccountsName" Left="2" Top="5.25942999999995" Width="480.00031" Height="18.89765" ShowHint="False" DataField="Name" DataSet="BankAccount_A" DataSetName="BankAccount_A" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="[BankAccount_A.&#34;Name&#34;]"/>
      <TfrxMemoView Name="BankAccount_BName" Left="2" Top="30.2594299999998" Width="480.00031" Height="18.89765" ShowHint="False" DataField="Name" DataSet="BankAccount_B" DataSetName="BankAccount_B" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="[BankAccount_B.&#34;Name&#34;]"/>
      <TfrxMemoView Name="BankAccount_CName" Left="2" Top="55.2594299999998" Width="480.00031" Height="18.89765" ShowHint="False" DataField="Name" DataSet="BankAccount_C" DataSetName="BankAccount_C" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="0" ParentFont="False" VAlign="vaCenter" Text="[BankAccount_C.&#34;Name&#34;]"/>
      <TfrxMemoView Name="Memo33" Align="baRight" Left="483.78001575" Top="60.0473099999999" Width="272.12598425" Height="15.11811024" ShowHint="False" DataSet="Organisation" DataSetName="Organisation" Font.Charset="1" Font.Color="8421504" Font.Height="-11" Font.Name="Courier New" Font.Style="2" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[Date] [Time]"/>
      <TfrxMemoView Name="Memo6" Align="baRight" Left="483.78001575" Top="44.3543599999998" Width="272.12598425" Height="15.11811024" ShowHint="False" DataSet="Organisation" DataSetName="Organisation" Font.Charset="1" Font.Color="8421504" Font.Height="-11" Font.Name="Courier New" Font.Style="2" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="Processado por computador"/>
      <TfrxMemoView Name="Memo9" Align="baRight" Left="495.11860575" Top="3.7795299999998" Width="260.78739425" Height="26.45668559" ShowHint="False" DataSet="SQL" DataSetName="SQL" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Courier New" Font.Style="1" ParentFont="False" WordWrap="False" Text="OPERADOR:[SQL.&#34;Operator&#34;]&#13;&#10;VENDADOR:[SQL.&#34;Vendor&#34;]"/>
      <TfrxMemoView Name="Memo27" Align="baCenter" Left="215.00535613" Top="75.5906" 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" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="ESTE DOCUMENTO NAO SERVE COMO FACTURA"/>
    </TfrxPageFooter>
  </TfrxReportPage>
</TfrxReport>
