﻿<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/20/2022 15:31:39" ReportInfo.Modified="02/14/2023 16:31:57" ReportInfo.CreatorVersion="2021.4.3.0">
  <ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using System.Data;
using FastReport;
using FastReport.Data;
using FastReport.Dialog;
using FastReport.Barcode;
using FastReport.Table;
using FastReport.Utils;

namespace FastReport
{
  public class ReportScript
  {
  }
}
/*
{

}
*/</ScriptText>
  <Dictionary>
    <MsSqlDataConnection Name="ADODatabase" ConnectionString="rijcmlqJUrEa/KIcQqhhcfnlqC6PHTn0L44W7TQfS6RmUJOGDIuc+knUePlrDTYQkz8WhBiLeyYgzGsg8K0w/wV+uVJpRb9DC+IFtFJ1Ya+wGL6sGP+LlGmWCsZftl80X1OZU2OLg7Xmxnkp41Wl7LrNJHJ83vvlYpsJ+6DtFdt82j1thRJJ4BPMOXXQ/VznxXbVK4wYXEfc/GT9jRWt/AYscmVrEJOp4AS6pfF/zabOfAeUxnPCFZuNTTYf/Anqida2Bnq4wWsjYQk+bW2BLfUXiq65uF50V779GQRASHenAhYUkWSzDbA55v76C9I5KXmHcVFOiKZ+crBw0xzYGCLy1zA+5u2EhK1ncHnju8fsDtQSCKHPF/gcZOsPDlVLbNE0mfQthSkUwe+rOWG2wRpE+KPod4Fcxq3gunpXyR6lKHmlhZCpEl+DhWx7PfMSbDazPY+COK+/qGCXHLZyacBrpvSmak7r6CzLPw4+h0pwFa+tzSii0Zv9DN8UEf7Wbq03UkBiyGMlaM3mpkAwbcbFlMcfoVkaKlOuSDBdv7Zmh9anZplloQRffHv2Tv2GkEp72wdqH/k4XVmDCpyw2JLs0oHt2xIq29iX3qXEUhQeNJBjOCsK4r0Uq7hFWmN6TQWZjgtJY1lS33tu8IY5DcGRGNrsg==">
      <TableDataSource Name="Acc_Trading_Report" DataType="System.Int32" Enabled="true" TableName="Acc_Trading_Report" SelectCommand="exec mnrPrcRepFinalAcc '1-1-2022' , '2-14-2023' , '{3C79F833-198A-480a-BAA8-AD2B866090AF}' , '{00000000-0000-0000-0000-000000000000}' , '{00000000-0000-0000-0000-000000000000}' , '{00000000-0000-0000-0000-000000000000}' , '{5B1F9CA5-11FC-42cf-B5FF-70D8449C3EF4}' , 1.000000 , 1 , 12 , 1 , 0 , 1 , 0 , 0 , 3 , 0 , 1 , 0">
        <Column Name="AccID" DataType="System.Guid"/>
        <Column Name="AccCode" DataType="System.String"/>
        <Column Name="AccName" DataType="System.String"/>
        <Column Name="AccLatinName" DataType="System.String"/>
        <Column Name="AccFinalID" DataType="System.Guid"/>
        <Column Name="AccParentID" DataType="System.Guid"/>
        <Column Name="AccCurrencyID" DataType="System.Guid"/>
        <Column Name="AccCurVal" DataType="System.Double"/>
        <Column Name="Debit" DataType="System.Double"/>
        <Column Name="Credit" DataType="System.Double"/>
        <Column Name="curDebit" DataType="System.Double"/>
        <Column Name="curCredit" DataType="System.Double"/>
        <Column Name="Level" DataType="System.Int32"/>
        <Column Name="Path" DataType="System.String"/>
        <Column Name="RecType" DataType="System.Int32"/>
        <Column Name="FinalAccLevel" DataType="System.Int32"/>
        <Column Name="FLAG" DataType="System.Int32"/>
        <Column Name="InvFlag" DataType="System.Int32"/>
      </TableDataSource>
    </MsSqlDataConnection>
    <Parameter Name="CurUserID" DataType="System.String" Expression="&quot;{452D9B5F-1CC9-4407-B937-7ACB53469411}&quot;"/>
    <Parameter Name="FromDate" DataType="System.String" Expression="&quot;01/01/2022&quot;"/>
    <Parameter Name="ToDate" DataType="System.String" Expression="&quot;14/02/2023&quot;"/>
    <Parameter Name="Account" DataType="System.String" Expression="&quot;02-المتاجرة&quot;"/>
    <Parameter Name="Store" DataType="System.String" Expression="&quot;&quot;"/>
    <Parameter Name="CostJob" DataType="System.String" Expression="&quot;&quot;"/>
    <Parameter Name="SellMan" DataType="System.String" Expression="&quot;&quot;"/>
    <Parameter Name="CurrName" DataType="System.String" Expression="&quot;دولار أمريكي&quot;"/>
    <Total Name="Total" Expression="IIf([Acc_Trading_Report.RecType]==1,IIf([Acc_Trading_Report.FLAG]==1,[Acc_Trading_Report.Debit]-[Acc_Trading_Report.Credit],[Acc_Trading_Report.Debit]-[Acc_Trading_Report.Credit]),0)" Evaluator="MasterData1"/>
  </Dictionary>
  <ReportPage Name="Page1" Watermark.Font="Arial, 60pt">
    <ReportTitleBand Name="ReportTitle1" Width="718.2" Height="200.54">
      <TextObject Name="Memo5" Left="291.02" Top="137.61" Width="151.18" Height="34.02" Text="قائمة المتاجرة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Arial, 14pt, style=Bold"/>
      <TextObject Name="Memo9" Left="93.27" Top="170.28" Width="94.49" Height="18.9" Fill.Color="White" Text=": العملة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Arial, 11pt"/>
      <TextObject Name="Memo10" Left="22.68" Top="170.28" Width="94.49" Height="18.9" Fill.Color="White" Text="[CurrName]" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt"/>
      <PictureObject Name="Company_Logo" Width="718.11" Height="98.27" Fill.Color="White" ImageLocation="E:\ترويسة التقارير البرج.png" SizeMode="CenterImage"/>
      <TextObject Name="Memo14" Left="592.64" Top="172.64" Width="71.81" Height="18.9" Text="[FromDate]" Padding="2, 1, 2, 1" Font="Arial, 10pt"/>
      <TextObject Name="Memo15" Left="642.52" Top="172.64" Width="71.81" Height="18.9" Text=": من تاريخ" Padding="2, 1, 2, 1" HorzAlign="Right" Font="Arial, 10pt"/>
      <TextObject Name="Memo16" Left="527.24" Top="172.64" Width="62.36" Height="18.9" Text=": الى تاريخ" Padding="2, 1, 2, 1" HorzAlign="Right" Font="Arial, 10pt"/>
      <TextObject Name="Memo17" Left="457.32" Top="172.64" Width="79.37" Height="18.9" Text="[ToDate]" Padding="2, 1, 2, 1" Font="Arial, 10pt"/>
    </ReportTitleBand>
    <GroupHeaderBand Name="GroupHeader1" Top="204.54" Width="718.2" Condition="[Acc_Trading_Report.FLAG]">
      <DataBand Name="MasterData1" Top="242.78" Width="718.2" Height="22.68" DataSource="Acc_Trading_Report">
        <TextObject Name="Memo2" Left="23" Width="226.77" Height="22.68" Border.Lines="All" Text="[IIf([Acc_Trading_Report.RecType]==2,&quot;&quot;,[Acc_Trading_Report.AccName])]" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Arial, 12pt, style=Bold"/>
        <TextObject Name="Memo3" Left="249.77" Width="215.18" Height="22.68" Border.Lines="All" Text="[IIf([Acc_Trading_Report.RecType]&lt;1,IIf([Acc_Trading_Report.FLAG]&lt;1,[Acc_Trading_Report.Credit]-[Acc_Trading_Report.Debit],[Acc_Trading_Report.Debit]-[Acc_Trading_Report.Credit]),null)]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt"/>
        <TextObject Name="Memo4" Left="464.95" Width="234.33" Height="22.68" Border.Lines="All" Text="[IIf([Acc_Trading_Report.RecType]==1,IIf([Acc_Trading_Report.FLAG]==1,[Acc_Trading_Report.Debit]-[Acc_Trading_Report.Credit],[Acc_Trading_Report.Debit]-[Acc_Trading_Report.Credit]),&quot;&quot;)]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt, style=Bold"/>
        <DataHeaderBand Name="Header1" Top="208.54" Width="718.2" Height="30.24">
          <TextObject Name="Memo6" Left="23" Width="226.77" Height="30.24" Border.Lines="All" Fill.Color="186, 211, 254" Text="اسم الحساب" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Arial, 12pt, style=Bold"/>
          <TextObject Name="Memo7" Left="249.77" Width="215.18" Height="30.24" Border.Lines="All" Fill.Color="186, 211, 254" Text="التفصيلي" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Arial, 12pt, style=Bold"/>
          <TextObject Name="Memo8" Left="464.95" Width="234.33" Height="30.24" Border.Lines="All" Fill.Color="186, 211, 254" Text="الاجمالي" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Arial, 12pt, style=Bold"/>
        </DataHeaderBand>
      </DataBand>
    </GroupHeaderBand>
    <ReportSummaryBand Name="ReportSummary1" Top="269.46" Width="718.2" Height="26.46">
      <TextObject Name="Memo11" Left="23" Width="442.21" Height="26.46" Border.Lines="All" Fill.Color="186, 211, 254" Text="صافي نتيجة التشغيل " Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Arial, 11pt, style=Bold"/>
      <TextObject Name="Memo12" Left="464.95" Width="234.33" Height="26.46" Border.Lines="All" Fill.Color="186, 211, 254" Text="[Total]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Arial, 11pt, style=Bold"/>
    </ReportSummaryBand>
    <PageFooterBand Name="PageFooter1" Top="299.92" Width="718.2" Height="43.44">
      <TextObject Name="Memo1" Left="627.4" Top="13.2" Width="75.59" Height="18.9" Text="[Page#]" Padding="2, 1, 2, 1" HorzAlign="Right" Font="Arial, 10pt"/>
      <TextObject Name="Memo13" Left="15.12" Top="11.34" Width="115.27" Height="18.9" Text="[Date]" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt"/>
      <TextObject Name="Memo26" Left="468.66" Top="12.12" Width="154.96" Height="18.9" Text="www.almanarasoft.com" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold" TextFill.Color="Blue"/>
    </PageFooterBand>
    <OverlayBand Name="Overlay1" Top="347.36" Width="718.2" Height="415.75">
      <TextObject Name="Memo18" Left="94.49" Top="385.51" Width="548.03" Height="30.24" Visible="false" Border.Lines="All" Text="لعرض التقرير بنتائج صحيحة يجب عدم التشييك على خيار تفصيل الحسابات الختامية" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Arial, 12pt, style=Bold" TextFill.Color="Red"/>
    </OverlayBand>
  </ReportPage>
</Report>
