<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="2022.2" 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=TdvARStatement&#13;&#10;GUID={EFF37DAC-3F94-42C7-87E4-6B63A08D8E25}" ReportOptions.Name="Cust Statement 06 Mths 1" ReportOptions.LastChange="44730.4472180787" ScriptLanguage="PascalScript" ScriptText.Text="const MaxInt = 2147483647;&#13;&#10;var lSQL : String;&#13;&#10;    APDBal : Extended;&#13;&#10;&#13;&#10;function StringReplace(const S, OldPattern, NewPattern: string;&#13;&#10;  iReplaceAll: boolean=true; iIgnoreCase :boolean=true): string;&#13;&#10;var&#13;&#10;  SearchStr, Patt, NewStr: string;&#13;&#10;  Offset: Integer;&#13;&#10;begin&#13;&#10;// Usage StringReplace(&#60;Main.&#34;DOB&#34;&#62;,'/','')&#13;&#10;  if iIgnoreCase then begin&#13;&#10;    SearchStr := UpperCase(S);&#13;&#10;    Patt := UpperCase(OldPattern);&#13;&#10;  end else begin&#13;&#10;    SearchStr := S;&#13;&#10;    Patt := OldPattern;&#13;&#10;  end;&#13;&#10;  NewStr := S;&#13;&#10;  Result := '';&#13;&#10;  while SearchStr &#60;&#62; '' do begin&#13;&#10;    Offset := Pos(Patt, SearchStr);&#13;&#10;    if Offset = 0 then begin&#13;&#10;      Result := Result + NewStr;&#13;&#10;      Break;&#13;&#10;    end;&#13;&#10;    Result := Result + Copy(NewStr, 1, Offset - 1) + NewPattern;&#13;&#10;    NewStr := Copy(NewStr, Offset + Length(OldPattern), MaxInt);&#13;&#10;    if not iReplaceAll then begin&#13;&#10;      Result := Result + NewStr;&#13;&#10;      Break;&#13;&#10;    end;&#13;&#10;    SearchStr := Copy(SearchStr, Offset + Length(Patt), MaxInt);&#13;&#10;  end;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure GetEMailTpl;&#13;&#10;var D  : TfrxDataSet;&#13;&#10;   lFN : String;&#13;&#10;begin&#13;&#10;  lFN := Trim(Report.ReportOptions.Name);&#13;&#10;  lFN := StringReplace(lFN,'.fr3','');&#13;&#10;  D := Report.GetDataSet('plEMailTpl');&#13;&#10;  D.First;&#13;&#10;  While not D.Eof do begin&#13;&#10;    if Trim(D.Value('ReportName')) = lFN then&#13;&#10;      Break;&#13;&#10;    D.Next;&#13;&#10;  end;&#13;&#10;end;&#13;&#10;&#13;&#10;function GetPassword:String;&#13;&#10;begin&#13;&#10;  if Trim(&#60;Company.&#34;Remark&#34;&#62;) &#60;&#62; '' then&#13;&#10;    Result := &#60;Company.&#34;Remark&#34;&#62; else&#13;&#10;    Result := &#60;plEMailTpl.&#34;PDFPassWord&#34;&#62;;&#13;&#10;end;&#13;&#10;&#13;&#10;function GetFldInfo(const AStr:String):String;&#13;&#10;var D : TfrxDataSet;&#13;&#10;    nStr : String;&#13;&#10;    lSL,lPL : TStringList;&#13;&#10;    i, j : integer;&#13;&#10;begin&#13;&#10;  nStr := AStr;&#13;&#10;  lSL := TStringList.Create;&#13;&#10;  lPL := TStringList.Create;&#13;&#10;  with lPL do begin //Available Pipeline&#13;&#10;    Add('Main');&#13;&#10;    Add('Profile');&#13;&#10;    Add('Parameter');&#13;&#10;    Add('plEMailTpl');&#13;&#10;    Add('Company');&#13;&#10;    Add('CompanyBranch');&#13;&#10;    Add('Currency');&#13;&#10;  end;&#13;&#10;  try&#13;&#10;    for j:=0 to lPL.Count -1 do begin&#13;&#10;      D := Report.GetDataSet(lPL[j]);&#13;&#10;      D.GetFieldList(lSL);&#13;&#10;      for i:=0 to lSL.Count -1 do begin&#13;&#10;        if D.IsBlobField(lSL[i]) then&#13;&#10;          nStr := StringReplace(nStr, '&#60;'+ lPL[j] + '.' + lSL[i] + '&#62;',D.Value(lSL[i])) else&#13;&#10;         nStr := StringReplace(nStr, '&#60;'+ lPL[j] + '.' + lSL[i] + '&#62;',D.DisplayText(lSL[i]));&#13;&#10;      end;&#13;&#10;    end;&#13;&#10;    Result := nStr;&#13;&#10;  finally&#13;&#10;    lSL.Free;&#13;&#10;    lPL.Free;&#13;&#10;  end;&#13;&#10;end;&#13;&#10;&#13;&#10;//For E-Mail Client (Batch)&#13;&#10;procedure OnGetEmailSettings(EmailSettings: TStrings);&#13;&#10;var vEmail, vName: Variant;&#13;&#10;begin&#13;&#10;  GetEMailTpl;&#13;&#10;  vEmail := Trim(&#60;CompanyBranch.&#34;Email&#34;&#62;);&#13;&#10;  vName := Trim(&#60;Main.&#34;CompanyName&#34;&#62;);&#13;&#10;&#13;&#10;  if (vName &#60;&#62; '' ) and (vEmail &#60;&#62; '') then begin&#13;&#10;    EmailSettings.Values['Recipients'] := vEmail;&#13;&#10;    EmailSettings.Values['CC']         := &#60;plEMailTpl.&#34;CC&#34;&#62;;&#13;&#10;    EmailSettings.Values['BCC']        := &#60;plEMailTpl.&#34;BCC&#34;&#62;;&#13;&#10;    EmailSettings.Values['Subject']    := GetFldInfo(&#60;plEMailTpl.&#34;Subject&#34;&#62;);&#13;&#10;    EmailSettings.Values['Body']       := GetFldInfo(RichTextToPlainText(&#60;plEMailTpl.&#34;Body&#34;&#62;));&#13;&#10;    if Trim(&#60;plEMailTpl.&#34;PDFFileName&#34;&#62;) &#60;&#62; '' then&#13;&#10;      EmailSettings.Values['FileName']    := GetFldInfo(&#60;plEMailTpl.&#34;PDFFileName&#34;&#62;);&#13;&#10;    if Trim(GetPassword) &#60;&#62; '' then&#13;&#10;      EmailSettings.Values['PDFPassword'] := GetPassword;&#13;&#10;  end;&#13;&#10;  //ID uses for display on progress dialog&#13;&#10;  EmailSettings.Values['ID']        := vName;&#13;&#10;end;&#13;&#10;&#13;&#10;//For E-Mail (Native)&#13;&#10;function SQL_Email_GetInfo(Info: Integer): string;&#13;&#10;var vEmail, vName: Variant;&#13;&#10;begin&#13;&#10;  GetEMailTpl;&#13;&#10;  Result := '';&#13;&#10;  vEmail := Trim(&#60;CompanyBranch.&#34;Email&#34;&#62;);&#13;&#10;  vName := Trim(&#60;Main.&#34;CompanyName&#34;&#62;);&#13;&#10;&#13;&#10;  if (vName &#60;&#62; '' ) and (vEmail &#60;&#62; '') then begin&#13;&#10;    case Info of&#13;&#10;      SQL_Email_Address: Result := vEmail;&#13;&#10;      SQL_Email_Subject: Result := GetFldInfo(&#60;plEMailTpl.&#34;Subject&#34;&#62;);&#13;&#10;      SQL_Email_Content: Result := GetFldInfo(RichTextToPlainText(&#60;plEMailTpl.&#34;Body&#34;&#62;));&#13;&#10;    end;&#13;&#10;  end;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure GetShareMsg;&#13;&#10;var D  : TfrxDataSet;&#13;&#10;   lFN : String;&#13;&#10;begin&#13;&#10;  lFN := Trim(Report.ReportOptions.Name);&#13;&#10;  lFN := StringReplace(lFN,'.fr3','');&#13;&#10;  D := Report.GetDataSet('plShareMsg');&#13;&#10;  D.First;&#13;&#10;  While not D.Eof do begin&#13;&#10;    if Trim(D.Value('ReportName')) = lFN then&#13;&#10;      Break;&#13;&#10;    D.Next;&#13;&#10;  end;&#13;&#10;end;&#13;&#10;&#13;&#10;function GetShareText: string;&#13;&#10;begin&#13;&#10;  GetShareMsg;&#13;&#10;  Result := GetFldInfo(RichTextToPlainText(&#60;plShareMsg.&#34;Body&#34;&#62;))&#13;&#10;end;&#13;&#10;&#13;&#10;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):Double;&#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;procedure SetUp;&#13;&#10;var SQL : String;&#13;&#10;begin&#13;&#10;  SQL := 'SELECT B.Description As ReportName, B.Description2 As Subject, B.Description3 As Body, '+&#13;&#10;         'A.Address1 As CC, A.Address2 As BCC, B.Remark1 As PDFPassWord, B.Remark2 As PDFFileName ' +&#13;&#10;         'FROM SL_QT A ' +&#13;&#10;         'INNER JOIN SL_QTDTL B ON (A.Dockey=B.Dockey) ' +&#13;&#10;         'WHERE A.DocNo=''EMAIL'' '+&#13;&#10;         'ORDER BY B.SEQ';&#13;&#10;  AddDataSet('plEMailTpl', ['ReportName', 'Subject', 'Body', 'PDFPassWord', 'PDFFileName', 'CC', 'BCC'])&#13;&#10;  .GetDBData(SQL);&#13;&#10;&#13;&#10;  SQL := 'SELECT B.Description As ReportName, B.Description3 As Body '+&#13;&#10;         'FROM SL_QT A ' +&#13;&#10;         'INNER JOIN SL_QTDTL B ON (A.Dockey=B.Dockey) ' +&#13;&#10;         'WHERE A.DocNo=''WHATSAPP'' ' +&#13;&#10;         'ORDER BY B.SEQ';&#13;&#10;  AddDataSet('plShareMsg', ['ReportName', 'Body'])&#13;&#10;  .GetDBData(SQL);&#13;&#10;&#13;&#10;  SQL := 'SELECT Code, Count(CAST(DR AS REAL)) Nos, SUM(CAST(DR AS REAL)) DR FROM Document '+&#13;&#10;         'WHERE DR &#60;&#62; 0 '+&#13;&#10;         'AND DR IS NOT NULL  '+&#13;&#10;         'GROUP BY Code ';&#13;&#10;  AddDataSet('pl_DR', ['Code', 'Nos', 'DR'])&#13;&#10;  .GetLocalData(SQL)&#13;&#10;  .SetDisplayFormat(['DR'], &#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;)&#13;&#10;  .LinkTo('Main', 'Code', 'Code');&#13;&#10;&#13;&#10;  SQL := 'SELECT Code, Count(CAST(CR AS REAL)) Nos, SUM(CAST(CR AS REAL)) CR FROM Document '+&#13;&#10;         'WHERE CR &#60;&#62; 0 '+&#13;&#10;         'AND CR IS NOT NULL  '+&#13;&#10;         'GROUP BY Code ';&#13;&#10;  AddDataSet('pl_CR', ['Code', 'Nos', 'CR'])&#13;&#10;  .GetLocalData(SQL)&#13;&#10;  .SetDisplayFormat(['CR'], &#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;)&#13;&#10;  .LinkTo('Main', 'Code', 'Code');&#13;&#10;&#13;&#10;  SQL := 'SELECT Dockey, Code, DocType, COUNT(DocNo) Nos, Sum(CAST(KOAmt AS REAL)) KOAmt FROM DocumentKnockOff '+&#13;&#10;         'GROUP BY Code, DocType, Dockey';&#13;&#10;  AddDataSet('pl_ST', ['Code', 'DocType', 'KOAmt', 'Nos'])&#13;&#10;  .GetLocalData(SQL)&#13;&#10;  .SetDisplayFormat(['KOAmt'], &#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;)&#13;&#10;  .LinkTo('Document', 'Code;DocType;DocKey', 'Code;DocType;DocKey');&#13;&#10;&#13;&#10;  SQL := 'SELECT CODE, SUM(UNAPPLIEDAMT) UNAPPLIEDAMT FROM AR_DP ' +&#13;&#10;         'WHERE CANCELLED=''F'' ' +&#13;&#10;         'GROUP BY Code';&#13;&#10;  AddDataSet('pl_UA', ['Code', 'UnappliedAmt'])&#13;&#10;  .GetDBData(SQL)&#13;&#10;  .SetDisplayFormat(['UnappliedAmt'], &#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;)&#13;&#10;  .LinkTo('Main', 'Code', 'Code');&#13;&#10;&#13;&#10;  SQL := 'SELECT CODE, DOCNO, DOCDATE, DESCRIPTION, UNAPPLIEDAMT FROM AR_DP ' +&#13;&#10;         'WHERE CANCELLED=''F'' ' +&#13;&#10;         'AND UNAPPLIEDAMT &#60;&#62; 0 ' +&#13;&#10;         'ORDER BY Code, DOCNO ';&#13;&#10;  AddDataSet('pl_DP', ['Code', 'DOCNO', 'DOCDATE', 'DESCRIPTION', 'UnappliedAmt'])&#13;&#10;  .GetDBData(SQL)&#13;&#10;  .SetDisplayFormat(['UnappliedAmt'], &#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;)&#13;&#10;  .LinkTo('Main', 'Code', 'Code');&#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 - 30;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure MmSTOnBeforePrint(Sender: TfrxComponent);&#13;&#10;var i : integer;&#13;&#10;begin&#13;&#10;  i := CompareText(&#60;pl_ST.&#34;KOAmt&#34;&#62;, &#60;Document.&#34;Orig_DocAmt&#34;&#62;);&#13;&#10;  MmST.Text := '';&#13;&#10;  if ((&#60;Document.&#34;DocType&#34;&#62; = 'IV') or&#13;&#10;     (&#60;Document.&#34;DocType&#34;&#62; = 'DN')) and (VarToFloatDef(&#60;pl_ST.&#34;KOAmt&#34;&#62;) &#60;&#62; 0) then begin&#13;&#10;    if i = 0 then&#13;&#10;      MmST.Text := '*' else&#13;&#10;      MmST.Text := 'P';&#13;&#10;  end;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure DocumentDocNoOnAfterData(Sender: TfrxComponent);&#13;&#10;var i: integer;&#13;&#10;begin&#13;&#10;  for i := TfrxMemoView(Sender).Lines.Count - 1 downto 0 do&#13;&#10;  begin&#13;&#10;    if TfrxMemoView(Sender).Lines.Strings[i] = '' then&#13;&#10;      TfrxMemoView(Sender).Memo.Delete(i);&#13;&#10;  end;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure MmBalOnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  APDBal := APDBal + VarToFloatDef(&#60;PDCheque.&#34;TotalKOAmt&#34;&#62;) + VarToFloatDef(&#60;PDCheque.&#34;Unapplied&#34;&#62;);&#13;&#10;  MmBal.Text := FormatFloat(&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;,APDBal);&#13;&#10;end;&#13;&#10;&#13;&#10;procedure Header1OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  APDBal := 0;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure MmDescOnAfterData(Sender: TfrxComponent);&#13;&#10;var i : Extended;&#13;&#10;begin&#13;&#10;  i := 0;&#13;&#10;  if (VarToFloatDef(&#60;pl_ST.&#34;Nos&#34;&#62;) &#60;&#62; 0) and (SubReport2.Visible) then&#13;&#10;    i := TfrxMemoView(Sender).CalcHeight;&#13;&#10;&#13;&#10;  SubReport2.Top := i;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure _ShowDetail_(Detail: Boolean);&#13;&#10;begin&#13;&#10;  SubReport2.Visible   := Detail;&#13;&#10;  SubReport2.Printable := Detail;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure AgingOnAfterData(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if (Trim(TfrxMemoView(Sender).Text) ='') or (Trim(TfrxMemoView(Sender).Text) = '0.00') then&#13;&#10;    TfrxMemoView(Sender).Text := '-';&#13;&#10;end;&#13;&#10;&#13;&#10;procedure MmSecDescOnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if &#60;pl_UA.&#34;UnappliedAmt&#34;&#62; &#60;&#62; 0 then&#13;&#10;    TfrxMemoView(Sender).Frame.Typ := 9 else&#13;&#10;    TfrxMemoView(Sender).Frame.Typ := 1;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure MmSecAmtOnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if &#60;pl_UA.&#34;UnappliedAmt&#34;&#62; &#60;&#62; 0 then&#13;&#10;    TfrxMemoView(Sender).Frame.Typ := 10 else&#13;&#10;    TfrxMemoView(Sender).Frame.Typ := 2;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure Header2OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  Header2.visible := &#60;pl_UA.&#34;UnappliedAmt&#34;&#62; &#60;&#62; 0;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure MasterData4OnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  MasterData4.visible := &#60;pl_UA.&#34;UnappliedAmt&#34;&#62; &#60;&#62; 0;&#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10;&#13;&#10;end.">
  <Datasets>
    <item DataSet="Main" DataSetName="Main"/>
    <item DataSet="Document" DataSetName="Document"/>
    <item DataSet="DocumentKnockOff" DataSetName="DocumentKnockOff"/>
    <item DataSet="Parameter" DataSetName="Parameter"/>
    <item DataSet="AgingHeader" DataSetName="AgingHeader"/>
    <item DataSet="Aging" DataSetName="Aging"/>
    <item DataSet="PDCheque" DataSetName="PDCheque"/>
    <item DataSet="Company" DataSetName="Company"/>
    <item DataSet="CompanyBranch" DataSetName="CompanyBranch"/>
    <item DataSet="Agent" DataSetName="Agent"/>
    <item DataSet="Area" DataSetName="Area"/>
    <item DataSet="Currency" DataSetName="Currency"/>
    <item DataSet="ControlAccount" DataSetName="ControlAccount"/>
    <item DataSet="CompanyCategory" DataSetName="CompanyCategory"/>
    <item DataSet="DocProject" DataSetName="DocProject"/>
    <item DataSet="Option" DataSetName="Option"/>
    <item DataSet="Profile" DataSetName="Profile"/>
    <item DataSet="User" DataSetName="User"/>
  </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" HGuides.Text="" VGuides.Text="" 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" HGuides.Text="" VGuides.Text="" 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" MirrorMode="0">
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="319.0000062" Left="0" Top="18.89765" Width="754.56048732" Condition="Main.&#34;Code&#34;" ReprintOnNewPage="True" ResetPageNumbers="True" StartNewPage="True" Stretched="True">
      <TfrxMemoView Name="Memo20" AllowVectorExport="True" ShiftMode="smDontShift" Left="585.82715" Top="260.78757" Width="151.1812" Height="34.01577" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="2" ParentFont="False" Text=""/>
      <TfrxMemoView Name="Label1" AllowVectorExport="True" ShiftMode="smDontShift" Left="468.66172" Top="128.50402" Width="268.34663" Height="30.23624" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="Tahoma" Font.Style="0" Frame.Typ="15" HAlign="haCenter" ParentFont="False" Text="Statement of Account"/>
      <TfrxLineView Name="Line1" AllowVectorExport="True" ShiftMode="smDontShift" Left="11.33859" Top="124.72449" Width="725.66976" Height="0" Color="0" Frame.Typ="4"/>
      <TfrxMemoView Name="Label3" AllowVectorExport="True" ShiftMode="smDontShift" Left="11.33859" Top="128.50402" Width="113.3859" Height="15.11812" StretchMode="smActualHeight" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Customer"/>
      <TfrxLineView Name="Line2" AllowVectorExport="True" ShiftMode="smDontShift" Left="11.33859" Top="260.78757" Width="725.66976" Height="0" Color="0" Frame.Typ="4"/>
      <TfrxMemoView Name="DBText9" AllowVectorExport="True" ShiftMode="smDontShift" Left="11.33859" Top="143.62214" Width="389.29159" Height="15.11812" 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="268.34663" Top="264.5671" Width="71.81107" Height="15.11812" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Sales Executive"/>
      <TfrxMemoView Name="Label19" AllowVectorExport="True" ShiftMode="smDontShift" Left="185.19697" Top="264.5671" Width="83.14966" Height="15.11812" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Customer Account"/>
      <TfrxMemoView Name="Label21" AllowVectorExport="True" ShiftMode="smDontShift" Left="340.1577" Top="264.5671" Width="60.47248" Height="15.11812" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Currency"/>
      <TfrxMemoView Name="Label23" AllowVectorExport="True" ShiftMode="smDontShift" Left="400.63018" Top="264.5671" Width="68.03154" Height="15.11812" 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="585.82715" Top="264.5671" Width="79.37013" Height="15.11812" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Terms"/>
      <TfrxMemoView Name="Label27" AllowVectorExport="True" ShiftMode="smDontShift" Left="665.19728" Top="264.5671" Width="71.81107" Height="15.11812" 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="11.33859" Top="294.80334" Width="725.66976" Height="0" Color="0" Frame.Typ="4"/>
      <TfrxMemoView Name="Label29" AllowVectorExport="True" ShiftMode="smDontShift" Left="11.33859" Top="298.58287" Width="75.5906" Height="11.33859" StretchMode="smActualHeight" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Date"/>
      <TfrxMemoView Name="Label31" AllowVectorExport="True" ShiftMode="smDontShift" Left="86.92919" Top="298.58287" Width="98.26778" Height="11.33859" StretchMode="smActualHeight" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Reference"/>
      <TfrxMemoView Name="Label33" AllowVectorExport="True" ShiftMode="smDontShift" Left="185.19697" Top="298.58287" Width="215.43321" Height="11.33859" StretchMode="smActualHeight" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Transaction Description"/>
      <TfrxMemoView Name="Label37" AllowVectorExport="True" ShiftMode="smDontShift" Left="400.63018" Top="298.58287" Width="128.50402" Height="11.33859" 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="Debit"/>
      <TfrxMemoView Name="Label41" AllowVectorExport="True" ShiftMode="smDontShift" Left="529.1342" Top="298.58287" Width="102.04731" Height="11.33859" 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="Credit"/>
      <TfrxMemoView Name="DBText23" AllowVectorExport="True" ShiftMode="smDontShift" Left="185.19697" Top="275.90569" Width="83.14966" Height="15.11812" StretchMode="smActualHeight" DataField="Code" 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;Code&#34;]"/>
      <TfrxMemoView Name="DBText24" AllowVectorExport="True" ShiftMode="smDontShift" Left="585.82715" Top="275.90569" Width="79.37013" Height="15.11812" StretchMode="smActualHeight" DataField="CreditTerm" DataSet="Company" DataSetName="Company" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="[Company.&#34;CreditTerm&#34;]"/>
      <TfrxMemoView Name="DBText27" AllowVectorExport="True" ShiftMode="smDontShift" Left="340.1577" Top="275.90569" Width="60.47248" Height="15.11812" StretchMode="smActualHeight" DataField="Symbol" DataSet="Currency" DataSetName="Currency" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="[Currency.&#34;Symbol&#34;]"/>
      <TfrxMemoView Name="DBText28" AllowVectorExport="True" ShiftMode="smDontShift" Left="665.19728" Top="275.90569" Width="71.81107" Height="15.11812" StretchMode="smActualHeight" DataField="StatementDate" DataSet="Parameter" DataSetName="Parameter" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Parameter.&#34;StatementDate&#34;]"/>
      <TfrxMemoView Name="DBText34" AllowVectorExport="True" ShiftMode="smDontShift" Left="400.63018" Top="275.90569" Width="68.03154" Height="15.11812" StretchMode="smActualHeight" DataField="Code" DataSet="User" DataSetName="User" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="[User.&#34;Code&#34;]"/>
      <TfrxMemoView Name="DBText35" AllowVectorExport="True" ShiftMode="smDontShift" Left="268.34663" Top="275.90569" Width="71.81107" Height="15.11812" StretchMode="smActualHeight" DataField="Agent" 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;Agent&#34;]"/>
      <TfrxMemoView Name="Label67" AllowVectorExport="True" ShiftMode="smDontShift" Left="468.66172" Top="264.5671" Width="117.16543" Height="15.11812" 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="11.33859" Top="226.7718" Width="26.45671" Height="15.11812" StretchMode="smActualHeight" 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="11.33859" Top="241.88992" Width="26.45671" Height="15.11812" StretchMode="smActualHeight" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Fax"/>
      <TfrxMemoView Name="DBText15" AllowVectorExport="True" ShiftMode="smDontShift" Left="37.7953" Top="226.7718" Width="362.83488" Height="15.11812" StretchMode="smActualHeight" DataField="Phone1" DataSet="CompanyBranch" DataSetName="CompanyBranch" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[CompanyBranch.&#34;Phone1&#34;]"/>
      <TfrxMemoView Name="DBText17" AllowVectorExport="True" ShiftMode="smDontShift" Left="37.7953" Top="241.88992" Width="362.83488" Height="15.11812" StretchMode="smActualHeight" DataField="Fax1" DataSet="CompanyBranch" DataSetName="CompanyBranch" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[CompanyBranch.&#34;Fax1&#34;]"/>
      <TfrxMemoView Name="Memo4" AllowVectorExport="True" ShiftMode="smDontShift" Left="631.18151" Top="298.58287" Width="105.82684" Height="11.33859" 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="Balance"/>
      <TfrxSysMemoView Name="SysMmPage" AllowVectorExport="True" ShiftMode="smDontShift" Left="468.66172" Top="275.90569" Width="117.16543" Height="15.11812" StretchMode="smActualHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="[PAGE] of [TOTALPAGES]"/>
      <TfrxMemoView Name="DBText10" AllowVectorExport="True" ShiftMode="smDontShift" Left="11.33859" Top="158.74026" Width="389.29159" Height="68.03154" 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="[CompanyBranch.&#34;Address1&#34;]&#13;&#10;[CompanyBranch.&#34;Address2&#34;]&#13;&#10;[CompanyBranch.&#34;Address3&#34;]&#13;&#10;[CompanyBranch.&#34;Address4&#34;]">
        <Formats>
          <item/>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo5" AllowVectorExport="True" ShiftMode="smDontShift" Left="11.33859" Top="264.5671" Width="113.3859" Height="15.11812" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="Attention"/>
      <TfrxMemoView Name="Memo6" AllowVectorExport="True" ShiftMode="smDontShift" Left="11.33859" Top="275.90569" Width="113.3859" Height="15.11812" StretchMode="smActualHeight" DataField="Attention" DataSet="CompanyBranch" DataSetName="CompanyBranch" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" ParentFont="False" WordWrap="False" Text="[CompanyBranch.&#34;Attention&#34;]"/>
      <TfrxMemoView Name="Memo7" AllowVectorExport="True" ShiftMode="smDontShift" Left="585.82715" Top="177.63791" Width="151.1812" Height="18.89765" DataField="DR" DataSetName="pl_DR" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="2" GapX="10" HAlign="haRight" ParentFont="False" VAlign="vaBottom" Text="[pl_DR.&#34;DR&#34;]"/>
      <TfrxMemoView Name="Memo9" AllowVectorExport="True" ShiftMode="smDontShift" Left="585.82715" Top="196.53556" Width="151.1812" Height="18.89765" DataField="CR" DataSetName="pl_CR" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="2" GapX="10" HAlign="haRight" ParentFont="False" Text="[pl_CR.&#34;CR&#34;]"/>
      <TfrxMemoView Name="Memo10" AllowVectorExport="True" ShiftMode="smDontShift" Left="468.66172" Top="177.63791" Width="117.16543" Height="18.89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Frame.Typ="1" GapX="10" ParentFont="False" VAlign="vaBottom" Text="Total Debit ([VarToFloatDef(&#60;pl_DR.&#34;Nos&#34;&#62;)])"/>
      <TfrxMemoView Name="Memo11" AllowVectorExport="True" ShiftMode="smDontShift" Left="468.66172" Top="196.53556" Width="117.16543" Height="18.89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Frame.Typ="1" GapX="10" ParentFont="False" Text="Total Credit ([VarToFloatDef(&#60;pl_CR.&#34;Nos&#34;&#62;)])"/>
      <TfrxMemoView Name="Memo12" AllowVectorExport="True" ShiftMode="smDontShift" Left="468.66172" Top="215.43321" Width="117.16543" Height="26.45671" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Frame.Typ="13" Frame.TopLine.Width="2" GapX="10" ParentFont="False" VAlign="vaCenter" Text="Closing Balance"/>
      <TfrxMemoView Name="Memo13" AllowVectorExport="True" ShiftMode="smDontShift" Left="585.82715" Top="215.43321" Width="151.1812" Height="26.45671" DataField="Balance" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Frame.Typ="14" Frame.TopLine.Width="2" GapX="10" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[Main.&#34;Balance&#34;]"/>
      <TfrxMemoView Name="MmSecAmt" AllowVectorExport="True" ShiftMode="smDontShift" Left="585.82715" Top="158.74026" Width="151.1812" Height="18.89765" OnBeforePrint="MmSecAmtOnBeforePrint" DataField="UnappliedAmt" DataSetName="pl_UA" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="10" GapX="10" HAlign="haRight" ParentFont="False" VAlign="vaCenter" Text="[pl_UA.&#34;UnappliedAmt&#34;]"/>
      <TfrxMemoView Name="MmSecDesc" AllowVectorExport="True" ShiftMode="smDontShift" Left="468.66172" Top="158.74026" Width="117.16543" Height="18.89765" OnBeforePrint="MmSecDescOnBeforePrint" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Frame.Typ="9" GapX="10" ParentFont="False" VAlign="vaCenter" Text="[IIF(&#60;pl_UA.&#34;UnappliedAmt&#34;&#62; &#60;&#62; 0,'Security Deposit','')]"/>
      <TfrxRichView Name="Rich1" AllowVectorExport="True" Left="146.00031" Top="7.05906" Width="583.32652512" Height="107.33859" AllowExpressions="False" DataField="Note" DataSet="Profile" DataSetName="Profile" Frame.Typ="0" GapX="2" GapY="1" PropData="0852696368456469740AA60000007B5C727466315C616E73695C616E7369637067313235325C64656666305C6E6F7569636F6D7061745C6465666C616E67313033337B5C666F6E7474626C7B5C66305C666E696C5C666368617273657430205461686F6D613B7D7D0D0A7B5C2A5C67656E657261746F722052696368656432302031302E302E32323030307D5C766965776B696E64345C756331200D0A5C706172645C66305C667332325C7061720D0A7D0D0A00"/>
      <TfrxPictureView Name="Picture1" AllowVectorExport="True" Left="11.33859" Top="7.55906" Width="136.28355" Height="107.33859" Center="True" DataField="Logo" DataSet="Profile" DataSetName="Profile" Frame.Typ="0" HightQuality="False" Transparent="False" TransparentColor="16777215"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="124.8" Left="0" Top="517.79561" Width="754.56048732" OnBeforePrint="GroupFooter1OnBeforePrint" Stretched="True">
      <TfrxMemoView Name="Label61" AllowVectorExport="True" ShiftMode="smDontShift" Left="11.33859" Top="90.70872" Width="725.66976" Height="30.23624" StretchMode="smActualHeight" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="We shall be grateful if you will let us have payment as soon as possible. Any discrepancy in this statement must be reported to us in writing within 10 days.">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="MainBalance" AllowVectorExport="True" ShiftMode="smDontShift" Left="631.18151" Top="3.77953" Width="105.82684" Height="41.57483" DataField="Balance" DataSet="Main" DataSetName="Main" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[Main.&#34;Balance&#34;]"/>
      <TfrxMemoView Name="AgingHeaderC1" AllowVectorExport="True" ShiftMode="smDontShift" Left="56.69295" Top="45.35436" Width="105.82684" Height="18.89765" DataField="C1" DataSet="AgingHeader" DataSetName="AgingHeader" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="5" GapX="5" HAlign="haRight" ParentFont="False" Text="[AgingHeader.&#34;C1&#34;]"/>
      <TfrxMemoView Name="AgingHeaderC2" AllowVectorExport="True" ShiftMode="smDontShift" Left="162.51979" Top="45.35436" Width="105.82684" Height="18.89765" DataField="C2" DataSet="AgingHeader" DataSetName="AgingHeader" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="5" GapX="5" HAlign="haRight" ParentFont="False" Text="[AgingHeader.&#34;C2&#34;]"/>
      <TfrxMemoView Name="AgingHeaderC3" AllowVectorExport="True" ShiftMode="smDontShift" Left="268.34663" Top="45.35436" Width="105.82684" Height="18.89765" DataField="C3" DataSet="AgingHeader" DataSetName="AgingHeader" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="5" GapX="5" HAlign="haRight" ParentFont="False" Text="[AgingHeader.&#34;C3&#34;]"/>
      <TfrxMemoView Name="AgingHeaderC4" AllowVectorExport="True" ShiftMode="smDontShift" Left="374.17347" Top="45.35436" Width="105.82684" Height="18.89765" DataField="C4" DataSet="AgingHeader" DataSetName="AgingHeader" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="5" GapX="5" HAlign="haRight" ParentFont="False" Text="[AgingHeader.&#34;C4&#34;]"/>
      <TfrxMemoView Name="AgingHeaderC5" AllowVectorExport="True" ShiftMode="smDontShift" Left="480.00031" Top="45.35436" Width="105.82684" Height="18.89765" DataField="C5" DataSet="AgingHeader" DataSetName="AgingHeader" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="5" GapX="5" HAlign="haRight" ParentFont="False" Text="[AgingHeader.&#34;C5&#34;]"/>
      <TfrxMemoView Name="AgingHeaderC6" AllowVectorExport="True" ShiftMode="smDontShift" Left="585.82715" Top="45.35436" Width="105.82684" Height="18.89765" DataField="C6" DataSet="AgingHeader" DataSetName="AgingHeader" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="7" GapX="5" HAlign="haRight" ParentFont="False" Text="[AgingHeader.&#34;C6&#34;]"/>
      <TfrxMemoView Name="Memo2" AllowVectorExport="True" ShiftMode="smDontShift" Left="56.69295" Top="64.25201" Width="105.82684" Height="18.89765" OnAfterData="AgingOnAfterData" DataField="C1" DataSet="Aging" DataSetName="Aging" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="13" GapX="5" HAlign="haRight" ParentFont="False" Text="[Aging.&#34;C1&#34;]"/>
      <TfrxMemoView Name="Memo8" AllowVectorExport="True" ShiftMode="smDontShift" Left="162.51979" Top="64.25201" Width="105.82684" Height="18.89765" OnAfterData="AgingOnAfterData" DataField="C2" DataSet="Aging" DataSetName="Aging" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="13" GapX="5" HAlign="haRight" ParentFont="False" Text="[Aging.&#34;C2&#34;]"/>
      <TfrxMemoView Name="Memo14" AllowVectorExport="True" ShiftMode="smDontShift" Left="268.34663" Top="64.25201" Width="105.82684" Height="18.89765" OnAfterData="AgingOnAfterData" DataField="C3" DataSet="Aging" DataSetName="Aging" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="13" GapX="5" HAlign="haRight" ParentFont="False" Text="[Aging.&#34;C3&#34;]"/>
      <TfrxMemoView Name="Memo15" AllowVectorExport="True" ShiftMode="smDontShift" Left="374.17347" Top="64.25201" Width="105.82684" Height="18.89765" OnAfterData="AgingOnAfterData" DataField="C4" DataSet="Aging" DataSetName="Aging" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="13" GapX="5" HAlign="haRight" ParentFont="False" Text="[Aging.&#34;C4&#34;]"/>
      <TfrxMemoView Name="Memo16" AllowVectorExport="True" ShiftMode="smDontShift" Left="480.00031" Top="64.25201" Width="105.82684" Height="18.89765" OnAfterData="AgingOnAfterData" DataField="C5" DataSet="Aging" DataSetName="Aging" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="13" GapX="5" HAlign="haRight" ParentFont="False" Text="[Aging.&#34;C5&#34;]"/>
      <TfrxMemoView Name="Memo17" AllowVectorExport="True" ShiftMode="smDontShift" Left="585.82715" Top="64.25201" Width="105.82684" Height="18.89765" OnAfterData="AgingOnAfterData" DataField="C6" DataSet="Aging" DataSetName="Aging" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="15" GapX="5" HAlign="haRight" ParentFont="False" Text="[Aging.&#34;C6&#34;]"/>
      <TfrxMemoView Name="Memo1" AllowVectorExport="True" ShiftMode="smDontShift" Left="11.33859" Top="3.77953" Width="517.79561" Height="41.57483" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="4" ParentFont="False" Text="[Currency.&#34;Description&#34;] : [CurrencyToLangWord(&#60;Main.&#34;Balance&#34;&#62;, &#60;Profile.&#34;CurrencyLang&#34;&#62;)]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="CurrencySymbol" AllowVectorExport="True" ShiftMode="smDontShift" Left="529.1342" Top="3.77953" Width="102.04731" Height="41.57483" DataSet="Currency" DataSetName="Currency" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[Currency.&#34;Symbol&#34;] :"/>
    </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="404.40971" Width="754.56048732" ColumnWidth="0" ColumnGap="0" DataSet="Main" DataSetName="Main" PrintIfDetailEmpty="True" RowCount="0" Stretched="True"/>
    <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="702.99258" Width="754.56048732"/>
    <TfrxGroupHeader Name="GroupHeader2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="0" Left="0" Top="359.05535" Width="754.56048732" Condition="Main.&#34;Code&#34;" ResetPageNumbers="True" StartNewPage="True" Stretched="True"/>
    <TfrxDetailData Name="DetailData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="15.42047" Left="0" Top="427.08689" Width="754.56048732" ColumnWidth="0" ColumnGap="0" DataSet="Document" DataSetName="Document" RowCount="0" Stretched="True">
      <TfrxMemoView Name="Memo3" AllowVectorExport="True" Left="631.18151" Top="0.77953" Width="105.82684" Height="11.33859" StretchMode="smMaxHeight" AllowExpressions="False" DataField="Balance" DataSet="Document" DataSetName="Document" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="0" Frame.Width="2" GapY="0.5" HAlign="haRight" ParentFont="False" Text="[Document.&#34;Balance&#34;]"/>
      <TfrxMemoView Name="MmDesc" AllowVectorExport="True" ShiftMode="smDontShift" Left="185.19697" Top="0.77953" Width="215.43321" Height="11.33859" OnAfterData="MmDescOnAfterData" StretchMode="smMaxHeight" DataSet="Document" DataSetName="Document" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" GapY="0.5" ParentFont="False" Text="[IIF(&#60;Document.&#34;Description&#34;&#62; ='Balance b/d','Balance b/f',&#60;Document.&#34;Description&#34;&#62;)]"/>
      <TfrxMemoView Name="DocumentCR" AllowVectorExport="True" Left="529.1342" Top="0.77953" Width="102.04731" Height="11.33859" StretchMode="smMaxHeight" DataField="CR" DataSet="Document" DataSetName="Document" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="0" GapY="0.5" HAlign="haRight" HideZeros="True" ParentFont="False" Text="[Document.&#34;CR&#34;]"/>
      <TfrxMemoView Name="DocumentDR" AllowVectorExport="True" Left="400.63018" Top="0.77953" Width="128.50402" Height="11.33859" StretchMode="smMaxHeight" DataField="DR" DataSet="Document" DataSetName="Document" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="0" GapY="0.5" HAlign="haRight" HideZeros="True" ParentFont="False" Text="[Document.&#34;DR&#34;]"/>
      <TfrxMemoView Name="DocumentTransDate" AllowVectorExport="True" Left="11.33859" Top="0.77953" Width="75.5906" Height="11.33859" StretchMode="smMaxHeight" DataField="TransDate" DataSet="Document" DataSetName="Document" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" GapY="0.5" ParentFont="False" Text="[Document.&#34;TransDate&#34;]"/>
      <TfrxMemoView Name="DocumentDocNo" AllowVectorExport="True" Left="86.92919" Top="0.77953" Width="98.26778" Height="11.33859" OnAfterData="DocumentDocNoOnAfterData" StretchMode="smMaxHeight" DataSet="Document" DataSetName="Document" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" GapY="0.5" ParentFont="False" WordWrap="False" Text="[Document.&#34;DocNo&#34;]&#13;&#10;[Document.&#34;RefNo&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxSubreport Name="Subreport2" AllowVectorExport="True" Left="86.92919" Top="0.77953" Width="98.26778" Height="11.33859" Visible="False" Page="Page3"/>
      <TfrxMemoView Name="MmST" AllowVectorExport="True" Left="737.00835" Top="0.77953" Width="11.33859" Height="11.33859" OnBeforePrint="MmSTOnBeforePrint" StretchMode="smMaxHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" GapY="0.5" HAlign="haCenter" ParentFont="False" Text=""/>
    </TfrxDetailData>
    <TfrxGroupHeader Name="GroupHeader3" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="0" Left="0" Top="381.73253" Width="754.56048732" Condition="Main.&#34;Code&#34;" Stretched="True"/>
    <TfrxGroupFooter Name="GroupFooter2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="28.8" Left="0" Top="464.88219" Width="754.56048732">
      <TfrxSubreport Name="Subreport1" AllowVectorExport="True" Left="13.37953" Top="0" Width="111.11812" Height="19.2" Page="Page2"/>
    </TfrxGroupFooter>
  </TfrxReportPage>
  <TfrxReportPage Name="Page2" HGuides.Text="" VGuides.Text="" 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">
    <TfrxMasterData Name="MasterData3" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="28.8" Left="0" Top="109.60637" Width="754.56048732" ColumnWidth="0" ColumnGap="0" DataSet="PDCheque" DataSetName="PDCheque" RowCount="0" Stretched="True">
      <TfrxMemoView Name="PDChequePostDate" AllowVectorExport="True" Left="59.2" Top="0" Width="76.8" Height="9.6" StretchMode="smActualHeight" DataField="PostDate" DataSet="PDCheque" DataSetName="PDCheque" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" GapY="0.5" ParentFont="False" Text="[PDCheque.&#34;PostDate&#34;]"/>
      <TfrxMemoView Name="PDChequeChequeNumber" AllowVectorExport="True" Left="152.4" Top="0" Width="144" Height="9.6" StretchMode="smActualHeight" DataField="ChequeNumber" DataSet="PDCheque" DataSetName="PDCheque" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" GapY="0.5" ParentFont="False" Text="[PDCheque.&#34;ChequeNumber&#34;]"/>
      <TfrxMemoView Name="PDChequeDocNo" AllowVectorExport="True" Left="296.4" Top="0" Width="115.2" Height="9.6" StretchMode="smActualHeight" DataField="DocNo" DataSet="PDCheque" DataSetName="PDCheque" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" GapY="0.5" ParentFont="False" Text="[PDCheque.&#34;DocNo&#34;]"/>
      <TfrxMemoView Name="PDChequeDocAmt" AllowVectorExport="True" Left="452.8" Top="0" Width="105.6" Height="9.6" StretchMode="smActualHeight" DataSet="PDCheque" DataSetName="PDCheque" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="0" GapY="0.5" HAlign="haRight" ParentFont="False" Text="[FormatFloat(&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;,VarToFloatDef(&#60;PDCheque.&#34;TotalKOAmt&#34;&#62;) + VarToFloatDef(&#60;PDCheque.&#34;Unapplied&#34;&#62;))]"/>
      <TfrxMemoView Name="MmBal" AllowVectorExport="True" Left="568" Top="0" Width="105.6" Height="9.6" OnBeforePrint="MmBalOnBeforePrint" StretchMode="smActualHeight" DataSet="PDCheque" DataSetName="PDCheque" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Trebuchet MS" Font.Style="0" Frame.Typ="0" GapY="0.5" HAlign="haRight" ParentFont="False" Text="[FormatFloat(&#60;Option.&#34;AccountingValueDisplayFormat&#34;&#62;,VarToFloatDef(&#60;PDCheque.&#34;TotalKOAmt&#34;&#62;) + VarToFloatDef(&#60;PDCheque.&#34;Unapplied&#34;&#62;))]"/>
    </TfrxMasterData>
    <TfrxHeader Name="Header1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="67.2" Left="0" Top="18.89765" Width="754.56048732" OnBeforePrint="Header1OnBeforePrint" Stretched="True">
      <TfrxMemoView Name="Memo18" AllowVectorExport="True" Left="59.2" Top="26.2" Width="297.6" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Post Dated Cheque Received "/>
      <TfrxMemoView Name="Memo19" AllowVectorExport="True" Left="59.2" Top="47" Width="96" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="8" ParentFont="False" Text="Date"/>
      <TfrxMemoView Name="Memo21" AllowVectorExport="True" Left="152.4" Top="47" Width="144" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="8" ParentFont="False" Text="Cheque Number"/>
      <TfrxMemoView Name="Memo22" AllowVectorExport="True" Left="296.4" Top="47" Width="153.6" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="8" ParentFont="False" Text="OR No."/>
      <TfrxMemoView Name="Memo23" AllowVectorExport="True" Left="443.2" Top="47" Width="115.2" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="8" HAlign="haRight" ParentFont="False" Text="Amount"/>
      <TfrxMemoView Name="Memo24" AllowVectorExport="True" Left="558.4" Top="47" Width="115.2" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="8" HAlign="haRight" ParentFont="False" Text="Balance"/>
    </TfrxHeader>
    <TfrxMasterData Name="MasterData4" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="18.89765" Left="0" Top="264.5671" Width="754.56048732" OnBeforePrint="MasterData4OnBeforePrint" ColumnWidth="0" ColumnGap="0" DataSetName="pl_DP" RowCount="0" Stretched="True">
      <TfrxMemoView Name="Memo31" AllowVectorExport="True" Left="52.91342" Top="0" Width="94.48825" Height="18.89765" StretchMode="smMaxHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Segoe UI" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[pl_DP.&#34;DOCDATE&#34;]"/>
      <TfrxMemoView Name="Memo32" AllowVectorExport="True" Left="147.40167" Top="0" Width="154.96073" Height="18.89765" StretchMode="smMaxHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Segoe UI" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[pl_DP.&#34;DOCNO&#34;]"/>
      <TfrxMemoView Name="Memo33" AllowVectorExport="True" Left="302.3624" Top="0" Width="253.22851" Height="18.89765" StretchMode="smMaxHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Segoe UI" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[pl_DP.&#34;DESCRIPTION&#34;]"/>
      <TfrxMemoView Name="Memo34" AllowVectorExport="True" Left="555.59091" Top="0" Width="117.16543" Height="18.89765" StretchMode="smMaxHeight" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Segoe UI" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[pl_DP.&#34;UnappliedAmt&#34;]"/>
    </TfrxMasterData>
    <TfrxHeader Name="Header2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="55.11812" Left="0" Top="185.19697" Width="754.56048732" OnBeforePrint="Header2OnBeforePrint">
      <TfrxMemoView Name="Memo26" AllowVectorExport="True" Left="52.91342" Top="15.55906" Width="297.6" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Security Deposit Received"/>
      <TfrxMemoView Name="Memo27" AllowVectorExport="True" Left="52.91342" Top="36.35906" Width="96" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="8" ParentFont="False" Text="Date"/>
      <TfrxMemoView Name="Memo28" AllowVectorExport="True" Left="301.07415" Top="36.35906" Width="257.3859" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="8" ParentFont="False" Text="Description"/>
      <TfrxMemoView Name="Memo29" AllowVectorExport="True" Left="148.62047" Top="36.35906" Width="153.6" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="8" ParentFont="False" Text="OR No."/>
      <TfrxMemoView Name="Memo30" AllowVectorExport="True" Left="557.85838" Top="36.35906" Width="115.2" Height="19.2" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="8" HAlign="haRight" ParentFont="False" Text="Amount"/>
    </TfrxHeader>
    <TfrxFooter Name="Footer1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="0" Left="0" Top="162.51979" Width="754.56048732"/>
    <TfrxFooter Name="Footer2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22.67718" Left="0" Top="306.14193" Width="754.56048732">
      <TfrxMemoView Name="Memo35" AllowVectorExport="True" Left="302.3624" Top="0" Width="253.22851" Height="18.89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Segoe UI" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Total Deposit"/>
      <TfrxMemoView Name="Memo36" AllowVectorExport="True" Left="555.59091" Top="0" Width="117.16543" Height="18.89765" DisplayFormat.FormatStr="%2.2n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Segoe UI" Font.Style="1" Frame.Typ="4" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;pl_DP.&#34;UnappliedAmt&#34;&#62;,MasterData4)]"/>
    </TfrxFooter>
  </TfrxReportPage>
  <TfrxReportPage Name="Page3" HGuides.Text="" VGuides.Text="" 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="8" LargeDesignHeight="True" MirrorMode="0">
    <TfrxMasterData Name="MasterData2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="19.2" Left="0" Top="18.89765" Width="754.56048732" ColumnWidth="0" ColumnGap="0" DataSet="DocumentKnockOff" DataSetName="DocumentKnockOff" RowCount="0" Stretched="True">
      <TfrxMemoView Name="DocumentKnockOffDocNo" AllowVectorExport="True" Left="28.8" Top="0" Width="76.8" Height="9.6" StretchMode="smActualHeight" DataField="DocNo" DataSet="DocumentKnockOff" DataSetName="DocumentKnockOff" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" GapY="0.5" ParentFont="False" Text="[DocumentKnockOff.&#34;DocNo&#34;]"/>
      <TfrxMemoView Name="DocumentKnockOffTransDate" AllowVectorExport="True" Left="124.8" Top="0" Width="76.8" Height="9.6" StretchMode="smActualHeight" DataField="TransDate" DataSet="DocumentKnockOff" DataSetName="DocumentKnockOff" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" GapY="0.5" ParentFont="False" Text="[DocumentKnockOff.&#34;TransDate&#34;]"/>
      <TfrxMemoView Name="DocumentKnockOffKOAmt" AllowVectorExport="True" Left="230.4" Top="0" Width="76.8" Height="9.6" StretchMode="smActualHeight" DataField="KOAmt" DataSet="DocumentKnockOff" DataSetName="DocumentKnockOff" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" GapY="0.5" HAlign="haRight" ParentFont="False" Text="[DocumentKnockOff.&#34;KOAmt&#34;]"/>
      <TfrxMemoView Name="Memo25" AllowVectorExport="True" Left="9.6" Top="0" Width="9.6" Height="9.6" StretchMode="smActualHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" Frame.Typ="0" GapY="0.5" ParentFont="False" Text="*"/>
    </TfrxMasterData>
  </TfrxReportPage>
</TfrxReport>
