<?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=TdvSLCS&#13;&#10;GUID={28CD7DBD-D01F-4E2C-9D92-E70DFD925BF4}" ReportOptions.Name="Sales Invoice 1 (Tax Invoice - Full - Disc)" ReportOptions.LastChange="43272.4153788657" 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):Variant;&#13;&#10;begin&#13;&#10;  if Trim(lFld) &#60;&#62; '' then&#13;&#10;    Result := lFld else&#13;&#10;    Result := 0.00;&#13;&#10;end;&#13;&#10;&#13;&#10;function GetTotalB4Disc: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.00;&#13;&#10;  D.First;&#13;&#10;  While not D.Eof do begin&#13;&#10;    V := V + SimpleRoundTo(D.Value('Qty')*D.Value('UnitPrice'),-2);&#13;&#10;    D.Next;&#13;&#10;  end;&#13;&#10;  Result := V;&#13;&#10;end;&#13;&#10;&#13;&#10;function GetDiscValue: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.00;&#13;&#10;  D.First;&#13;&#10;  While not D.Eof do begin&#13;&#10;    if D.Value('TaxInclusive') = 0 then&#13;&#10;      V := V + (D.Value('Amount') - SimpleRoundTo(D.Value('Qty')*D.Value('UnitPrice'),-2)) else&#13;&#10;      V := V + (D.Value('AmountWithTax') - SimpleRoundTo(D.Value('Qty')*D.Value('UnitPrice'),-2));&#13;&#10;    D.Next;&#13;&#10;  end;&#13;&#10;  Result := V + VarToFloatDef(&#60;pl_Disc.&#34;Amount&#34;&#62;);&#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.00;&#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 GetTotalTaxIncl(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.00;&#13;&#10;  D.First;&#13;&#10;  While not D.Eof do begin&#13;&#10;    if D.Value('TaxInclusive') = 1 then&#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, Tax, TaxRate, Sum(CAST(LocalTaxAmt AS REAL)) LocalTaxAmt, Sum(CAST(LocalAmount AS REAL)) LocalAmount '+&#13;&#10;         'FROM Document_Detail ' +&#13;&#10;         'WHERE Tax &#60;&#62; '''' ' +&#13;&#10;         'GROUP BY Dockey, Tax, TaxRate';&#13;&#10;  AddDataSet('GSTAmt', ['Tax', 'TaxRate', 'LocalTaxAmt', 'LocalAmount'])&#13;&#10;  .GetLocalData(SQL)&#13;&#10;  .SetDisplayFormat(['LocalTaxAmt', 'LocalAmount'],&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;)&#13;&#10;  .LinkTo('Main', 'Dockey', 'Dockey');&#13;&#10;&#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;StockPriceDisplayFormat&#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, Qty FROM Document_Detail ' +&#13;&#10;         'WHERE ItemCode=''RTN5Cents'' ';&#13;&#10;  AddDataSet('AdjRound', ['Dockey', 'Amount', 'LocalAmount', 'Qty'])&#13;&#10;  .GetLocalData(SQL)&#13;&#10;  .SetDisplayFormat(['Qty'],&#60;Option.&#34;StockQuantityDisplayFormat&#34;&#62;)&#13;&#10;  .SetDisplayFormat(['Amount, LocalAmount'],&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;)&#13;&#10;  .LinkTo('Main', 'Dockey', 'Dockey');&#13;&#10;&#13;&#10;  SQL := 'SELECT Dockey, SUM(CAST(Amount AS REAL)) Amount, SUM(CAST(LocalAmount AS REAL)) LocalAmount, '+&#13;&#10;         'SUM(CAST(Qty AS REAL)) Qty FROM Document_Detail ' +&#13;&#10;         'WHERE ItemCode LIKE ''DISC%'' ' +&#13;&#10;         'GROUP BY Dockey';&#13;&#10;  AddDataSet('pl_Disc', ['Dockey', 'Amount', 'LocalAmount', 'Qty'])&#13;&#10;  .GetLocalData(SQL)&#13;&#10;  .SetDisplayFormat(['Qty'],&#60;Option.&#34;StockQuantityDisplayFormat&#34;&#62;)&#13;&#10;  .SetDisplayFormat(['Amount, LocalAmount'],&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;)&#13;&#10;  .LinkTo('Main', 'Dockey', 'Dockey');&#13;&#10;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure GroupFooter1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if Engine.FreeSpace &#60; GroupFooter1.Height then Engine.NewPage;&#13;&#10;  Engine.CurY := Engine.PageHeight - GroupFooter1.Height - PageFooter1.Height -1;&#13;&#10;&#13;&#10;  if &#60;Main.&#34;CurrencyCode&#34;&#62; = '----' then begin&#13;&#10;    MmGST1.Left := 450;&#13;&#10;    MmGST2.Left := 450;&#13;&#10;    MmGST3.Left := 450;&#13;&#10;    MmRound.Left := 450;&#13;&#10;  end else begin&#13;&#10;    MmGST1.Left := 355;&#13;&#10;    MmGST2.Left := 355;&#13;&#10;    MmGST3.Left := 355;&#13;&#10;    MmRound.Left := 355;&#13;&#10;  end;&#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) and (&#60;Document_Detail.&#34;ItemCode&#34;&#62; &#60;&#62; 'RTN5Cents');&#13;&#10;  DetailData2.Visible := (&#60;Option.&#34;MergeSameItemCode&#34;&#62; = True) and (&#60;MergeItemCode.&#34;ItemCode&#34;&#62; &#60;&#62; 'RTN5Cents');&#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 5 inch * 96 = 480&#13;&#10;  if TfrxDetailData(Sender).Visible and (Engine.CurY + DetailData1.Height &#62;= 480) then Engine.NewPage;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure Page1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  ShiftRelative([MmDesc, RichDesc3, RichSN]);&#13;&#10;  ShiftRelative([MmDescM, RichDesc3M]);&#13;&#10;end;&#13;&#10;&#13;&#10;procedure Subreport1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  Subreport1.Visible := &#60;Page&#62; = 1;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure MmContinueOnBeforePrint(Sender: TfrxComponent);&#13;&#10;var B : Boolean;&#13;&#10;begin&#13;&#10;  B := &#60;Page&#62; &#60; &#60;TotalPages&#62;;&#13;&#10;  MmContinue.Visible   := B;&#13;&#10;  MmContinue.Printable := B;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure MmGST2OnBeforePrint(Sender: TfrxComponent);&#13;&#10;var s : String;&#13;&#10;begin&#13;&#10; { if (&#60;Main.&#34;TaxDate&#34;&#62; &#60; '01 Jun 2018') or&#13;&#10;     (GetTotal('TaxAmt') &#60;&#62; 0)then&#13;&#10;    s := 'GST Amt @ 6% ' else }&#13;&#10;    s := 'GST Amt @ 7% ';&#13;&#10;  if &#60;Main.&#34;CurrencyCode&#34;&#62; &#60;&#62; '----' then&#13;&#10;    MmGST2.Text := s + '(SGD)' else&#13;&#10;    mmGST2.Text := s;&#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="Document_SerialNumber" DataSetName="Document_SerialNumber"/>
    <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="GSTAmt"/>
    <item DataSetName="MergeItemCode"/>
    <item DataSetName="FromDocCount"/>
    <item DataSetName="AdjRound"/>
    <item DataSetName="pl_Disc"/>
  </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="-9" Font.Name="Arial" Font.Style="0" PaperWidth="215.9" PaperHeight="139.7" PaperSize="256" LeftMargin="9.9" RightMargin="6.4" TopMargin="6.4" 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="268.1795362" Left="0" Top="19.2" Width="754.394188" Condition="Main.&#34;DocNo&#34;" ReprintOnNewPage="True" ResetPageNumbers="True" StartNewPage="True" Stretched="True">
      <TfrxMemoView Name="Memo20" AllowVectorExport="True" ShiftMode="smDontShift" Left="585.82715" Top="226.00177695" Width="154.96073" Height="24.96" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" 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="99.00197114" Width="146.7213112" Height="18.03969669" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-16" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Tax Invoice"/>
      <TfrxLineView Name="Line1" AllowVectorExport="True" ShiftMode="smDontShift" Left="9.6" Top="117.99947212" Width="739.2" Height="0" Color="0" Frame.Typ="4"/>
      <TfrxMemoView Name="Label3" AllowVectorExport="True" ShiftMode="smDontShift" Left="12.60094682" Top="120.99979031" Width="107.36129818" Height="7.41921739" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-7" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Billing Address"/>
      <TfrxMemoView Name="Label5" AllowVectorExport="True" ShiftMode="smDontShift" Left="306.60119482" Top="120.99979031" Width="116.31878428" Height="7.41921739" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-7" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Delivery Address"/>
      <TfrxMemoView Name="DBTxtBrchName" AllowVectorExport="True" ShiftMode="smDontShift" Left="306.60119482" Top="131.00137351" Width="264.0002325" Height="12.21922049" StretchMode="smActualHeight" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-11" 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="306.60119482" Top="199.0017537" Width="27.36001147" Height="12.21922049" 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="Tel"/>
      <TfrxMemoView Name="lbDOFax" AllowVectorExport="True" ShiftMode="smDontShift" Left="306.60119482" Top="211.00207964" Width="20.48127307" Height="12.21922049" 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="Fax"/>
      <TfrxLineView Name="Line2" AllowVectorExport="True" ShiftMode="smDontShift" Left="9.6" Top="226.00177695" Width="731.64094" Height="0" Color="0" Frame.Typ="4"/>
      <TfrxMemoView Name="DBText9" AllowVectorExport="True" ShiftMode="smDontShift" Left="12.60094682" Top="131.00137351" Width="292.8002325" Height="12.21922049" StretchMode="smActualHeight" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-11" 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="226.99989106" Width="63.68129477" Height="11.6409462" Font.Charset="1" Font.Color="0" Font.Height="-7" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Sales Executive"/>
      <TfrxMemoView Name="Label19" AllowVectorExport="True" ShiftMode="smDontShift" Left="12.60094682" Top="226.99989106" Width="83.52004154" Height="11.6409462" Font.Charset="1" Font.Color="0" Font.Height="-7" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Customer Account"/>
      <TfrxMemoView Name="Label21" AllowVectorExport="True" ShiftMode="smDontShift" Left="172.00232033" Top="226.99989106" Width="60.15876041" Height="11.6409462" Font.Charset="1" Font.Color="0" Font.Height="-7" 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="469.60153626" Top="226.99989106" Width="49.11875328" Height="11.6409462" Font.Charset="1" Font.Color="0" Font.Height="-7" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Name"/>
      <TfrxMemoView Name="Label25" AllowVectorExport="True" ShiftMode="smDontShift" Left="588.60068244" Top="226.99989106" Width="68.79876599" Height="11.6409462" Font.Charset="1" Font.Color="0" Font.Height="-7" 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="226.99989106" Width="26.0787508" Height="11.6409462" Font.Charset="1" Font.Color="0" Font.Height="-7" 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="251.00054294" Width="731.64094" Height="0" Color="0" Frame.Typ="4"/>
      <TfrxMemoView Name="Label29" AllowVectorExport="True" ShiftMode="smDontShift" Left="9.6" Top="252.8" Width="28.8" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-7" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="No"/>
      <TfrxMemoView Name="Label31" AllowVectorExport="True" ShiftMode="smDontShift" Left="118.9984" Top="252.8" Width="118.57141516" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-7" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Description"/>
      <TfrxMemoView Name="Label33" AllowVectorExport="True" ShiftMode="smDontShift" Left="559.60221139" Top="252.8" Width="21.9212678" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-7" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Qty"/>
      <TfrxMemoView Name="Label39" AllowVectorExport="True" ShiftMode="smDontShift" Left="616.55483773" Top="252.8" Width="53.43876227" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-7" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Price/Unit"/>
      <TfrxMemoView Name="Label41" AllowVectorExport="True" ShiftMode="smDontShift" Left="684.88123587" Top="252.8" Width="56.31876413" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-7" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Sub Total ([Document_Currency.&#34;Symbol&#34;]) "/>
      <TfrxMemoView Name="DBText23" AllowVectorExport="True" ShiftMode="smDontShift" Left="12.60094682" Top="235.99927018" Width="72.0000465" Height="10.6204793" StretchMode="smActualHeight" DataField="Code" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-9" 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="235.99927018" Width="82.08005301" Height="10.6204793" StretchMode="smActualHeight" DataField="DocNo" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;DocNo&#34;]"/>
      <TfrxMemoView Name="DBText27" AllowVectorExport="True" ShiftMode="smDontShift" Left="172.00232033" Top="235.99927018" Width="60.15876041" Height="10.6204793" StretchMode="smActualHeight" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-9" 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="235.99927018" Width="93.9213205" Height="10.6204793" StretchMode="smActualHeight" DataField="DocDate" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-9" 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="469.60153626" Top="235.99927018" Width="73.59878149" Height="10.6204793" StretchMode="smActualHeight" DataField="Code" DataSet="User" DataSetName="User" Font.Charset="1" Font.Color="0" Font.Height="-9" 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="235.99927018" Width="68.00130376" Height="10.6204793" StretchMode="smActualHeight" DataField="Agent" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;Agent&#34;]"/>
      <TfrxMemoView Name="Label67" AllowVectorExport="True" ShiftMode="smDontShift" Left="530.60253733" Top="226.99989106" Width="51.20128051" Height="11.6409462" Font.Charset="1" Font.Color="0" Font.Height="-7" 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="199.0017537" Width="17.76001147" Height="12.21922049" 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="Tel"/>
      <TfrxMemoView Name="lbIVFax" AllowVectorExport="True" ShiftMode="smDontShift" Left="12.60094682" Top="211.00207964" Width="20.48127307" Height="12.21922049" 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="Fax"/>
      <TfrxMemoView Name="lbIVAttn" AllowVectorExport="True" ShiftMode="smDontShift" Left="12.60094682" Top="188.00142776" Width="24.32127555" Height="12.21922049" 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="Attn"/>
      <TfrxMemoView Name="DBText16" AllowVectorExport="True" ShiftMode="smDontShift" Left="65.60129601" Top="188.00142776" Width="61.59877994" Height="12.21922049" StretchMode="smActualHeight" AutoWidth="True" DataField="Attention" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;Attention&#34;]"/>
      <TfrxMemoView Name="lbDOAttn" AllowVectorExport="True" ShiftMode="smDontShift" Left="306.60119482" Top="188.00142776" Width="24.32127555" Height="12.21922049" 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="Attn"/>
      <TfrxMemoView Name="DBText1" AllowVectorExport="True" ShiftMode="smDontShift" Left="347.60153626" Top="188.00142776" Width="104.64006758" Height="12.21922049" StretchMode="smActualHeight" AutoWidth="True" DataField="DAttention" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;DAttention&#34;]"/>
      <TfrxMemoView Name="DBText7" AllowVectorExport="True" ShiftMode="smDontShift" Left="347.60153626" Top="199.0017537" Width="87.51879668" Height="12.21922049" StretchMode="smActualHeight" AutoWidth="True" DataField="DPhone1" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;DPhone1&#34;]"/>
      <TfrxMemoView Name="DBText8" AllowVectorExport="True" ShiftMode="smDontShift" Left="347.60153626" Top="211.00207964" Width="71.67878645" Height="12.21922049" StretchMode="smActualHeight" AutoWidth="True" DataField="DFax1" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;DFax1&#34;]"/>
      <TfrxMemoView Name="DBText15" AllowVectorExport="True" ShiftMode="smDontShift" Left="65.60129601" Top="199.0017537" Width="47.67877095" Height="12.21922049" StretchMode="smActualHeight" AutoWidth="True" DataField="Phone1" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-9" 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="211.00207964" Width="31.83876072" Height="12.21922049" StretchMode="smActualHeight" AutoWidth="True" DataField="Fax1" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;Fax1&#34;]"/>
      <TfrxMemoView Name="lbDODate" AllowVectorExport="True" ShiftMode="smDontShift" Left="309.19290638" Top="226.99989106" Width="62.72129415" Height="11.6409462" Font.Charset="1" Font.Color="0" Font.Height="-7" 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="388.59423339" Top="226.99989106" Width="55.83877002" Height="11.6409462" Font.Charset="1" Font.Color="0" Font.Height="-7" 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="309.20046544" Top="235.99927018" Width="76.8" Height="10.21984912" StretchMode="smActualHeight" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="0" Font.Height="-9" 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="388.60179245" Top="235.99927018" Width="76.8" Height="10.21984912" StretchMode="smActualHeight" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="0" Font.Height="-9" 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;]"/>
      <TfrxSysMemoView Name="SysMmPage" AllowVectorExport="True" ShiftMode="smDontShift" Left="530.60253733" Top="235.99927018" Width="57.6" Height="15.42047" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="[PAGE] of [TOTALPAGES]"/>
      <TfrxMemoView Name="DBText3" AllowVectorExport="True" ShiftMode="smDontShift" Left="306.60119482" Top="143.4" Width="264.0002325" Height="41.32157049" StretchMode="smActualHeight" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-9" 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="143.4" Width="292.8002325" Height="41.32157049" StretchMode="smActualHeight" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-9" 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="Memo15" AllowVectorExport="True" ShiftMode="smDontShift" Left="41" Top="252.8" Width="48.80128516" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-7" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Item Code"/>
      <TfrxMemoView Name="MmDuplicate" AllowVectorExport="True" ShiftMode="smDontShift" Left="588.20068864" Top="98.92354783" Width="147.40167" Height="15.11812" Visible="False" Visibility="3" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Duplicate Copy"/>
      <TfrxMemoView Name="Label43" AllowVectorExport="True" ShiftMode="smDontShift" Left="240.40189364" Top="226.99989106" Width="74.40003565" Height="9.6000062" StretchMode="smActualHeight" AutoWidth="True" Font.Charset="1" Font.Color="0" Font.Height="-7" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Terms"/>
      <TfrxMemoView Name="DBText29" AllowVectorExport="True" ShiftMode="smDontShift" Left="240.40189364" Top="235.99927018" Width="68.40197114" Height="10.6204793" StretchMode="smActualHeight" AutoWidth="True" DataField="Terms" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;Terms&#34;]"/>
      <TfrxSubreport Name="Subreport1" AllowVectorExport="True" Left="528" Top="141.12" Width="96" Height="19.2" OnBeforePrint="Subreport1OnBeforePrint" Page="Page2"/>
      <TfrxPictureView Name="DBImage3" AllowVectorExport="True" ShiftMode="smDontShift" Left="12.60094682" Top="1.69765775" 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="1.69765775" 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"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="109.16455138" Left="0" Top="480" Width="754.394188" OnAfterCalcHeight="DetailData1OnAfterCalcHeight" OnBeforePrint="GroupFooter1OnBeforePrint" Stretched="True">
      <TfrxMemoView Name="MmGST3" AllowVectorExport="True" ShiftMode="smDontShift" Left="354.16000682" Top="69.40227383" Width="160.95875731" Height="15.42047" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="15" Frame.Width="2" HAlign="haRight" ParentFont="False" Text="[IIF(&#60;Main.&#34;CurrencyCode&#34;&#62; &#60;&#62; '----','Total Payable Incl. GST (SGD)','Total Payable Incl. GST')]"/>
      <TfrxMemoView Name="VarPayAmt" AllowVectorExport="True" ShiftMode="smDontShift" Left="634.80180324" Top="69.40227383" Width="106.40139676" Height="15.42047" StretchMode="smActualHeight" DataField="DocAmt" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="1" Frame.Typ="15" Frame.Width="2" HAlign="haRight" ParentFont="False" Text="[Main.&#34;DocAmt&#34;]"/>
      <TfrxMemoView Name="Label61" AllowVectorExport="True" ShiftMode="smDontShift" Left="13.44189252" Top="34.40226608" Width="150.56130748" Height="34.6204762" 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="Authorised Signature&#13;&#10;[Profile.&#34;CompanyName&#34;] ([Profile.&#34;RegisterNo&#34;])"/>
      <TfrxMemoView Name="Memo9" AllowVectorExport="True" ShiftMode="smDontShift" Left="515.20180324" Top="42.6" Width="96.80139676" Height="15.42047" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="2" HAlign="haRight" Highlight.ApplyFont="False" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="255" 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" Highlight.Visible="False" ParentFont="False" Text="[FormatFloat(&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;, GetTotal('LocalTaxAmt'))]"/>
      <TfrxMemoView Name="Memo11" AllowVectorExport="True" ShiftMode="smDontShift" Left="515.20180324" Top="69.40227383" Width="96.80139676" Height="15.42047" DataField="LocalDocAmt" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="14" Frame.Width="2" HAlign="haRight" Highlight.ApplyFont="False" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="255" 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" Highlight.Visible="False" ParentFont="False" Text="[Main.&#34;LocalDocAmt&#34;]"/>
      <TfrxMemoView Name="Memo12" AllowVectorExport="True" ShiftMode="smDontShift" Left="515.20180324" Top="30.4" Width="96.80139676" Height="15.42047" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="6" HAlign="haRight" Highlight.ApplyFont="False" 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" Highlight.Visible="False" ParentFont="False" Text="[IIF((GetTotal('LocalAmount')- &#60;AdjRound.&#34;LocalAmount&#34;&#62;) &#60;&#62; 0, &#13;&#10;     FormatFloat(&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;, &#13;&#10;     (GetTotal('LocalAmount')- &#60;AdjRound.&#34;LocalAmount&#34;&#62;)),'0.00')]"/>
      <TfrxMemoView Name="MmGST1" AllowVectorExport="True" ShiftMode="smDontShift" Left="354.16000682" Top="30.4" Width="160.95875731" Height="15.42047" StretchMode="smActualHeight" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="7" HAlign="haRight" ParentFont="False" Text="[IIF(&#60;Main.&#34;CurrencyCode&#34;&#62; &#60;&#62; '----','Total Excl. GST (SGD)','Total Excl. GST')]"/>
      <TfrxMemoView Name="MmGST2" AllowVectorExport="True" ShiftMode="smDontShift" Left="354.16000682" Top="42.6" Width="160.95875731" Height="15.42047" OnBeforePrint="MmGST2OnBeforePrint" StretchMode="smActualHeight" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="3" HAlign="haRight" ParentFont="False" Text="[IIF(&#60;Main.&#34;CurrencyCode&#34;&#62; &#60;&#62; '----','GST Amt @ 6% (RM)','GST Amt @ 6%')]"/>
      <TfrxMemoView Name="Memo5" AllowVectorExport="True" Left="641.2" Top="12.2" Width="98.8032" Height="11.64094" StretchMode="smActualHeight" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="8" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[IIF(GetDiscValue &#60;&#62; 0, &#13;&#10;     FormatFloat(&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;, &#13;&#10;     GetDiscValue),'0.00')]"/>
      <TfrxMemoView Name="Memo6" AllowVectorExport="True" Left="541.6032" Top="12.2" Width="96" Height="11.64094" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" Frame.Width="2" HAlign="haRight" ParentFont="False" Text="- Discount"/>
      <TfrxMemoView Name="Memo7" AllowVectorExport="True" ShiftMode="smDontShift" Left="643.20180324" Top="26.4" Width="96.80139676" Height="19.2" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[IIF((GetTotal('Amount')- &#60;AdjRound.&#34;Amount&#34;&#62;) &#60;&#62; 0, &#13;&#10;     FormatFloat(&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;, &#13;&#10;     (GetTotal('Amount')- &#60;AdjRound.&#34;Amount&#34;&#62;)),'0.00')]"/>
      <TfrxMemoView Name="Memo8" AllowVectorExport="True" ShiftMode="smDontShift" Left="643.20180324" Top="38.6" Width="96.80139676" Height="19.2" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[FormatFloat(&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;, GetTotal('TaxAmt'))]"/>
      <TfrxLineView Name="Line3" AllowVectorExport="True" ShiftMode="smDontShift" Left="9.6" Top="100.4" Width="739.2" Height="0" Color="0" Frame.Typ="4"/>
      <TfrxMemoView Name="Memo3" AllowVectorExport="True" ShiftMode="smDontShift" Left="515.20180324" Top="54.37013" Width="96.80139676" Height="15.42047" DataField="LocalAmount" DataSetName="AdjRound" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="2" HAlign="haRight" Highlight.ApplyFont="False" Highlight.ApplyFill="False" Highlight.Font.Charset="1" Highlight.Font.Color="255" 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" Highlight.Visible="False" ParentFont="False" Text="[AdjRound.&#34;LocalAmount&#34;]"/>
      <TfrxMemoView Name="MmRound" AllowVectorExport="True" ShiftMode="smDontShift" Left="354.16000682" Top="54.37013" Width="160.95875731" Height="15.42047" StretchMode="smActualHeight" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="3" HAlign="haRight" ParentFont="False" Text="[IIF(&#60;Main.&#34;CurrencyCode&#34;&#62; &#60;&#62; '----','Rounding Adjustment (SGD)','Rounding Adjustment')]"/>
      <TfrxMemoView Name="Memo14" AllowVectorExport="True" ShiftMode="smDontShift" Left="643.20180324" Top="51.37013" Width="96.80139676" Height="19.2" DataSetName="AdjRound" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[IIF(&#60;AdjRound.&#34;Amount&#34;&#62; &#60;&#62; 0, &#13;&#10;     FormatFloat(&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;, &#13;&#10;     &#60;AdjRound.&#34;Amount&#34;&#62;),'0.00')]"/>
      <TfrxLineView Name="Line5" AllowVectorExport="True" ShiftMode="smDontShift" Left="9.6" Top="0.000946819999999987" Width="739.2" Height="0" Color="0" Frame.Typ="4"/>
      <TfrxMemoView Name="Memo2" AllowVectorExport="True" Left="540.47279" Top="0.77953" Width="96" Height="11.64094" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" Frame.Width="2" HAlign="haRight" ParentFont="False" Text="Gross"/>
      <TfrxMemoView Name="Memo13" AllowVectorExport="True" Left="8.99906093" Top="2" Width="511.00004606" Height="26.44159188" Font.Charset="1" Font.Color="0" Font.Height="-9" 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="Memo4" AllowVectorExport="True" Left="671.1968" Top="2" Width="70.0032" Height="11.64094" StretchMode="smActualHeight" 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" Text="[FormatFloat(&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;, &#13;&#10;  (GetTotalB4Disc - VarToFloatDef(&#60;AdjRound.&#34;Amount&#34;&#62;) - VarToFloatDef(&#60;pl_Disc.&#34;Amount&#34;&#62;)))]"/>
    </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="307.2" Width="754.394188" 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="28.8" Left="0" ParentFont="False" Top="355.2" Width="754.394188" OnAfterCalcHeight="DetailData1OnAfterCalcHeight" OnBeforePrint="DetailData1OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSet="Document_Detail" DataSetName="Document_Detail" Filter="Copy(&#60;Document_Detail.&#34;ItemCode&#34;&#62;, 1, 4) &#60;&#62; 'DISC'" RowCount="0" Stretched="True">
      <TfrxSysMemoView Name="SysMemo1" AllowVectorExport="True" Left="9.6" Top="0" Width="28.8" Height="4.8" StretchMode="smActualHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[LINE#]"/>
      <TfrxMemoView Name="Document_DetailQty" AllowVectorExport="True" Left="527.6016" Top="0" Width="42.4032" Height="4.8" StretchMode="smActualHeight" AutoWidth="True" AllowExpressions="False" DataField="Qty" 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" Text="[Document_Detail.&#34;Qty&#34;]"/>
      <TfrxMemoView Name="Document_DetailUnitPrice" AllowVectorExport="True" Left="612.9984" Top="0" Width="56.9952" Height="4.8" StretchMode="smActualHeight" AutoWidth="True" AllowExpressions="False" DataField="UnitPrice" 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" Text="[Document_Detail.&#34;UnitPrice&#34;]"/>
      <TfrxMemoView Name="Document_DetailUOM" AllowVectorExport="True" Left="574.9968" Top="0" Width="34.0032" Height="4.8" StretchMode="smActualHeight" AllowExpressions="False" DataField="UOM" 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" Text="[Document_Detail.&#34;UOM&#34;]"/>
      <TfrxMemoView Name="Document_DetailAmountWithTax" AllowVectorExport="True" Left="671.1968" Top="0" Width="70.0032" Height="4.8" StretchMode="smActualHeight" AutoWidth="True" 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" Text="[FormatFloat(&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;, SimpleRoundTo(&#60;Document_Detail.&#34;Qty&#34;&#62;*&#60;Document_Detail.&#34;UnitPrice&#34;&#62;,-2))]"/>
      <TfrxMemoView Name="Memo16" AllowVectorExport="True" Left="41" Top="0" Width="72.4032" Height="4.8" StretchMode="smActualHeight" AllowExpressions="False" DataField="ItemCode" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Document_Detail.&#34;ItemCode&#34;]"/>
      <TfrxRichView Name="RichDesc3" AllowVectorExport="True" Left="115.2" Top="10" Width="410.04094" Height="9.6" StretchMode="smActualHeight" Frame.Typ="0" GapX="2" GapY="0" PropData="0852696368456469740AED0000007B5C727466315C616E73695C616E7369637067313235325C64656666305C6E6F7569636F6D7061745C6465666C616E67313033337B5C666F6E7474626C7B5C66305C666E696C5C666368617273657430205461686F6D613B7D7D0D0A7B5C636F6C6F7274626C203B5C726564305C677265656E305C626C7565303B7D0D0A7B5C2A5C67656E657261746F722052696368656432302031302E302E31363239397D5C766965776B696E64345C756331200D0A5C706172645C6366315C66305C66733138205B446F63756D656E745F44657461696C2E224465736372697074696F6E33225D5C7061720D0A7D0D0A00"/>
      <TfrxMemoView Name="MmDesc" AllowVectorExport="True" Left="115.2" Top="0" Width="410.04094" Height="9.6" StretchMode="smActualHeight" DataField="Description" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" GapY="0" ParentFont="False" Text="[Document_Detail.&#34;Description&#34;]"/>
      <TfrxRichView Name="RichSN" AllowVectorExport="True" Left="115.2" Top="20.4" Width="410.04094" Height="9.6" StretchMode="smActualHeight" Frame.Typ="0" GapX="2" GapY="0" PropData="0852696368456469740AF00000007B5C727466315C616E73695C616E7369637067313235325C64656666305C6E6F7569636F6D7061745C6465666C616E67313033337B5C666F6E7474626C7B5C66305C666E696C5C666368617273657430205461686F6D613B7D7D0D0A7B5C636F6C6F7274626C203B5C726564305C677265656E305C626C7565303B7D0D0A7B5C2A5C67656E657261746F722052696368656432302031302E302E31363239397D5C766965776B696E64345C756331200D0A5C706172645C6366315C66305C66733134205B476574534E283C446F63756D656E745F44657461696C2E2244746C4B6579223E295D5C7061720D0A7D0D0A00"/>
    </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="652.8" Width="754.394188">
      <TfrxMemoView Name="MmContinue" AllowVectorExport="True" Left="624" Top="0" Width="96" Height="19.2" OnBeforePrint="MmContinueOnBeforePrint" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Continue Next Page ..."/>
    </TfrxPageFooter>
    <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="-8" Font.Name="Tahoma" Font.Style="0" Height="38.4" Left="0" ParentFont="False" Top="422.4" Width="754.394188" OnAfterCalcHeight="DetailData1OnAfterCalcHeight" OnBeforePrint="DetailData1OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSetName="MergeItemCode" Filter="Copy(&#60;MergeItemCode.&#34;ItemCode&#34;&#62;, 1, 4) &#60;&#62; 'DISC'" RowCount="0" Stretched="True">
      <TfrxSysMemoView Name="SysMemo2" AllowVectorExport="True" Left="9.6" Top="0" Width="28.8" Height="9.6" StretchMode="smActualHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[LINE#]"/>
      <TfrxMemoView Name="Memo17" AllowVectorExport="True" Left="527.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="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[MergeItemCode.&#34;Qty&#34;]"/>
      <TfrxMemoView Name="Memo26" AllowVectorExport="True" Left="612.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="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[MergeItemCode.&#34;UnitPrice&#34;]"/>
      <TfrxMemoView Name="Memo27" AllowVectorExport="True" Left="574.9968" Top="0" Width="34.0032" Height="9.6" StretchMode="smActualHeight" DataField="UOM" 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;UOM&#34;]"/>
      <TfrxMemoView Name="Memo29" AllowVectorExport="True" Left="671.1968" Top="0" Width="70.0032" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" 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="[FormatFloat(&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;, SimpleRoundTo(&#60;MergeItemCode.&#34;Qty&#34;&#62;*&#60;MergeItemCode.&#34;UnitPrice&#34;&#62;,-2))]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo1" AllowVectorExport="True" Left="41" Top="0" Width="72.4032" Height="9.6" StretchMode="smActualHeight" AllowExpressions="False" DataField="ItemCode" DataSetName="MergeItemCode" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[MergeItemCode.&#34;ItemCode&#34;]"/>
      <TfrxRichView Name="RichDesc3M" AllowVectorExport="True" Left="115.2" Top="9.6" Width="410.04094" Height="9.6" StretchMode="smActualHeight" Frame.Typ="0" GapX="2" GapY="0" PropData="0852696368456469740AEB0000007B5C727466315C616E73695C616E7369637067313235325C64656666305C6E6F7569636F6D7061745C6465666C616E67313033337B5C666F6E7474626C7B5C66305C666E696C5C666368617273657430205461686F6D613B7D7D0D0A7B5C636F6C6F7274626C203B5C726564305C677265656E305C626C7565303B7D0D0A7B5C2A5C67656E657261746F722052696368656432302031302E302E31363239397D5C766965776B696E64345C756331200D0A5C706172645C6366315C66305C66733138205B4D657267654974656D436F64652E224465736372697074696F6E33225D5C7061720D0A7D0D0A00"/>
      <TfrxMemoView Name="MmDescM" AllowVectorExport="True" Left="115.2" Top="0" Width="410.04094" Height="9.6" StretchMode="smActualHeight" DataField="Description" DataSetName="MergeItemCode" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" 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="326.4" Width="754.394188" 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="-8" 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="403.2" Width="754.394188" Stretched="True"/>
  </TfrxReportPage>
  <TfrxReportPage Name="Page2" PaperWidth="215.9" PaperHeight="139.7" PaperSize="256" LeftMargin="9.9" RightMargin="6.4" TopMargin="6.4" BottomMargin="0" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" LargeDesignHeight="True" HGuides.Text="" VGuides.Text="">
    <TfrxMasterData Name="MasterData2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="9.6" Left="0" Top="64" Width="754.394188" ColumnWidth="0" ColumnGap="0" DataSetName="GSTAmt" PrintIfDetailEmpty="True" RowCount="0" Stretched="True">
      <TfrxMemoView Name="GSTAmtTax" AllowVectorExport="True" Left="9.6" Top="0" Width="38.4" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" DataSetName="GSTAmt" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Style="fsDot" Frame.Typ="1" GapX="5" ParentFont="False" Text="[IIF(Trim(&#60;GSTAmt.&#34;TaxRate&#34;&#62;)='',&#60;GSTAmt.&#34;Tax&#34;&#62;,&#60;GSTAmt.&#34;Tax&#34;&#62; +' @ ' + &#60;GSTAmt.&#34;TaxRate&#34;&#62;)]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="GSTAmtLocalTaxAmt" AllowVectorExport="True" Left="139" Top="0" Width="48" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" DataField="LocalTaxAmt" DataSetName="GSTAmt" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Style="fsDot" Frame.Typ="2" GapX="5" HAlign="haRight" ParentFont="False" Text="[GSTAmt.&#34;LocalTaxAmt&#34;]"/>
      <TfrxMemoView Name="GSTAmtLocalAmount" AllowVectorExport="True" Left="68.04094" Top="0" Width="55.55906" Height="9.6" StretchMode="smActualHeight" AutoWidth="True" DataField="LocalAmount" DataSetName="GSTAmt" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[GSTAmt.&#34;LocalAmount&#34;]"/>
    </TfrxMasterData>
    <TfrxHeader Name="Header1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="28.8" Left="0" Top="16" Width="754.394188" Stretched="True">
      <TfrxMemoView Name="Memo10" AllowVectorExport="True" Left="9.6" Top="0" Width="76.8" Height="26.75906" StretchMode="smActualHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Style="fsDot" Frame.Typ="13" GapX="5" ParentFont="False" Text="GST Summary&#13;&#10;  "/>
      <TfrxMemoView Name="Memo18" AllowVectorExport="True" Left="76.73389" Top="0" Width="46.86611" Height="26.75906" StretchMode="smActualHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Style="fsDot" Frame.Typ="12" HAlign="haRight" ParentFont="False" Text="Amount&#13;&#10;([Option.&#34;LocalCurrencySymbol&#34;])"/>
      <TfrxMemoView Name="Memo19" AllowVectorExport="True" Left="113.67718" Top="0" Width="73.32282" Height="26.75906" StretchMode="smActualHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Style="fsDot" Frame.Typ="14" GapX="5" HAlign="haRight" ParentFont="False" Text="Tax&#13;&#10;([Option.&#34;LocalCurrencySymbol&#34;])"/>
    </TfrxHeader>
    <TfrxFooter Name="Footer1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="18.5953" Left="0" Top="92" Width="754.394188" Stretched="True">
      <TfrxLineView Name="Line6" AllowVectorExport="True" Left="9.6" Top="14" Width="177.6001767" Height="0" Color="0" Frame.Style="fsDot" Frame.Typ="4"/>
      <TfrxMemoView Name="Memo22" AllowVectorExport="True" Left="68.04094" Top="0" Width="55.55906" Height="13.37953" AutoWidth="True" DataSetName="GSTAmt" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[FormatFloat(&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;,SUM(&#60;GSTAmt.&#34;LocalAmount&#34;&#62;,MasterData2))]"/>
      <TfrxMemoView Name="Memo23" AllowVectorExport="True" Left="131.44094" Top="0" Width="55.55906" Height="13.37953" AutoWidth="True" DataSetName="GSTAmt" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Style="fsDot" Frame.Typ="2" GapX="5" HAlign="haRight" ParentFont="False" Text="[FormatFloat(&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;,SUM(&#60;GSTAmt.&#34;LocalTaxAmt&#34;&#62;,MasterData2))]"/>
      <TfrxMemoView Name="Memo24" AllowVectorExport="True" Left="9.6" Top="0" Width="94.48825" Height="13.37953" Font.Charset="1" Font.Color="-16777208" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Style="fsDot" Frame.Typ="1" GapX="5" ParentFont="False" Text="Total"/>
      <TfrxLineView Name="Line7" AllowVectorExport="True" Left="11.33859" Top="0" Width="177.6001767" Height="0" Color="0" Frame.Style="fsDot" Frame.Typ="4"/>
    </TfrxFooter>
  </TfrxReportPage>
</TfrxReport>
