<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="6.7.9" 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="41470.5187928125" ReportOptions.Description.Text="Datamap=TdvARIV&#13;&#10;GUID={A13737F8-A2A8-41A1-98EB-1AA9A5DCC2F5}" ReportOptions.Name="GL Official Receipt - Detail - Full (GST)" ReportOptions.LastChange="44078.6608142708" ScriptLanguage="PascalScript" ScriptText.Text="&#13;&#10;function StrToFloatDef(const lFld:Variant):Extended;&#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):Extended;&#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 FmtFloat(const Fmt:String; const lValue:Variant):String;&#13;&#10;var V : Variant;&#13;&#10;begin&#13;&#10;  V := StrToFloatDef(lValue);&#13;&#10;  Result := FormatFloat(Fmt,V);&#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 s, sql : string;&#13;&#10;begin&#13;&#10;  s := 'SELECT Dockey, SUM(CAST(Amount AS REAL)) Amount,SUM(CAST(TaxAmt AS REAL)) TaxAmt FROM Document_Detail '+&#13;&#10;       'GROUP BY Dockey';&#13;&#10;  AddDataSet('pl_TotalDocDtl', ['Amount', 'TaxAmt'])&#13;&#10;  .GetLocalData(s)&#13;&#10;  .SetDisplayFormat(['Amount', 'TaxAmt'],&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;)&#13;&#10;  .LinkTo('Main', 'Dockey', 'Dockey');&#13;&#10;&#13;&#10;  SQL := 'SELECT Dockey, Tax, TaxRate, Sum(CAST(LocalTaxAmt AS REAL)) LocalTaxAmt, ' +&#13;&#10;         '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']) // Create New Pipeline (eg here is GSTAmt)&#13;&#10;  .GetLocalData(SQL) // Execute the Query&#13;&#10;  .SetDisplayFormat(['LocalTaxAmt', 'LocalAmount'],&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;) // Set Display Format&#13;&#10;  .LinkTo('Main', 'Dockey', 'Dockey'); // Link the New Pipeline (eg here is to link with Main Pipeline)&#13;&#10;&#13;&#10;&#13;&#10;  SQL := 'SELECT DocKey, SUM(LocalAmount)*0.06 SVE FROM Document_Detail ' +&#13;&#10;         'WHERE Tax=''SVE'' ' +&#13;&#10;         'GROUP BY DocKey';&#13;&#10;  AddDataSet('pl_TotSVE', ['Dockey', 'SVE'])&#13;&#10;  .GetLocalData(SQL)&#13;&#10;  .LinkTo('Main', 'Dockey', 'Dockey');&#13;&#10;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure GroupFooter1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  Engine.CurX := 0;&#13;&#10;  if Engine.FreeSpace &#60; GroupFooter1.Height then Engine.NewPage;&#13;&#10;  Engine.CurY := Engine.PageHeight - GroupFooter1.Height - PageFooter1.Height -1;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure MmAmtOnBeforePrint(Sender: TfrxComponent);&#13;&#10;var V : Variant;&#13;&#10;begin&#13;&#10;  V := &#60;Document_Currency.&#34;Symbol&#34;&#62;;&#13;&#10;  MmAmt.Text := 'Amount('+ V +')';&#13;&#10;end;&#13;&#10;&#13;&#10;procedure MmCurrDescOnBeforePrint(Sender: TfrxComponent);&#13;&#10;var V2 : String;&#13;&#10;begin&#13;&#10;  V2 := &#60;Document_Currency.&#34;Description&#34;&#62; +' : ' + CurrencyToLangWord(&#60;Main.&#34;DocAmt&#34;&#62;, &#60;Profile.&#34;CurrencyLang&#34;&#62;);&#13;&#10;  MmCurrDesc.Text := V2;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure MmBouncedOnBeforePrint(Sender: TfrxComponent);&#13;&#10;var B : Boolean;&#13;&#10;begin&#13;&#10;  B := &#60;Main.&#34;Cancelled&#34;&#62; = 'T';&#13;&#10;  MmBounced.Visible   := B;&#13;&#10;  MmBounced.Printable := B;&#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;&#13;&#10;end.">
  <Datasets>
    <item DataSet="Main" DataSetName="Main"/>
    <item DataSet="Document_Detail" DataSetName="Document_Detail"/>
    <item DataSet="Document_PaymentHistory" DataSetName="Document_PaymentHistory"/>
    <item DataSet="Parameter" DataSetName="Parameter"/>
    <item DataSet="Document_Detail_GL" DataSetName="Document_Detail_GL"/>
    <item DataSet="Document_Company" DataSetName="Document_Company"/>
    <item DataSet="Document_CompanyBranch" DataSetName="Document_CompanyBranch"/>
    <item DataSet="Document_Journal" DataSetName="Document_Journal"/>
    <item DataSet="Document_Agent" DataSetName="Document_Agent"/>
    <item DataSet="Document_Area" DataSetName="Document_Area"/>
    <item DataSet="Document_Currency" DataSetName="Document_Currency"/>
    <item DataSet="Document_Terms" DataSetName="Document_Terms"/>
    <item DataSet="Document_DocProject" DataSetName="Document_DocProject"/>
    <item DataSet="Document_Project" DataSetName="Document_Project"/>
    <item DataSet="Document_CompanyCategory" DataSetName="Document_CompanyCategory"/>
    <item DataSet="Option" DataSetName="Option"/>
    <item DataSet="Profile" DataSetName="Profile"/>
    <item DataSet="User" DataSetName="User"/>
  </Datasets>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
  <TfrxReportPage Name="Page1" PaperWidth="215.9" PaperHeight="279.4" PaperSize="1" LeftMargin="9.906" RightMargin="6.35" TopMargin="6.35" BottomMargin="0" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" LargeDesignHeight="True" MirrorMode="0" HGuides.Text="" VGuides.Text="">
    <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="287.24428" Width="754.56048732" ColumnWidth="0" ColumnGap="0" DataSet="Main" DataSetName="Main" RowCount="0" Stretched="True"/>
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="245.73859" Left="0" Top="18.89765" Width="754.56048732" Condition="Main.&#34;DocNo&#34;" ReprintOnNewPage="True" ResetPageNumbers="True" StartNewPage="True" Stretched="True">
      <TfrxPictureView Name="Picture1" AllowVectorExport="True" Left="0" Top="6.55906" Width="114.897637795276" Height="96" Center="True" DataField="Logo" DataSet="Profile" DataSetName="Profile" Frame.Typ="0" HightQuality="False" Transparent="False" TransparentColor="16777215"/>
      <TfrxRichView Name="Rich1" AllowVectorExport="True" Left="116.78740157" Top="6.55906" Width="638.36220472" Height="96" AllowExpressions="False" DataField="Note" DataSet="Profile" DataSetName="Profile" Frame.Typ="0" GapX="2" GapY="1" PropData="0852696368456469740AA60000007B5C727466315C616E73695C616E7369637067313235325C64656666305C6E6F7569636F6D7061745C6465666C616E67313033337B5C666F6E7474626C7B5C66305C666E696C5C666368617273657430205461686F6D613B7D7D0D0A7B5C2A5C67656E657261746F722052696368656432302031302E302E31383336327D5C766965776B696E64345C756331200D0A5C706172645C66305C667331365C7061720D0A7D0D0A00"/>
      <TfrxMemoView Name="Memo6" AllowVectorExport="True" Left="486.047244094488" Top="133" Width="140.59842519685" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Date  :  "/>
      <TfrxMemoView Name="MainDocDate" AllowVectorExport="True" Left="628.91338583" Top="133" Width="126.61417323" Height="19.2" DataField="DocDate" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;DocDate&#34;]"/>
      <TfrxMemoView Name="Memo9" AllowVectorExport="True" Left="0" Top="116" Width="41.19685039" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="To : "/>
      <TfrxMemoView Name="MainDescription" AllowVectorExport="True" ShiftMode="smDontShift" Left="41.57480315" Top="116" Width="300.8503937" Height="19.2" StretchMode="smActualHeight" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;CompanyName&#34;]&#13;&#10;[Document_CompanyBranch.&#34;Address1&#34;]&#13;&#10;[Document_CompanyBranch.&#34;Address2&#34;]&#13;&#10;[Document_CompanyBranch.&#34;Address3&#34;]&#13;&#10;[Document_CompanyBranch.&#34;Address4&#34;]&#13;&#10;[IIF(Trim(&#60;Document_CompanyBranch.&#34;Attention&#34;&#62;)&#60;&#62;'','Attn : ' + &#60;Document_CompanyBranch.&#34;Attention&#34;&#62;,'')]&#13;&#10;[IIF(Trim(&#60;Document_CompanyBranch.&#34;Phone1&#34;&#62;)&#60;&#62;'','Tel : ' + &#60;Document_CompanyBranch.&#34;Phone1&#34;&#62;+ '  ','')][IIF(Trim(&#60;Document_CompanyBranch.&#34;Fax1&#34;&#62;)&#60;&#62;'','Fax : '+ &#60;Document_CompanyBranch.&#34;Fax1&#34;&#62;,'')]">
        <Formats>
          <item/>
          <item/>
          <item/>
          <item/>
          <item/>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo11" AllowVectorExport="True" ShiftMode="smDontShift" Left="0" Top="224.6" Width="114.51968503937" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="2" ParentFont="False" VAlign="vaCenter" Text="G/L CODE"/>
      <TfrxLineView Name="Line1" AllowVectorExport="True" ShiftMode="smDontShift" Left="0" Top="224.6" Width="756.05671" Height="0" Color="0" Frame.Typ="0" Diagonal="True"/>
      <TfrxLineView Name="Line2" AllowVectorExport="True" ShiftMode="smDontShift" Left="0" Top="243.8" Width="756.05671" Height="0" Color="0" Frame.Typ="0" Diagonal="True"/>
      <TfrxMemoView Name="Memo13" AllowVectorExport="True" ShiftMode="smDontShift" Left="191.244094488189" Top="224.6" Width="152.692913385827" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="DESCRIPTION"/>
      <TfrxMemoView Name="MmAmt" AllowVectorExport="True" ShiftMode="smDontShift" Left="628.91338583" Top="224.6" Width="79.37013" Height="19.2" OnBeforePrint="MmAmtOnBeforePrint" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="1" HAlign="haRight" HideZeros="True" ParentFont="False" VAlign="vaCenter" Text="Amount"/>
      <TfrxSysMemoView Name="SysMmPage" AllowVectorExport="True" Left="486.04724409" Top="197.2" Width="271.06778" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[(IIF(&#60;TotalPages&#62; = 1,'', 'Page ' + IntToStr(&#60;Page&#62;) +' of ' + IntToStr(&#60;TotalPages&#62;)))]"/>
      <TfrxMemoView Name="Memo1" AllowVectorExport="True" Left="486.047244094488" Top="162.4" Width="140.59842519685" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Terms  :  "/>
      <TfrxMemoView Name="Memo14" AllowVectorExport="True" Left="486.047244094488" Top="148.2" Width="140.59842519685" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" Highlight.Font.Charset="1" Highlight.Font.Color="16777215" Highlight.Font.Height="-11" Highlight.Font.Name="Tahoma" Highlight.Font.Style="0" Highlight.Condition="Trim(&#60;Main.&#34;ChequeNumber&#34;&#62;) = ''" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" Text="Account  :  "/>
      <TfrxMemoView Name="Memo20" AllowVectorExport="True" Left="486.047244094488" Top="178" Width="140.59842519685" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" Highlight.Font.Charset="1" Highlight.Font.Color="16777215" Highlight.Font.Height="-11" Highlight.Font.Name="Tahoma" Highlight.Font.Style="0" Highlight.Condition="&#60;Main.&#34;CurrencyRate&#34;&#62; = 1" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" Text="Currency Rate  :  "/>
      <TfrxMemoView Name="Memo22" AllowVectorExport="True" Left="628.91338583" Top="178" Width="126.61417323" Height="19.2" DataField="CurrencyRate" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" Highlight.Font.Charset="1" Highlight.Font.Color="16777215" Highlight.Font.Height="-11" Highlight.Font.Name="Tahoma" Highlight.Font.Style="0" Highlight.Condition="&#60;Main.&#34;CurrencyRate&#34;&#62; = 1" Highlight.FillType="ftBrush" Highlight.Frame.Typ="0" ParentFont="False" Text="[Main.&#34;CurrencyRate&#34;]"/>
      <TfrxMemoView Name="Memo24" AllowVectorExport="True" ShiftMode="smDontShift" Left="568.062992125984" Top="224.6" Width="59.7165354330709" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="1" HAlign="haCenter" HideZeros="True" ParentFont="False" VAlign="vaCenter" Text="Tax Amt"/>
      <TfrxMemoView Name="Memo25" AllowVectorExport="True" ShiftMode="smDontShift" Left="486.425196850394" Top="224.6" Width="80.8818897637795" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="1" HAlign="haRight" HideZeros="True" ParentFont="False" VAlign="vaCenter" Text="Amt Excl. Tax"/>
      <TfrxMemoView Name="Memo40" AllowVectorExport="True" ShiftMode="smDontShift" Left="710" Top="224.6" Width="47.62204724" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="1" HAlign="haCenter" HideZeros="True" ParentFont="False" VAlign="vaCenter" Text="Tax"/>
      <TfrxMemoView Name="MmBounced" AllowVectorExport="True" ShiftMode="smDontShift" Left="193.133858267717" Top="102" Width="292.535433070866" Height="76.8" OnBeforePrint="MmBouncedOnBeforePrint" Font.Charset="1" Font.Color="255" Font.Height="-64" Font.Name="Tahoma" Font.Style="1" Frame.Color="255" Frame.Typ="12" HAlign="haCenter" ParentFont="False" Text="Cancelled"/>
      <TfrxMemoView Name="Memo3" AllowVectorExport="True" Left="628.91338583" Top="148.2" Width="126.61417323" Height="19.2" DataField="Code" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;Code&#34;]"/>
      <TfrxMemoView Name="Memo26" AllowVectorExport="True" Left="628.91338583" Top="162.4" Width="126.61417323" Height="19.2" DataField="Terms" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;Terms&#34;]"/>
      <TfrxMemoView Name="Memo31" AllowVectorExport="True" Left="193.133858267717" Top="96" Width="292.535433070866" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="Invoice"/>
      <TfrxMemoView Name="Memo32" AllowVectorExport="True" Left="486.047244094488" Top="116" Width="140.59842519685" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Doc No.  :  "/>
      <TfrxMemoView Name="Memo34" AllowVectorExport="True" Left="628.91338583" Top="116" Width="126.61417323" Height="19.2" DataField="DocNo" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="[Main.&#34;DocNo&#34;]"/>
    </TfrxGroupHeader>
    <TfrxDetailData Name="DetailData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="19.2" Left="0" Top="309.92146" Width="754.56048732" ColumnWidth="0" ColumnGap="0" DataSet="Document_Detail" DataSetName="Document_Detail" RowCount="0" Stretched="True">
      <TfrxMemoView Name="Memo2" AllowVectorExport="True" Left="0" Top="0" Width="114.51968503937" Height="9.6" StretchMode="smActualHeight" AllowExpressions="False" DataField="Account" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[Document_Detail.&#34;Account&#34;]"/>
      <TfrxMemoView Name="MmDesc" AllowVectorExport="True" Left="114.39363" Top="0" Width="370.1859" Height="9.6" OnBeforePrint="MmDescOnBeforePrint" StretchMode="smActualHeight" AllowExpressions="False" 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" LineSpacing="1" ParentFont="False" Text="[Document_Detail.&#34;Description&#34;]"/>
      <TfrxMemoView Name="Company_UnappliedUnappliedAmt" AllowVectorExport="True" Left="628.91338583" Top="0" Width="79.37013" Height="11.33859" StretchMode="smActualHeight" DataField="AmountWithTax" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="0" HAlign="haRight" HideZeros="True" ParentFont="False" Text="[Document_Detail.&#34;AmountWithTax&#34;]"/>
      <TfrxMemoView Name="Memo28" AllowVectorExport="True" Left="486.425196850394" Top="0" Width="80.8818897637795" Height="11.33859" StretchMode="smActualHeight" DataField="Amount" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="0" HAlign="haRight" HideZeros="True" ParentFont="False" Text="[Document_Detail.&#34;Amount&#34;]"/>
      <TfrxMemoView Name="Memo29" AllowVectorExport="True" Left="568.062992125984" Top="0" Width="59.7165354330709" Height="11.33859" StretchMode="smActualHeight" DataField="TaxAmt" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="0" HAlign="haRight" HideZeros="True" ParentFont="False" Text="[Document_Detail.&#34;TaxAmt&#34;]"/>
      <TfrxMemoView Name="Memo39" AllowVectorExport="True" Left="710.17322835" Top="0" Width="47.62204724" Height="11.33859" StretchMode="smActualHeight" DataField="TaxRate" DataSet="Document_Detail" DataSetName="Document_Detail" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="0" HideZeros="True" ParentFont="False" Text="[Document_Detail.&#34;TaxRate&#34;]"/>
    </TfrxDetailData>
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="154.73389" Left="0" Top="351.49629" Width="754.56048732" OnBeforePrint="GroupFooter1OnBeforePrint">
      <TfrxLineView Name="Line3" AllowVectorExport="True" Left="0" Top="3" Width="756.05671" Height="0" Color="0" Frame.Typ="0" Diagonal="True"/>
      <TfrxMemoView Name="Memo16" AllowVectorExport="True" Left="434.90872" Top="3" Width="50.64564" Height="18.89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Total :"/>
      <TfrxMemoView Name="Memo17" AllowVectorExport="True" Left="0" Top="126.37953" Width="192" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="For [Profile.&#34;CompanyName&#34;]"/>
      <TfrxLineView Name="Line4" AllowVectorExport="True" Left="0" Top="127.37953" Width="192" Height="0" Color="0" Frame.Typ="0" Diagonal="True"/>
      <TfrxMemoView Name="Memo30" AllowVectorExport="True" Left="0" Top="40" Width="435.77958614" Height="38.4" StretchMode="smActualHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="All cheques should be crossed and made to&#13;&#10;[Profile.&#34;CompanyName&#34;]"/>
      <TfrxMemoView Name="Memo27" AllowVectorExport="True" Left="628.91338583" Top="3" Width="124.72449" Height="18.89765" DataField="DocAmt" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="0" HAlign="haRight" HideZeros="True" ParentFont="False" Text="[Main.&#34;DocAmt&#34;]"/>
      <TfrxMemoView Name="MmCurrDesc" AllowVectorExport="True" Left="0" Top="3" Width="435.77958614" Height="37.7953" OnBeforePrint="MmCurrDescOnBeforePrint" DataSetName="Company_Unapplied" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HideZeros="True" ParentFont="False" Text="Currency Description"/>
      <TfrxMemoView Name="Memo15" AllowVectorExport="True" Left="568.062992125984" Top="3" Width="59.7165354330709" Height="18.89765" DataField="TaxAmt" DataSetName="pl_TotalDocDtl" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="0" HAlign="haRight" HideZeros="True" ParentFont="False" Text="[pl_TotalDocDtl.&#34;TaxAmt&#34;]"/>
      <TfrxMemoView Name="Memo23" AllowVectorExport="True" Left="486.425196850394" Top="3" Width="80.8818897637795" Height="18.89765" DataField="Amount" DataSetName="pl_TotalDocDtl" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="0" HAlign="haRight" HideZeros="True" ParentFont="False" Text="[pl_TotalDocDtl.&#34;Amount&#34;]"/>
      <TfrxSubreport Name="Subreport1" AllowVectorExport="True" ShiftMode="smDontShift" Left="453.5436" Top="49.13389" Width="268.34663" Height="75.5906" Page="Page2"/>
      <TfrxMemoView Name="Memo72" AllowVectorExport="True" ShiftMode="smDontShift" Left="434.90872" Top="26.45671" Width="228.29932" Height="18.89765" OnBeforePrint="Memo72OnBeforePrint" StretchMode="smActualHeight" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="Total Service Tax Amount (Exempted) : "/>
      <TfrxMemoView Name="Memo73" IndexTag="1" AllowVectorExport="True" ShiftMode="smDontShift" Left="606.25232" Top="26.45671" Width="143.62214" Height="18.89765" OnBeforePrint="Memo73OnBeforePrint" DataSet="Document_Company" DataSetName="Document_Company" 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;, VarToFloatDef(&#60;pl_TotSVE.&#34;SVE&#34;&#62;))] (SVE)"/>
    </TfrxGroupFooter>
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="28.8" Left="0" Top="566.9295" Width="754.56048732"/>
  </TfrxReportPage>
  <TfrxReportPage Name="Page2" PaperWidth="215.9" PaperHeight="279.4" PaperSize="1" LeftMargin="9.906" RightMargin="6.35" TopMargin="6.35" BottomMargin="0" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" LargeDesignHeight="True" MirrorMode="0" 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="20.67718" Left="0" Top="60.47248" Width="754.56048732" ColumnWidth="0" ColumnGap="0" DataSetName="GSTAmt" RowCount="0">
      <TfrxMemoView Name="Memo37" AllowVectorExport="True" Left="3.77953" Top="0" Width="283.46475" Height="18.89765" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Frame.Style="fsDot" Frame.Typ="7" 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;)]"/>
      <TfrxMemoView Name="Memo38" AllowVectorExport="True" Left="97.26778" Top="1.77953" Width="94.48825" Height="18.89765" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[GSTAmt.&#34;LocalAmount&#34;]"/>
      <TfrxMemoView Name="Memo41" AllowVectorExport="True" Left="189.53556" Top="0" Width="94.48825" Height="18.89765" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[GSTAmt.&#34;LocalTaxAmt&#34;]"/>
    </TfrxMasterData>
    <TfrxHeader Name="Header1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="18.89765" Left="0" Top="18.89765" Width="754.56048732">
      <TfrxMemoView Name="Memo33" AllowVectorExport="True" Left="3.77953" Top="0" Width="283.46475" Height="18.89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Frame.Style="fsDot" Frame.Typ="15" ParentFont="False" Text="     Tax Summary"/>
      <TfrxMemoView Name="Memo35" AllowVectorExport="True" Left="97.26778" Top="0" Width="94.48825" Height="18.89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Amount （RM)"/>
      <TfrxMemoView Name="Memo36" AllowVectorExport="True" Left="185.75603" Top="0" Width="94.48825" Height="18.89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Tax Amt (RM)"/>
    </TfrxHeader>
    <TfrxFooter Name="Footer1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="18.89765" Left="0" Top="105.82684" Width="754.56048732">
      <TfrxMemoView Name="Memo42" AllowVectorExport="True" Left="3.77953" Top="0" Width="283.46475" Height="18.89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Frame.Style="fsDot" Frame.Typ="15" ParentFont="False" Text="     Total"/>
      <TfrxMemoView Name="Memo43" AllowVectorExport="True" Left="97.26778" Top="0" Width="94.48825" Height="18.89765" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;GSTAmt.&#34;LocalAmount&#34;&#62;,MasterData2)]"/>
      <TfrxMemoView Name="Memo44" AllowVectorExport="True" Left="189.53556" Top="0" Width="94.48825" Height="18.89765" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;GSTAmt.&#34;LocalTaxAmt&#34;&#62;,MasterData2)]"/>
    </TfrxFooter>
  </TfrxReportPage>
</TfrxReport>
