﻿<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="02/15/2023 16:00:56" ReportInfo.Modified="02/15/2023 16:05:58" 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
  {
  }
}
/*
void ReportOnStartReport(TfrxComponent Sender)
{
  if(StrToInt(&lt;PeriodType&gt;) ==1 )
  {
    Memo14.Visible = False;
    Memo15.Visible = False;
    Memo3.Text = &quot;الفترة&quot;;
    Acc_Per.DataSet = Acc_Move_Report;
    Acc_Per.DataField = &quot;StartDate&quot;;                                                      
  }
  if(StrToInt(&lt;coName&gt;) ==1 )
  {
    if(StrToInt(&lt;smName&gt;) ==1 )
    {

    }
    else
    {
    Memo19.Visible = False;
    Acc_smName.Visible = False;                                                                
    }        

  }
  else
  {
   if(StrToInt(&lt;smName&gt;) ==1 )
    {
      Memo16.Visible = True;
      Acc_coName.Visible = True;
      Memo16.Text =&quot;البائع&quot;;
      Acc_coName.DataSet = Acc_Move_Report;
      Acc_coName.DataField = &quot;smName&quot;;                                          
      Memo19.Visible = False;
      Acc_smName.Visible = False;
        
    }
    else
    {
      Memo16.Visible = False;
      Acc_coName.Visible = False;                                                                    
      Memo19.Visible = False;
      Acc_smName.Visible = False;        
    }  
  }
    
}

{
         
}
*/</ScriptText>
  <Dictionary>
    <MsSqlDataConnection Name="ADODatabase" ConnectionString="rijcmlqJUrEa/KIcQqhhcfnlqC6PHTn0L44W7TQfS6RmUJOGDIuc+knUePlrDTYQkz8WhBifWXD9oaT2UhcM5o284n9gpg2YD9c+kgfw/FxS2+PRrpeeQ1IPwwH+5HHTQmvSUp1oTKPRJZbkvdEDAfGTnL3hYVjjATEqbJcW9EGnmhLXwtLijiKy+dhN+INkAiaQK6Ifs483bGQPDPfAXhMCP0mIcND5mlwAWGSvgL9sbsYDDnPRWU2u+EITMzNAstyrSXx4ovuZNzHE7ozC+p8ji8cOrPfFufP9StgGwU78baqdX0URdrh099URj7Jp3X9Ua1m4yWIs9azUxhi/19MvExPOwO1flhXR4m9KqLUrpYekb1f8Q/RRxP3r9xHU8pnPSUueViXE/SWcxUZGPTdP68WqTNu7e/AOAdXqZ9vp6n53FTZovBBQphbGDYxRbd5MeNhQZhMDOMuvzXg13e6zV2s7lmPsU90uH+0TQwvUEgfGUi4m0wLaCP+nIC3eA1A9unTgwEisDKRZlnmBmcYE4puxZdkARko0/6MquLzcg1enVVC62AUvBvfMoBkg3JEUc/3GJj5qbz6CLduk9O4Fkg1DKr3kjiA4c5r1EjlgEhqLlSmKVAPiELUxco2hXG9Z5Al9sEqI463gpRJWgmAB8U+sg==">
      <TableDataSource Name="Acc_Move_Report" DataType="System.Int32" Enabled="true" TableName="Acc_Move_Report" SelectCommand="exec mnrPrcRepAccMove '{DCAA6588-AFEE-464f-9595-515D30758F40}' , '{00000000-0000-0000-0000-000000000000}' , '{00000000-0000-0000-0000-000000000000}' , '{00000000-0000-0000-0000-000000000000}' , '' , '' , '{EFE7D5ED-7147-459e-BCF8-600633435CE5}' , '1-9-2022' , '2-15-2023' , 1 , 0 , 0 , 0">
        <Column Name="CostJobID" DataType="System.Guid"/>
        <Column Name="coCode" DataType="System.String"/>
        <Column Name="coName" DataType="System.String"/>
        <Column Name="coLaName" DataType="System.String"/>
        <Column Name="SaleManID" DataType="System.Guid"/>
        <Column Name="smCode" DataType="System.String"/>
        <Column Name="smName" DataType="System.String"/>
        <Column Name="smLaName" DataType="System.String"/>
        <Column Name="Period" DataType="System.Int32"/>
        <Column Name="Debit" DataType="System.Double"/>
        <Column Name="Credit" DataType="System.Double"/>
        <Column Name="Period1" DataType="System.Int32"/>
        <Column Name="StartDate" DataType="System.DateTime"/>
        <Column Name="EndDate" DataType="System.DateTime"/>
      </TableDataSource>
    </MsSqlDataConnection>
    <Parameter Name="FromDate" DataType="System.String" Expression="&quot;9/1/2022&quot;"/>
    <Parameter Name="ToDate" DataType="System.String" Expression="&quot;15/2/2023&quot;"/>
    <Parameter Name="PeriodType" DataType="System.String" Expression="&quot;1&quot;"/>
    <Parameter Name="coName" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="smName" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="CurUserID" DataType="System.String" Expression="&quot;{D60A3E3C-1D99-4b53-B8D6-502C6ED0DFD0}&quot;"/>
    <Parameter Name="strAcc" DataType="System.String" Expression="&quot;5-المصاريف&quot;"/>
    <Parameter Name="strCust" DataType="System.String" Expression="&quot;&quot;"/>
    <Parameter Name="strCostJob" DataType="System.String" Expression="&quot;&quot;"/>
    <Parameter Name="strSellMan" DataType="System.String" Expression="&quot;&quot;"/>
    <Parameter Name="CurrName" DataType="System.String" Expression="&quot;دينار عراقي&quot;"/>
    <Parameter Name="Bal" DataType="System.String" Expression="&quot;1&quot;"/>
    <Parameter Name="Debit" DataType="System.String" Expression="&quot;1&quot;"/>
    <Parameter Name="Credit" DataType="System.String" Expression="&quot;1&quot;"/>
    <Total Name="Total" Expression="[Acc_Move_Report.Debit]" Evaluator="MasterData1"/>
    <Total Name="Total1" Expression="[Acc_Move_Report.Credit]" Evaluator="MasterData1"/>
    <Total Name="Total2" Expression="[Acc_Move_Report.Debit]-[Acc_Move_Report.Credit]" Evaluator="MasterData1"/>
  </Dictionary>
  <ReportPage Name="Page1" Watermark.Font="Arial, 60pt">
    <ReportTitleBand Name="ReportTitle1" Width="718.2" Height="158.97">
      <TextObject Name="Memo2" Left="272.13" Top="77.24" Width="173.86" Height="22.68" Text="حركة حساب" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 16pt, style=Bold"/>
      <PictureObject Name="Company_Logo" Left="7.56" Top="3.78" Width="702.99" Height="71.81" Fill.Color="White" SizeMode="CenterImage" Image=""/>
      <TextObject Name="Memo17" Left="641.95" Top="107.27" Width="66.14" Height="18.9" Text="إعتباراً من:" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo18" Left="566.39" Top="107.27" Width="83.15" Height="18.9" Text="[FromDate]" Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo25" Left="521.24" Top="107.27" Width="37.8" Height="18.9" Text="ولغاية:" Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo27" Left="436.87" Top="107.27" Width="83.15" Height="18.9" Text="[ToDate]" Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo20" Left="283.5" Top="121.17" Width="107.65" Height="18.9" GrowToBottom="true" Text=" [strAcc] " Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo22" Left="356.35" Top="130.62" Width="60.47" Height="18.9" Text="الحساب:" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo12" Left="121.61" Top="107.27" Width="37.8" Height="18.9" Text="العملة:" Padding="2, 1, 2, 1" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo13" Top="107.27" Width="120.94" Height="18.9" Text=" [CurrName] " Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
    </ReportTitleBand>
    <GroupHeaderBand Name="GroupHeader1" Top="162.97" Width="718.2" Height="22.59" Condition="[Acc_Move_Report.coCode]" SortOrder="None">
      <TextObject Name="Memo3" Left="549.42" Top="3.69" Width="79.37" Height="18.9" Border.Lines="All" Fill.Color="186, 211, 254" Text="ولغاية" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo5" Left="463.05" Top="3.69" Width="86.93" Height="18.9" Border.Lines="All" Fill.Color="186, 211, 254" Text="مدين" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo6" Left="368.68" Top="3.69" Width="94.49" Height="18.9" Border.Lines="All" Fill.Color="186, 211, 254" Text="دائن" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo15" Left="628.98" Top="3.69" Width="79.37" Height="18.9" Border.Lines="All" Fill.Color="186, 211, 254" Text="إعتبارا من" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo19" Left="2.69" Top="3.69" Width="120.94" Height="18.9" Border.Lines="All" Fill.Color="186, 211, 254" Text="البائع" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo16" Left="123.86" Top="3.69" Width="151.18" Height="18.9" Border.Lines="Left, Top, Bottom" Fill.Color="186, 211, 254" Text="مركز كلفة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo7" Left="274.19" Top="3.69" Width="94.49" Height="18.9" Border.Lines="All" Fill.Color="186, 211, 254" Text="الرصيد" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <DataBand Name="MasterData1" Top="189.56" Width="718.2" Height="18.9" CanGrow="true" CanShrink="true" DataSource="Acc_Move_Report">
        <TextObject Name="Acc_Per" Left="549.42" Width="79.37" Height="18.9" Border.Lines="All" GrowToBottom="true" Text="[Acc_Move_Report.EndDate]" Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
        <TextObject Name="Acc_Move_ReportDebit" Left="463.05" Width="86.93" Height="18.9" Border.Lines="All" GrowToBottom="true" Text="[Acc_Move_Report.Debit]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
        <TextObject Name="Acc_Move_ReportCredit" Left="368.68" Width="94.49" Height="18.9" Border.Lines="All" GrowToBottom="true" Text="[Acc_Move_Report.Credit]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
        <TextObject Name="Memo4" Left="274.19" Width="94.49" Height="18.9" Border.Lines="All" GrowToBottom="true" Text="[[Acc_Move_Report.Debit] - [Acc_Move_Report.Credit]]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
        <TextObject Name="Memo14" Left="628.98" Width="79.37" Height="18.9" Border.Lines="All" GrowToBottom="true" Text="[Acc_Move_Report.StartDate]" Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
        <TextObject Name="Acc_smName" Left="2.69" Width="120.94" Height="18.9" Border.Lines="All" GrowToBottom="true" Text="[Acc_Move_Report.smName]" Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
        <TextObject Name="Acc_coName" Left="123.86" Width="151.18" Height="18.9" Border.Lines="Left, Top, Bottom" GrowToBottom="true" Text="[Acc_Move_Report.coName]" Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
      </DataBand>
      <GroupFooterBand Name="GroupFooter1" Top="212.46" Width="718.2"/>
    </GroupHeaderBand>
    <ReportSummaryBand Name="ReportSummary1" Top="216.46" Width="718.2" Height="26.46" CanGrow="true" CanShrink="true">
      <TextObject Name="Memo8" Left="463.05" Width="86.93" Height="18.9" Border.Lines="All" Fill.Color="186, 211, 254" GrowToBottom="true" Text="[Total]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo9" Left="368.68" Width="94.49" Height="18.9" Border.Lines="All" Fill.Color="186, 211, 254" GrowToBottom="true" Text="[Total1]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo10" Left="274.19" Width="94.49" Height="18.9" Border.Lines="All" Fill.Color="186, 211, 254" GrowToBottom="true" Text="[Total2]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo11" Left="549.61" Width="158.74" Height="18.9" Border.Lines="All" Fill.Color="186, 211, 254" GrowToBottom="true" Text="الإجمالي" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
    </ReportSummaryBand>
    <PageFooterBand Name="PageFooter1" Top="246.92" Width="718.2" Height="48.55">
      <TextObject Name="Memo1" Left="627.4" Top="9.45" Width="75.59" Height="18.9" Text="[Page#]" Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo21" Left="70.05" Top="33.43" Width="83.15" Height="15.12" Text="[Date]" Padding="2, 1, 2, 1" Format="Date" Format.Format="d" VertAlign="Center" Font="Times New Roman, 8pt, style=Bold"/>
      <TextObject Name="Memo28" Left="10.8" Top="33.43" Width="56.69" Height="15.12" Text="Printed on:" Padding="2, 1, 2, 1" AutoWidth="true" VertAlign="Center" Font="Times New Roman, 8pt"/>
      <TextObject Name="Memo24" Left="574.49" Top="28.2" Width="147.37" Height="17.12" Border.Lines="All" Border.Color="White" Text="www.almanarasoft.com" Padding="2, 1, 2, 1" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold" TextFill.Color="Blue"/>
    </PageFooterBand>
  </ReportPage>
</Report>
