<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="6.1.3" DotMatrixReport="False" EngineOptions.DoublePass="True" EngineOptions.NewSilentMode="simReThrow" IniFile="\Software\eStream\SQL Account\4\Fast Reports" PreviewOptions.Buttons="167935" PreviewOptions.Zoom="1" PreviewOptions.PictureCacheInFile="True" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="41631.3627038542" ReportOptions.Description.Text="Datamap=TdvPHPO&#13;&#10;GUID={8EE02035-F7C8-46F1-A12A-54340A2CF998}" ReportOptions.Name="Purchase Order 7 (GST 1)" ReportOptions.LastChange="43272.4296204167" ScriptLanguage="PascalScript" ScriptText.Text="function StrToFloatDef(const lFld:Variant):string;&#13;&#10;begin&#13;&#10;  if Trim(lFld) &#60;&#62; '' then&#13;&#10;    Result := lFld else&#13;&#10;    Result := '0';&#13;&#10;end;&#13;&#10;&#13;&#10;function VarToFloatDef(const lFld:Variant):Integer;&#13;&#10;begin&#13;&#10;  if Trim(lFld) &#60;&#62; '' then&#13;&#10;    Result := lFld else&#13;&#10;    Result := 0;&#13;&#10;end;&#13;&#10;&#13;&#10;function GetTotal(const lFld:String):Variant;&#13;&#10;var D : TfrxDataSet;&#13;&#10;    V : Variant;&#13;&#10;    s : string;&#13;&#10;begin&#13;&#10;  D := Report.GetDataSet('Document_Detail');&#13;&#10;  V := 0;&#13;&#10;  D.First;&#13;&#10;  While not D.Eof do begin&#13;&#10;    V := V + D.Value(lFld);&#13;&#10;    D.Next;&#13;&#10;  end;&#13;&#10;  Result := V;&#13;&#10;end;&#13;&#10;&#13;&#10;function GetSN(const lCode:String):String;&#13;&#10;var D : TfrxDataSet;&#13;&#10;    s : string;&#13;&#10;    i : integer;&#13;&#10;begin&#13;&#10;  Result := '';&#13;&#10;  D := Report.GetDataSet('Document_SerialNumber');&#13;&#10;  i := 1;&#13;&#10;  s := '';&#13;&#10;  D.First;&#13;&#10;  While not D.Eof do begin&#13;&#10;    if Trim(D.DisplayText('Dtlkey')) = Trim(lCode) then begin&#13;&#10;      if i = 1 then&#13;&#10;        s := D.Value('SerialNumber') else&#13;&#10;        s := s + ', ' + D.Value('SerialNumber');&#13;&#10;    end;&#13;&#10;    inc(i);&#13;&#10;    D.Next;&#13;&#10;  end;&#13;&#10;  if Trim(s) &#60;&#62; '' then&#13;&#10;    Result := 'Serial No :- ' + s;&#13;&#10;end;&#13;&#10;&#13;&#10;function FormatSQLDate(D: TDateTime): String;&#13;&#10;var AFormat: string;&#13;&#10;begin&#13;&#10;  AFormat := 'dd mmm yyyy'; //'dd/mmm/yyyy' if can't&#13;&#10;  Result := QuotedStr(FormatDateTime(AFormat, D));&#13;&#10;//If yr output for TxQuery use below coding&#13;&#10;//  AFormat :='dd/mm/yyyy';&#13;&#10;//  Result := '#'+FormatDateTime(AFormat, D)+'#';&#13;&#10;end;&#13;&#10;&#13;&#10;procedure SetUp;&#13;&#10;var SQL : String;&#13;&#10;begin&#13;&#10;  SQL := 'SELECT DocKey, ItemCode, UOM, UnitPrice, Disc, MAX(Seq) Seq, Description, Description3, ' +&#13;&#10;		       'SUM(CAST(Qty AS REAL)) Qty, SUM(CAST(Amount AS REAL)) Amount, SUM(CAST(AmountWithTax AS REAL)) AmountWithTax,  '+&#13;&#10;         'SUM(CAST(LocalAmount AS REAL)) LocalAmount, SUM(CAST(LocalAmountWithTax AS REAL)) LocalAmountWithTax,  '+&#13;&#10;         'Tax, Sum(CAST(TaxAmt AS REAL)) TaxAmt, Sum(CAST(LocalTaxAmt AS REAL)) LocalTaxAmt ' +&#13;&#10;         'FROM Document_Detail ' +&#13;&#10;         'GROUP BY DocKey, ItemCode, UOM, UnitPrice, Disc, Tax ';&#13;&#10;  AddDataSet('MergeItemCode', ['Dockey', 'ItemCode', 'UOM', 'UnitPrice', 'Disc', 'Seq', 'Description',&#13;&#10;                               'Description3', 'LocalAmount', 'LocalAmountWithTax',&#13;&#10;                               'Qty', 'Amount', 'AmountWithTax', 'Tax', 'TaxAmt','LocalTaxAmt'])&#13;&#10;  .GetLocalData(SQL)&#13;&#10;  .SetDisplayFormat(['LocalAmount', 'LocalAmountWithTax', 'Amount', 'AmountWithTax',&#13;&#10;                     'TaxAmt','LocalTaxAmt'], &#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;)&#13;&#10;  .SetDisplayFormat(['Qty'],&#60;Option.&#34;StockQuantityDisplayFormat&#34;&#62;)&#13;&#10;  .SetDisplayFormat(['UnitPrice'],&#60;Option.&#34;StockCostDisplayFormat&#34;&#62;)&#13;&#10;  .LinkTo('Main', 'Dockey', 'Dockey;Seq');&#13;&#10;&#13;&#10;  SQL := 'SELECT Dockey, Count(DISTINCT FromDocKey) Nos FROM Document_Detail ' +&#13;&#10;         'WHERE FromDocKey IS NOT NULL ' +&#13;&#10;         'GROUP BY Dockey';&#13;&#10;  AddDataSet('FromDocCount', ['Nos'])&#13;&#10;  .GetLocalData(SQL)&#13;&#10;  .LinkTo('Main', 'Dockey', 'Dockey');&#13;&#10;&#13;&#10;  SQL := 'SELECT Dockey, Amount, LocalAmount FROM Document_Detail ' +&#13;&#10;         'WHERE ItemCode=''RTN5Cents'' ';&#13;&#10;  AddDataSet('AdjRound', ['Dockey', 'Amount', 'LocalAmount'])&#13;&#10;  .GetLocalData(SQL)&#13;&#10;  .SetDisplayFormat(['Amount, LocalAmount'],&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;)&#13;&#10;  .LinkTo('Main', 'Dockey', 'Dockey');&#13;&#10;end;&#13;&#10;&#13;&#10;procedure GroupFooter1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if Engine.FreeSpace &#60; (GroupFooter1.Height + PageFooter1.Height + 30)  then Engine.NewPage;&#13;&#10;    Engine.CurY := Engine.PageHeight - GroupFooter1.Height - PageFooter1.Height - 60;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure DetailData1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  DetailData1.Visible := &#60;Option.&#34;MergeSameItemCode&#34;&#62; = False;&#13;&#10;  DetailData2.Visible := &#60;Option.&#34;MergeSameItemCode&#34;&#62; = True;&#13;&#10;  // For Print Count 20&#13;&#10;  //if TfrxDetailData(Sender).Visible and (&#60;Line#&#62; mod 20 = 1) and (&#60;Line#&#62; &#62; 1) then Engine.NewPage;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure GroupHeader2OnBeforePrint(Sender: TfrxComponent);&#13;&#10;var D, DD, FDN, FDD: String;&#13;&#10;begin&#13;&#10;   FDN:= &#60;Document_Detail.&#34;FromDocNo&#34;&#62;;&#13;&#10;   FDD:= &#60;Document_Detail.&#34;FromDocDate&#34;&#62;;&#13;&#10;   If Trim(FDN) &#60;&#62; '' then&#13;&#10;      D := 'From Doc No. : ' + FDN + ';   ' else&#13;&#10;      D := '';&#13;&#10;   If Trim(FDD) &#60;&#62; '0' Then&#13;&#10;      DD := 'From Doc Date : ' + FDD else&#13;&#10;      DD := '';&#13;&#10;  GroupHeader2.Visible := (VarToFloatDef(&#60;FromDocCount.&#34;Nos&#34;&#62;) &#62; 1) and (&#60;Option.&#34;MergeSameItemCode&#34;&#62; = False);&#13;&#10;  Document_DetailFromDocNo.Text := D + DD;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure DetailData1OnAfterCalcHeight(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;// Example Stop position on 9.5 inch * 96 = 912&#13;&#10;  if TfrxDetailData(Sender).Visible and (Engine.CurY + DetailData1.Height &#62;= 912) then Engine.NewPage;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure Page1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  ShiftRelative([MmDesc, RichDesc3]);&#13;&#10;  ShiftRelative([MmDescM, RichDesc3M]);&#13;&#10;end;&#13;&#10;&#13;&#10;procedure MmTaxRateOnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10; { if &#60;Main.&#34;TaxDate&#34;&#62; &#60; '01 Jun 2018' then&#13;&#10;    MmTaxRate.Text := 'GST Amt @ 6% (RM)' else&#13;&#10;    MmTaxRate.Text := 'GST Amt @ 0% (RM)';  }&#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;  if &#60;Main.&#34;PrintCount&#34;&#62; &#60;&#62; 0 then begin&#13;&#10;    if MessageDlg ('Print Count is ' + IntToStr(&#60;Main.&#34;PrintCount&#34;&#62;)+#13 +&#13;&#10;                   'Print Duplicate Copy?', mtInformation, mbYes + mbNo, 0) =  mrYes then begin&#13;&#10;      MmDuplicate.Visible   := True;&#13;&#10;      MmDuplicate.Printable := True;&#13;&#10;    end;&#13;&#10;  end;&#13;&#10;end.">
  <Datasets>
    <item DataSet="Main" DataSetName="Main"/>
    <item DataSet="Document_Detail" DataSetName="Document_Detail"/>
    <item DataSet="Parameter" DataSetName="Parameter"/>
    <item DataSet="Document_Agent" DataSetName="Document_Agent"/>
    <item DataSet="Document_Area" DataSetName="Document_Area"/>
    <item DataSet="Document_Project" DataSetName="Document_Project"/>
    <item DataSet="Document_StockGroup" DataSetName="Document_StockGroup"/>
    <item DataSet="Document_Location" DataSetName="Document_Location"/>
    <item DataSet="Document_Currency" DataSetName="Document_Currency"/>
    <item DataSet="Document_Terms" DataSetName="Document_Terms"/>
    <item DataSet="Document_ItemCompany" DataSetName="Document_ItemCompany"/>
    <item DataSet="Document_Company" DataSetName="Document_Company"/>
    <item DataSet="Document_CompanyBranch" DataSetName="Document_CompanyBranch"/>
    <item DataSet="Document_DocProject" DataSetName="Document_DocProject"/>
    <item DataSet="Document_CompanyCategory" DataSetName="Document_CompanyCategory"/>
    <item DataSet="Document_Shipper" DataSetName="Document_Shipper"/>
    <item DataSet="Option" DataSetName="Option"/>
    <item DataSet="Profile" DataSetName="Profile"/>
    <item DataSet="User" DataSetName="User"/>
    <item DataSetName="MergeItemCode"/>
    <item DataSetName="FromDocCount"/>
    <item DataSetName="AdjRound"/>
  </Datasets>
  <Variables>
    <item Name=" RBVariables"/>
    <item Name="ReportVarFromDocDate" Value="''"/>
    <item Name="ReportVarFromDocNo" Value="''"/>
    <item Name="ReportvSerialNo" Value="''"/>
    <item Name="ReportVariable4" Value="''"/>
    <item Name="ReportMemo13" Value="''"/>
    <item Name="ReportVarDeposit" Value="''"/>
    <item Name="ReportVarPayAmt" Value="''"/>
    <item Name="ReportVariable3" Value="''"/>
  </Variables>
  <TfrxDataPage Name="DataPage1" Height="1000" Left="0" Top="0" Width="1000"/>
  <TfrxReportPage Name="Page1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" PaperWidth="215.9" PaperHeight="279.4" PaperSize="1" LeftMargin="9.906" RightMargin="6.35" TopMargin="6.35" BottomMargin="0" ColumnWidth="0" ColumnPositions.Text="" DataSetName="plSQL_2" Frame.Typ="0" LargeDesignHeight="True" HGuides.Text="" VGuides.Text="" OnBeforePrint="Page1OnBeforePrint">
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="369.42008007" Left="0" Top="19.2" Width="754.56048732" Condition="Main.&#34;DocNo&#34;" ReprintOnNewPage="True" ResetPageNumbers="True" StartNewPage="True">
      <TfrxMemoView Name="Memo20" AllowVectorExport="True" ShiftMode="smDontShift" Left="585.82715" Top="302.00177695" Width="154.96073" Height="39.68503937" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="2" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Label1" AllowVectorExport="True" ShiftMode="smDontShift" Left="12.60094682" Top="121.00197114" Width="203.4142612" Height="25.59875669" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Purchase Order"/>
      <TfrxLineView Name="Line1" AllowVectorExport="True" ShiftMode="smDontShift" Left="9.6" Top="147.99947212" Width="739.2" Height="0" Color="0" Frame.Typ="4"/>
      <TfrxMemoView Name="Label3" AllowVectorExport="True" ShiftMode="smDontShift" Left="12.60094682" Top="152.99979031" Width="107.36129818" Height="11.19874739" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Supplier Address"/>
      <TfrxMemoView Name="Label5" AllowVectorExport="True" ShiftMode="smDontShift" Left="396.60119482" Top="152.99979031" Width="116.31878428" Height="11.19874739" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Delivery Address"/>
      <TfrxMemoView Name="DBTxtBrchName" AllowVectorExport="True" ShiftMode="smDontShift" Left="396.60119482" Top="166.00137351" Width="339.00116382" Height="15.99875049" StretchMode="smActualHeight" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" Highlight.Font.Charset="1" Highlight.Font.Color="16777215" Highlight.Font.Height="-13" Highlight.Font.Name="Tahoma" Highlight.Font.Style="0" Highlight.Condition="&#60;Main.&#34;BranchName&#34;&#62; = 'BILLING'" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" Text="[Main.&#34;BranchName&#34;]"/>
      <TfrxMemoView Name="lbDOTel" AllowVectorExport="True" ShiftMode="smDontShift" Left="396.60119482" Top="267.0017537" Width="17.76001147" Height="15.99875049" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Tel"/>
      <TfrxMemoView Name="lbDOFax" AllowVectorExport="True" ShiftMode="smDontShift" Left="396.60119482" Top="284.00207964" Width="20.48127307" Height="15.99875049" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Fax"/>
      <TfrxLineView Name="Line2" AllowVectorExport="True" ShiftMode="smDontShift" Left="9.6" Top="303.00177695" Width="731.64094" Height="0" Color="0" Frame.Typ="4"/>
      <TfrxMemoView Name="DBText9" AllowVectorExport="True" ShiftMode="smDontShift" Left="12.60094682" Top="166.00137351" Width="360.0002325" Height="15.99875049" StretchMode="smActualHeight" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;CompanyName&#34;]"/>
      <TfrxMemoView Name="Label17" AllowVectorExport="True" ShiftMode="smDontShift" Left="97.59879699" Top="306.99989106" Width="75.01988477" Height="19.2000062" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Purchase Executive"/>
      <TfrxMemoView Name="Label19" AllowVectorExport="True" ShiftMode="smDontShift" Left="12.60094682" Top="306.99989106" Width="83.52004154" Height="19.2000062" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Supplier Account"/>
      <TfrxMemoView Name="Label21" AllowVectorExport="True" ShiftMode="smDontShift" Left="179.00232033" Top="306.99989106" Width="60.15876041" Height="19.2000062" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="16777215" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Condition="&#60;Main.&#34;CurrencyCode&#34;&#62; = '----'" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" Text="Currency Rate"/>
      <TfrxMemoView Name="Label23" AllowVectorExport="True" ShiftMode="smDontShift" Left="437.60153626" Top="306.99989106" Width="49.11875328" Height="19.2000062" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Name"/>
      <TfrxMemoView Name="Label25" AllowVectorExport="True" ShiftMode="smDontShift" Left="588.60068244" Top="306.99989106" Width="68.79876599" Height="19.2000062" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Doc No."/>
      <TfrxMemoView Name="Label27" AllowVectorExport="True" ShiftMode="smDontShift" Left="709.52360784" Top="306.99989106" Width="26.0787508" Height="19.2000062" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Date"/>
      <TfrxLineView Name="Line4" AllowVectorExport="True" ShiftMode="smDontShift" Left="9.6" Top="341.00054294" Width="731.64094" Height="0" Color="0" Frame.Typ="4"/>
      <TfrxMemoView Name="Label29" AllowVectorExport="True" ShiftMode="smDontShift" Left="9.6" Top="349.8" Width="28.8" Height="9.6000062" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="No"/>
      <TfrxMemoView Name="Label31" AllowVectorExport="True" ShiftMode="smDontShift" Left="39.9984" Top="349.8" Width="39.20128516" Height="9.6000062" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Description"/>
      <TfrxMemoView Name="Label33" AllowVectorExport="True" ShiftMode="smDontShift" Left="299.60221139" Top="349.8" Width="21.9212678" Height="9.6000062" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Qty"/>
      <TfrxMemoView Name="Label37" AllowVectorExport="True" ShiftMode="smDontShift" Left="400.39804021" Top="349.8" Width="49.59875979" Height="9.6000062" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Discount"/>
      <TfrxMemoView Name="Label39" AllowVectorExport="True" ShiftMode="smDontShift" Left="356.55483773" Top="349.8" Width="53.43876227" Height="9.6000062" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Price/Unit"/>
      <TfrxMemoView Name="Label41" AllowVectorExport="True" ShiftMode="smDontShift" Left="461.88123587" Top="349.8" Width="56.31876413" Height="9.6000062" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Sub Total"/>
      <TfrxMemoView Name="DBText23" AllowVectorExport="True" ShiftMode="smDontShift" Left="12.60094682" Top="320.99927018" Width="72.0000465" Height="14.4000093" StretchMode="smActualHeight" DataField="Code" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;Code&#34;]"/>
      <TfrxMemoView Name="DBText24" AllowVectorExport="True" ShiftMode="smDontShift" Left="588.60068244" Top="322.00084563" Width="82.08005301" Height="14.4000093" StretchMode="smActualHeight" DataField="DocNo" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;DocNo&#34;]"/>
      <TfrxMemoView Name="DBText27" AllowVectorExport="True" ShiftMode="smDontShift" Left="179.00232033" Top="320.99927018" Width="60.15876041" Height="14.4000093" StretchMode="smActualHeight" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="16777215" Highlight.Font.Height="-13" Highlight.Font.Name="Arial" Highlight.Font.Style="0" Highlight.Condition="&#60;Main.&#34;CurrencyCode&#34;&#62; = '----'" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" Text="[Main.&#34;CurrencyRate&#34;]"/>
      <TfrxMemoView Name="DBText28" AllowVectorExport="True" ShiftMode="smDontShift" Left="641.68103814" Top="322.00084563" Width="93.9213205" Height="14.4000093" StretchMode="smActualHeight" DataField="DocDate" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Main.&#34;DocDate&#34;]"/>
      <TfrxMemoView Name="DBText34" AllowVectorExport="True" ShiftMode="smDontShift" Left="437.60153626" Top="322.00084563" Width="63.99878149" Height="14.4000093" StretchMode="smActualHeight" DataField="Code" DataSet="User" DataSetName="User" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="[User.&#34;Code&#34;]"/>
      <TfrxMemoView Name="DBText35" AllowVectorExport="True" ShiftMode="smDontShift" Left="97.59879699" Top="320.99927018" Width="68.00130376" Height="14.4000093" StretchMode="smActualHeight" DataField="Agent" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;Agent&#34;]"/>
      <TfrxMemoView Name="Label67" AllowVectorExport="True" ShiftMode="smDontShift" Left="518.60253733" Top="306.99989106" Width="51.20128051" Height="19.2000062" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Page No "/>
      <TfrxMemoView Name="lbIVTel" AllowVectorExport="True" ShiftMode="smDontShift" Left="12.60094682" Top="267.0017537" Width="17.76001147" Height="15.99875049" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Tel"/>
      <TfrxMemoView Name="lbIVFax" AllowVectorExport="True" ShiftMode="smDontShift" Left="12.60094682" Top="284.00207964" Width="20.48127307" Height="15.99875049" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Fax"/>
      <TfrxMemoView Name="lbIVAttn" AllowVectorExport="True" ShiftMode="smDontShift" Left="12.60094682" Top="250.00142776" Width="24.32127555" Height="15.99875049" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Attn"/>
      <TfrxMemoView Name="DBText16" AllowVectorExport="True" ShiftMode="smDontShift" Left="65.60129601" Top="250.99922368" Width="61.59877994" Height="15.99875049" StretchMode="smActualHeight" AutoWidth="True" DataField="Attention" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;Attention&#34;]"/>
      <TfrxMemoView Name="lbDOAttn" AllowVectorExport="True" ShiftMode="smDontShift" Left="396.60119482" Top="250.00142776" Width="24.32127555" Height="15.99875049" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Attn"/>
      <TfrxMemoView Name="DBText1" AllowVectorExport="True" ShiftMode="smDontShift" Left="437.60153626" Top="250.00142776" Width="104.64006758" Height="15.99875049" StretchMode="smActualHeight" AutoWidth="True" DataField="DAttention" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;DAttention&#34;]"/>
      <TfrxMemoView Name="DBText7" AllowVectorExport="True" ShiftMode="smDontShift" Left="437.60153626" Top="267.0017537" Width="87.51879668" Height="15.99875049" StretchMode="smActualHeight" AutoWidth="True" DataField="DPhone1" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;DPhone1&#34;]"/>
      <TfrxMemoView Name="DBText8" AllowVectorExport="True" ShiftMode="smDontShift" Left="437.60153626" Top="284.00207964" Width="71.67878645" Height="15.99875049" StretchMode="smActualHeight" AutoWidth="True" DataField="DFax1" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;DFax1&#34;]"/>
      <TfrxPictureView Name="DBImage3" AllowVectorExport="True" ShiftMode="smDontShift" Left="12.60094682" Top="12.00000775" Width="96.000062" Height="96.000062" DataField="Logo" DataSet="Profile" DataSetName="Profile" Frame.Typ="0" HightQuality="False" Transparent="False" TransparentColor="16777215"/>
      <TfrxRichView Name="DBRichText2" AllowVectorExport="True" ShiftMode="smDontShift" Left="115.60447791" Top="12.00000775" Width="547.2003534" Height="96.99785792" StretchMode="smActualHeight" AllowExpressions="False" DataField="Note" DataSet="Profile" DataSetName="Profile" Frame.Typ="0" GapX="2" GapY="1" PropData="0852696368456469740AA60000007B5C727466315C616E73695C616E7369637067313235325C64656666305C6E6F7569636F6D7061745C6465666C616E67313033337B5C666F6E7474626C7B5C66305C666E696C5C666368617273657430205461686F6D613B7D7D0D0A7B5C2A5C67656E657261746F722052696368656432302031302E302E31363239397D5C766965776B696E64345C756331200D0A5C706172645C66305C667331365C7061720D0A7D0D0A00"/>
      <TfrxMemoView Name="DBText15" AllowVectorExport="True" ShiftMode="smDontShift" Left="65.60129601" Top="267.0017537" Width="47.67877095" Height="15.99875049" StretchMode="smActualHeight" AutoWidth="True" DataField="Phone1" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;Phone1&#34;]"/>
      <TfrxMemoView Name="DBText17" AllowVectorExport="True" ShiftMode="smDontShift" Left="65.60129601" Top="284.00207964" Width="31.83876072" Height="15.99875049" StretchMode="smActualHeight" AutoWidth="True" DataField="Fax1" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;Fax1&#34;]"/>
      <TfrxMemoView Name="lbDODate" AllowVectorExport="True" ShiftMode="smDontShift" Left="252.19290638" Top="306.99989106" Width="62.72129415" Height="19.2000062" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="16777215" Highlight.Font.Height="-8" Highlight.Font.Name="Tahoma" Highlight.Font.Style="0" Highlight.Condition="(VarToFloatDef(&#60;FromDocCount.&#34;Nos&#34;&#62;) &#62; 1) or (VarToFloatDef(&#60;Document_Detail.&#34;FromDocDate&#34;&#62;) = 0)" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" Text="From Doc Date"/>
      <TfrxMemoView Name="lbDoNo" AllowVectorExport="True" ShiftMode="smDontShift" Left="346.59423339" Top="306.99989106" Width="55.83877002" Height="19.2000062" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="16777215" Highlight.Font.Height="-8" Highlight.Font.Name="Tahoma" Highlight.Font.Style="0" Highlight.Condition="(VarToFloatDef(&#60;FromDocCount.&#34;Nos&#34;&#62;) &#62; 1) or (VarToFloatDef(&#60;Document_Detail.&#34;FromDocDate&#34;&#62;) = 0)" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" Text="From Doc No"/>
      <TfrxMemoView Name="VarFromDocDate" AllowVectorExport="True" ShiftMode="smDontShift" Left="252.20046544" Top="320.99927018" Width="83.79975156" Height="13.99937912" StretchMode="smActualHeight" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="16777215" Highlight.Font.Height="-12" Highlight.Font.Name="Tahoma" Highlight.Font.Style="0" Highlight.Condition="(VarToFloatDef(&#60;FromDocCount.&#34;Nos&#34;&#62;) &#62; 1) or (VarToFloatDef(&#60;Document_Detail.&#34;FromDocDate&#34;&#62;) = 0)" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" Text="[Document_Detail.&#34;FromDocDate&#34;]"/>
      <TfrxMemoView Name="VarFromDocNo" AllowVectorExport="True" ShiftMode="smDontShift" Left="346.60179245" Top="320.99927018" Width="90.99974381" Height="13.99937912" StretchMode="smActualHeight" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="16777215" Highlight.Font.Height="-12" Highlight.Font.Name="Tahoma" Highlight.Font.Style="0" Highlight.Condition="(VarToFloatDef(&#60;FromDocCount.&#34;Nos&#34;&#62;) &#62; 1) or (VarToFloatDef(&#60;Document_Detail.&#34;FromDocDate&#34;&#62;) = 0)" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" Text="[Document_Detail.&#34;FromDocNo&#34;]"/>
      <TfrxMemoView Name="Memo1" AllowVectorExport="True" ShiftMode="smDontShift" Left="524.28188" Top="344.39960387" Width="61.83688413" Height="25.0204762" StretchMode="smActualHeight" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Excl. GST&#13;&#10;(SGD)"/>
      <TfrxMemoView Name="MmTaxRate" AllowVectorExport="True" ShiftMode="smDontShift" Left="587.4" Top="344.39960387" Width="56.9952" Height="25.0204762" OnBeforePrint="MmTaxRateOnBeforePrint" StretchMode="smActualHeight" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="GST Amt @ 7% (SGD)"/>
      <TfrxMemoView Name="Memo4" AllowVectorExport="True" ShiftMode="smDontShift" Left="652.86141" Top="344.39960387" Width="58.05735413" Height="25.0204762" StretchMode="smActualHeight" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Incl. GST &#13;&#10;(SGD)"/>
      <TfrxSysMemoView Name="SysMmPage" AllowVectorExport="True" ShiftMode="smDontShift" Left="518.60253733" Top="322.00084563" Width="57.6" Height="19.2" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="[PAGE] of [TOTALPAGES]"/>
      <TfrxMemoView Name="Memo8" AllowVectorExport="True" ShiftMode="smDontShift" Left="717.0819322" Top="349.8" Width="21.9212678" Height="9.6000062" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Tax"/>
      <TfrxMemoView Name="DBText3" AllowVectorExport="True" ShiftMode="smDontShift" Left="396.60119482" Top="182.4" Width="339.00116382" Height="63.99875049" StretchMode="smActualHeight" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;DAddress1&#34;]&#13;&#10;[Main.&#34;DAddress2&#34;]&#13;&#10;[Main.&#34;DAddress3&#34;]&#13;&#10;[Main.&#34;DAddress4&#34;]"/>
      <TfrxMemoView Name="DBText10" AllowVectorExport="True" ShiftMode="smDontShift" Left="12.60094682" Top="182.4" Width="360.0002325" Height="63.99875049" StretchMode="smActualHeight" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;Address1&#34;]&#13;&#10;[Main.&#34;Address2&#34;]&#13;&#10;[Main.&#34;Address3&#34;]&#13;&#10;[Main.&#34;Address4&#34;]"/>
      <TfrxMemoView Name="MmDuplicate" AllowVectorExport="True" ShiftMode="smDontShift" Left="585.82715" Top="123.92354783" Width="147.40167" Height="22.67718" Visible="False" Visibility="3" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Duplicate Copy"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="192" Left="0" Top="576" Width="754.56048732" OnBeforePrint="GroupFooter1OnBeforePrint" Stretched="True">
      <TfrxMemoView Name="Memo13" AllowVectorExport="True" Left="8.99906093" Top="3.00094682" Width="559.00004606" Height="34.00065188" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Document_Currency.&#34;Description&#34;] : [CurrencyToEngWord(&#60;Main.&#34;DocAmt&#34;&#62;)] ONLY"/>
      <TfrxMemoView Name="DBTxtInvAmt" AllowVectorExport="True" ShiftMode="smDontShift" Left="306.19860324" Top="46.00065963" Width="212.00139676" Height="14.4000093" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[FormatFloat(&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;, GetTotal('Amount'))]"/>
      <TfrxMemoView Name="Label10" AllowVectorExport="True" ShiftMode="smDontShift" Left="150.99978256" Top="46.00065963" Width="112.95875731" Height="14.4000093" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Total Amount Due"/>
      <TfrxLineView Name="Line3" AllowVectorExport="True" ShiftMode="smDontShift" Left="142.99805255" Top="42.99971281" Width="605.80194745" Height="0" Color="0" Frame.Typ="4"/>
      <TfrxLineView Name="Line5" AllowVectorExport="True" ShiftMode="smDontShift" Left="9.6" Top="68.0016297" Width="739.2" Height="0" Color="0" Frame.Typ="4"/>
      <TfrxMemoView Name="Label43" AllowVectorExport="True" ShiftMode="smDontShift" Left="10.00189364" Top="72.00226608" Width="74.40003565" Height="9.6000062" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Payment Terms"/>
      <TfrxMemoView Name="Label51" AllowVectorExport="True" ShiftMode="smDontShift" Left="648.44190957" Top="72.00226608" Width="66.56129043" Height="9.6000062" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Payable ([Document_Currency.&#34;Symbol&#34;])"/>
      <TfrxMemoView Name="DBText29" AllowVectorExport="True" ShiftMode="smDontShift" Left="10.00189364" Top="84.00227383" Width="126.00197114" Height="14.4000093" StretchMode="smActualHeight" AutoWidth="True" DataField="Terms" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;Terms&#34;]"/>
      <TfrxMemoView Name="lbRef1" AllowVectorExport="True" ShiftMode="smDontShift" Left="138.00197889" Top="72.00226608" Width="30.72001364" Height="9.6000062" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="16777215" Highlight.Font.Height="-8" Highlight.Font.Name="Tahoma" Highlight.Font.Style="0" Highlight.Condition="Trim(&#60;Main.&#34;DocRef1&#34;&#62;) = ''" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" Text="Ref 1 "/>
      <TfrxMemoView Name="DBText101" AllowVectorExport="True" ShiftMode="smDontShift" Left="311.00146651" Top="84.00227383" Width="178.00074488" Height="14.4000093" StretchMode="smActualHeight" AutoWidth="True" DataField="DocRef2" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;DocRef2&#34;]"/>
      <TfrxMemoView Name="lbRef2" AllowVectorExport="True" ShiftMode="smDontShift" Left="311.00146651" Top="72.00226608" Width="49.92001364" Height="9.6000062" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="16777215" Highlight.Font.Height="-8" Highlight.Font.Name="Tahoma" Highlight.Font.Style="0" Highlight.Condition="Trim(&#60;Main.&#34;DocRef2&#34;&#62;) = ''" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" Text="Ref 2 "/>
      <TfrxMemoView Name="DBText14" AllowVectorExport="True" ShiftMode="smDontShift" Left="138.00197889" Top="84.00227383" Width="178.00074488" Height="14.4000093" StretchMode="smActualHeight" AutoWidth="True" DataField="DocRef1" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;DocRef1&#34;]"/>
      <TfrxMemoView Name="VarPayAmt" AllowVectorExport="True" ShiftMode="smDontShift" Left="503.00180324" Top="84.00227383" Width="212.00139676" Height="17.76001147" StretchMode="smActualHeight" AutoWidth="True" DataField="DocAmt" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Main.&#34;DocAmt&#34;]"/>
      <TfrxLineView Name="Line6" AllowVectorExport="True" ShiftMode="smDontShift" Left="9.6" Top="106.00200214" Width="739.2" Height="0" Color="0" Frame.Typ="4"/>
      <TfrxMemoView Name="Label61" AllowVectorExport="True" ShiftMode="smDontShift" Left="544.64189252" Top="113.0016917" Width="179.36130748" Height="19.2000062" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Authorised Signature&#13;&#10;[Profile.&#34;CompanyName&#34;] ([Profile.&#34;RegisterNo&#34;])"/>
      <TfrxLineView Name="Line7" AllowVectorExport="True" ShiftMode="smDontShift" Left="9.6" Top="182.00079138" Width="739.2" Height="0" Color="0" Frame.Typ="4"/>
      <TfrxMemoView Name="Memo9" AllowVectorExport="True" ShiftMode="smDontShift" Left="576.39380324" Top="46.00065963" Width="68.00139676" Height="14.4000093" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[FormatFloat(&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;, GetTotal('LocalTaxAmt'))]"/>
      <TfrxMemoView Name="Memo11" AllowVectorExport="True" ShiftMode="smDontShift" Left="627.80180324" Top="46.00065963" Width="87.20139676" Height="14.4000093" DataField="LocalDocAmt" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Main.&#34;LocalDocAmt&#34;]"/>
      <TfrxMemoView Name="Memo12" AllowVectorExport="True" ShiftMode="smDontShift" Left="519.20180324" Top="46.00065963" Width="68.00139676" Height="14.4000093" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[FormatFloat(&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;, GetTotal('LocalAmount'))]"/>
      <TfrxMemoView Name="Memo14" AllowVectorExport="True" ShiftMode="smDontShift" Left="519.5574737" Top="72.00226608" Width="66.56129043" Height="9.6000062" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="GST Amount ([Document_Currency.&#34;Symbol&#34;])"/>
      <TfrxMemoView Name="Memo15" AllowVectorExport="True" Left="490.11876413" Top="84.00227383" Width="96" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[FormatFloat(&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;, GetTotal('TaxAmt'))]"/>
    </TfrxGroupFooter>
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="0" Left="0" Top="412.8" Width="754.56048732" ColumnWidth="0" ColumnGap="0" DataSet="Main" DataSetName="Main" RowCount="0" Stretched="True"/>
    <TfrxDetailData Name="DetailData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Height="29.2" Left="0" ParentFont="False" Top="460.8" Width="754.56048732" OnAfterCalcHeight="DetailData1OnAfterCalcHeight" OnBeforePrint="DetailData1OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSet="Document_Detail" DataSetName="Document_Detail" RowCount="0" Stretched="True">
      <TfrxMemoView Name="Memo7" AllowVectorExport="True" Left="717" Top="0" Width="22.0032" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" AllowExpressions="False" DataField="Tax" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" VAlign="vaBottom" Text="[Document_Detail.&#34;Tax&#34;]"/>
      <TfrxSysMemoView Name="SysMemo1" AllowVectorExport="True" Left="9.6" Top="0" Width="28.8" Height="9.6" StretchMode="smActualHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[LINE#]"/>
      <TfrxMemoView Name="Document_DetailQty" AllowVectorExport="True" Left="267.6016" Top="0" Width="42.4032" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" AllowExpressions="False" DataField="Qty" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Document_Detail.&#34;Qty&#34;]"/>
      <TfrxMemoView Name="Document_DetailUnitPrice" AllowVectorExport="True" Left="352.9984" Top="0" Width="56.9952" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" AllowExpressions="False" DataField="UnitPrice" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Document_Detail.&#34;UnitPrice&#34;]"/>
      <TfrxMemoView Name="Document_DetailUOM" AllowVectorExport="True" Left="314.9968" Top="0" Width="34.0032" Height="9.6" StretchMode="smActualHeight" AllowExpressions="False" DataField="UOM" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Document_Detail.&#34;UOM&#34;]"/>
      <TfrxMemoView Name="Document_DetailDISC" AllowVectorExport="True" Left="412.2016" Top="0" Width="37.7952" Height="9.6" StretchMode="smActualHeight" AllowExpressions="False" DataField="DISC" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Document_Detail.&#34;DISC&#34;]"/>
      <TfrxMemoView Name="Document_DetailAmountWithTax" AllowVectorExport="True" Left="448.1968" Top="0" Width="70.0032" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" AllowExpressions="False" DataField="Amount" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Document_Detail.&#34;Amount&#34;]"/>
      <TfrxMemoView Name="Memo3" AllowVectorExport="True" Left="645" Top="0" Width="70.0032" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" AllowExpressions="False" DataField="LocalAmountWithTax" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Document_Detail.&#34;LocalAmountWithTax&#34;]"/>
      <TfrxMemoView Name="Memo5" AllowVectorExport="True" Left="587.4" Top="0" Width="56.9952" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" AllowExpressions="False" DataField="LocalTaxAmt" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Document_Detail.&#34;LocalTaxAmt&#34;]"/>
      <TfrxMemoView Name="Memo6" AllowVectorExport="True" Left="517.2" Top="0" Width="70.0032" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" AllowExpressions="False" DataField="LocalAmount" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Document_Detail.&#34;LocalAmount&#34;]"/>
      <TfrxRichView Name="RichDesc3" AllowVectorExport="True" Left="38.4" Top="10" Width="227.64094" Height="9.6" StretchMode="smActualHeight" Frame.Typ="0" GapX="2" GapY="0" PropData="0852696368456469740AED0000007B5C727466315C616E73695C616E7369637067313235325C64656666305C6E6F7569636F6D7061745C6465666C616E67313033337B5C666F6E7474626C7B5C66305C666E696C5C666368617273657430205461686F6D613B7D7D0D0A7B5C636F6C6F7274626C203B5C726564305C677265656E305C626C7565303B7D0D0A7B5C2A5C67656E657261746F722052696368656432302031302E302E31363239397D5C766965776B696E64345C756331200D0A5C706172645C6366315C66305C66733138205B446F63756D656E745F44657461696C2E224465736372697074696F6E33225D5C7061720D0A7D0D0A00"/>
      <TfrxMemoView Name="MmDesc" AllowVectorExport="True" Left="38.4" Top="0" Width="227.64094" Height="9.6" StretchMode="smActualHeight" DataField="Description" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" GapY="0" ParentFont="False" Text="[Document_Detail.&#34;Description&#34;]"/>
    </TfrxDetailData>
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" Height="28.8" Left="0" ParentFont="False" Top="825.6" Width="754.56048732"/>
    <TfrxDetailData Name="DetailData2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Height="28.8" Left="0" ParentFont="False" Top="528" Width="754.56048732" OnAfterCalcHeight="DetailData1OnAfterCalcHeight" OnBeforePrint="DetailData1OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSetName="MergeItemCode" RowCount="0" Stretched="True">
      <TfrxSysMemoView Name="SysMemo2" AllowVectorExport="True" Left="9.6" Top="0" Width="38.4" Height="9.6" StretchMode="smActualHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[LINE#]"/>
      <TfrxMemoView Name="Memo17" AllowVectorExport="True" Left="267.6016" Top="0" Width="42.4032" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" DataField="Qty" DataSetName="MergeItemCode" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[MergeItemCode.&#34;Qty&#34;]"/>
      <TfrxMemoView Name="Memo26" AllowVectorExport="True" Left="352.9984" Top="0" Width="56.9952" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" DataField="UnitPrice" DataSetName="MergeItemCode" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[MergeItemCode.&#34;UnitPrice&#34;]"/>
      <TfrxMemoView Name="Memo27" AllowVectorExport="True" Left="314.9968" Top="0" Width="34.0032" Height="9.6" StretchMode="smActualHeight" DataField="UOM" DataSetName="MergeItemCode" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[MergeItemCode.&#34;UOM&#34;]"/>
      <TfrxMemoView Name="Memo28" AllowVectorExport="True" Left="412.2016" Top="0" Width="37.7952" Height="9.6" StretchMode="smActualHeight" DataField="DISC" DataSetName="MergeItemCode" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[MergeItemCode.&#34;DISC&#34;]"/>
      <TfrxMemoView Name="Memo29" AllowVectorExport="True" Left="448.1968" Top="0" Width="70.0032" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" DataField="Amount" DataSetName="MergeItemCode" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[MergeItemCode.&#34;Amount&#34;]"/>
      <TfrxMemoView Name="Memo10" AllowVectorExport="True" Left="718.8" Top="0" Width="22.0032" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" DataField="Tax" DataSetName="MergeItemCode" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[MergeItemCode.&#34;Tax&#34;]"/>
      <TfrxMemoView Name="Memo16" AllowVectorExport="True" Left="646.8" Top="0" Width="70.0032" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" DataField="LocalAmountWithTax" DataSetName="MergeItemCode" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[MergeItemCode.&#34;LocalAmountWithTax&#34;]"/>
      <TfrxMemoView Name="Memo18" AllowVectorExport="True" Left="589.2" Top="0" Width="56.9952" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" DataField="LocalTaxAmt" DataSetName="MergeItemCode" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[MergeItemCode.&#34;LocalTaxAmt&#34;]"/>
      <TfrxMemoView Name="Memo19" AllowVectorExport="True" Left="519" Top="0" Width="70.0032" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" DataField="LocalAmount" DataSetName="MergeItemCode" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[MergeItemCode.&#34;LocalAmount&#34;]"/>
      <TfrxRichView Name="RichDesc3M" AllowVectorExport="True" Left="48" Top="9.6" Width="218.04094" Height="9.6" StretchMode="smActualHeight" Frame.Typ="0" GapX="2" GapY="0" PropData="0852696368456469740AEB0000007B5C727466315C616E73695C616E7369637067313235325C64656666305C6E6F7569636F6D7061745C6465666C616E67313033337B5C666F6E7474626C7B5C66305C666E696C5C666368617273657430205461686F6D613B7D7D0D0A7B5C636F6C6F7274626C203B5C726564305C677265656E305C626C7565303B7D0D0A7B5C2A5C67656E657261746F722052696368656432302031302E302E31363239397D5C766965776B696E64345C756331200D0A5C706172645C6366315C66305C66733138205B4D657267654974656D436F64652E224465736372697074696F6E33225D5C7061720D0A7D0D0A00"/>
      <TfrxMemoView Name="MmDescM" AllowVectorExport="True" Left="48" Top="0" Width="218.04094" Height="9.6" StretchMode="smActualHeight" DataField="Description" DataSetName="MergeItemCode" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" GapY="0" ParentFont="False" Text="[MergeItemCode.&#34;Description&#34;]"/>
    </TfrxDetailData>
    <TfrxGroupHeader Name="GroupHeader2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="9.6" Left="0" Top="432" Width="754.56048732" OnBeforePrint="GroupHeader2OnBeforePrint" Condition="Document_Detail.&#34;FromDocNo&#34;" Stretched="True">
      <TfrxMemoView Name="Document_DetailFromDocNo" AllowVectorExport="True" Left="19.2" Top="0" Width="249.6" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="4" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="From Doc No.: [Document_Detail.&#34;FromDocNo&#34;];    From Doc Date : [Document_Detail.&#34;FromDocDate&#34;]"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="0" Left="0" Top="508.8" Width="754.56048732" Stretched="True"/>
  </TfrxReportPage>
</TfrxReport>
