﻿<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" StartReportEvent="_StartReport" ReportInfo.Created="11/01/2022 13:40:24" ReportInfo.Modified="10/11/2024 07:46:18" 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
  {


    private void _StartReport(object sender, EventArgs e)
    {
     /* if(((String)Report.GetParameterValue(&quot;SmName&quot;))==&quot;&quot;)
      {
        MessageBox.Show(&quot;يجب تفعيل خيار اظهار اسم الزبون&quot;);
        Page1.Visible=false;
      }
*/
      if(((String)Report.GetParameterValue(&quot;ShowDiscExtra&quot;))==&quot;&quot;)
      {
        MessageBox.Show(&quot;يجب تفعيل خيار اظهار الحسميات والاضافات&quot;);
        Page1.Visible=false;
      }
      if(((String)Report.GetParameterValue(&quot;CostJobLevel&quot;))==&quot;&quot;)
      {
        MessageBox.Show(&quot;يجب تفعيل خيار اظهار الحسميات والاضافات&quot;);
        Page1.Visible=false;
      }
      if(((String)Report.GetParameterValue(&quot;Posted&quot;))==&quot;&quot;)
      {
        MessageBox.Show(&quot;يجب تفعيل خيار الفواتير مرحلة&quot;);
        Page1.Visible=false;
      }
      if(((String)Report.GetParameterValue(&quot;UnPosted&quot;)) ==&quot;&quot;)
      {
        MessageBox.Show(&quot;يجب الغاء تفعيل خيار الفواتير الغير مرحلة&quot;);
        Page1.Visible=false;
      }
      if(((String)Report.GetParameterValue(&quot;StoreName&quot;)) ==null)
      {
        MessageBox.Show(&quot;يجب تفعيل خيار اظهار اسم المستودع&quot;);
        Page1.Visible=false;
      }
      if(((String)Report.GetParameterValue(&quot;InOutType&quot;)) !=&quot;2&quot;)
      {
        MessageBox.Show(&quot;الغاء تفعيل خيار ادخال و اخراج و المشتريات&quot;);
        Page1.Visible=false;
      }
       
    }
  }
}
/*
void Memo14OnBeforePrint(TfrxComponent Sender)
{
  if ((&lt;BillCount&gt;==0) &amp;&amp; (&lt;BillQty&gt;==0) &amp;&amp; (&lt;BillTotal&gt;==1))
   {               
     memo11.visible =true;  
     memo15.visible=true;
     memo13.visible = false;  
     memo17.visible=false;         
     memo12.visible = false;  
     memo16.visible=false;
     memo11.text =&quot;إجمالي قيمة الفواتير&quot;;  
     memo15.text=&lt;CostJobMaxMove_Report.&quot;BillTotal&quot;&gt;;         
   }
   else if ((&lt;BillCount&gt;==0) &amp;&amp; (&lt;BillQty&gt;==1) &amp;&amp; (&lt;BillTotal&gt;==1))
   {               
     memo11.visible =true;  
     memo15.visible=true;
     memo13.visible = false;  
     memo17.visible=false;         
     memo12.visible =true;  
     memo16.visible=true;
     memo11.text =&quot; كمية الفواتير&quot;;  
     memo15.text=&lt;CostJobMaxMove_Report.&quot;BillQty&quot;&gt;;
     memo12.text =&quot;إجمالي قيمة الفواتير&quot;;  
     memo16.text=&lt;CostJobMaxMove_Report.&quot;BillTotal&quot;&gt;;         
   }        
   else if ((&lt;BillCount&gt;==1) &amp;&amp; (&lt;BillQty&gt;==0) &amp;&amp; (&lt;BillTotal&gt;==1))
   {               
     memo11.visible =true;  
     memo15.visible=true;
     memo13.visible = true;  
     memo17.visible=true;         
     memo12.visible =true;  
     memo16.visible=true;
     memo13.visible = false;  
     memo17.visible=false;
     memo12.text =&quot;إجمالي قيمة الفواتير&quot;;  
     memo16.text=&lt;CostJobMaxMove_Report.&quot;BillTotal&quot;&gt;;         
              
   }
   else if ((&lt;BillCount&gt;==1) &amp;&amp; (&lt;BillQty&gt;==1) &amp;&amp; (&lt;BillTotal&gt;==1))
   {               
     memo11.visible =true;  
     memo15.visible=true;
     memo13.visible = true;  
     memo17.visible=true;         
     memo12.visible =true;  
     memo16.visible=true;
     memo13.visible = true;  
     memo17.visible=true;                              
   }
    else if ((&lt;BillCount&gt;==1) &amp;&amp; (&lt;BillQty&gt;==1) &amp;&amp; (&lt;BillTotal&gt;==0))
   {               
     memo11.visible =true;  
     memo15.visible=true;
     memo13.visible = true;  
     memo17.visible=true;         
     memo12.visible =true;  
     memo16.visible=true;
     memo13.visible = false;  
     memo17.visible=false;                              
   }
   else if ((&lt;BillCount&gt;==1) &amp;&amp; (&lt;BillQty&gt;==0) &amp;&amp; (&lt;BillTotal&gt;==0))
   {               
     memo11.visible =true;  
     memo15.visible=true;
     memo13.visible = false;  
     memo17.visible=false;         
     memo12.visible =false;  
     memo16.visible=false;
     memo13.visible = false;  
     memo17.visible=false;                              
   }
   else if ((&lt;BillCount&gt;==0) &amp;&amp; (&lt;BillQty&gt;==1) &amp;&amp; (&lt;BillTotal&gt;==0))
   {               
     memo11.visible =true;  
     memo15.visible=true;
     memo13.visible = false;  
     memo17.visible=false;         
     memo12.visible =false;  
     memo16.visible=false;
     memo13.visible = false;  
     memo17.visible=false;
     memo11.text =&quot;كمية الفواتير&quot;;  
     memo15.text=&lt;CostJobMaxMove_Report.&quot;BillQty&quot;&gt;;         
   }       
       
}

{

}
*/</ScriptText>
  <Dictionary>
    <MsSqlDataConnection Name="ADODatabase" ConnectionString="rijcmlqKjSU40dlxFMmorDfgW0xWghLfHh9It0YM419tI3EqnDwCQRhxmoCe6bhrhjTzx2Y0F0RTONUmYAGZ6dlXfrK+aaLoV3VCX81Ee/g9bTWGPLv0zbl5s2dOBVHvBKLS+Kdw1xelblGqTVepGfVY2zk+Y23WFm9hnxIT4nk8bJ+3+/0bRvr5TEDiVcIhN2qBJ2H8kT5g8c4LUiFC0IebojO5zuiQ2q0itFGH/zR/n6SlQtPw9EmA4j0TqdPVc9CViU3FoctYq33BMJQr4mApyOEZ+zUiLVrRGdC7IRe0Jv23xeB93phov6pBgoAlZNWXpXsRd9fMEEJOacMxba5FGFjr8jxfWrbJaNhePfuIFafSNbtCAF11VXnFztmtzGgVgjlrc3/FiyfRscPkj4cTi4T3oasx79+c1RzHxwxMJUp0TJNDAN3Ficp31azRHBAcCqjvLVuYrEnxQt5HqAGZBmk/tjwQ63TdEYRP4wlGCpJJU26TReRvv8+4CarkbUL8RH1c4bJxd04gXyCmhGxv/0FUbVK/PD02VwwOnxt+GdcdenQyeyM8udqi6L+58IcEYWczclyTb2JVkTVD9r6zY7NDDr1HuZQJCJ7UwhVIiwKHZ9ZfND153yfv5eo/CjltDnhvL0ntRfk+7Jnsc4Zs7/pphij4HYnZ8t+jczZl+B4rNRswSLFy96CK27twewF1MneYObfO705id1nHyoxQHlIiw==" CommandTimeout="1200">
      <TableDataSource Name="BillMove_Report" DataType="System.Int32" Enabled="true" TableName="BillMove_Report" SelectCommand="exec mnrPrcRepBillMove '{00000000-0000-0000-0000-000000000000}' , '{00000000-0000-0000-0000-000000000000}' , '{00000000-0000-0000-0000-000000000000}' , '{00000000-0000-0000-0000-000000000000}' , '{00000000-0000-0000-0000-000000000000}' , '' , '' , '{F33C0CDD-F432-43da-859A-0BE6095822C7}' , '{8DD84EF1-89BA-4673-8A9F-44DC7375BCDD}' , '12-31-2023' , '10-11-2024' , 1 , 0 , 1 , 1 , 0, '', '', 0.000, 0.000, 0.000, 0.000, -1,0.000,1, 0 , 0 , 0, '{00000000-0000-0000-0000-000000000000}','{00000000-0000-0000-0000-000000000000}',0,0,'12-31-2023 0:0:0','10-11-2024 0:0:0',0,0,'' , 0">
        <Column Name="BT_ID" DataType="System.Guid"/>
        <Column Name="BT_Code" DataType="System.String"/>
        <Column Name="BT_Name" DataType="System.String"/>
        <Column Name="BT_LaName" DataType="System.String"/>
        <Column Name="BT_Type" DataType="System.Int32"/>
        <Column Name="B_ID" DataType="System.Guid"/>
        <Column Name="B_Number" DataType="System.Double"/>
        <Column Name="B_Notes" DataType="System.String"/>
        <Column Name="B_Vendor" DataType="System.String"/>
        <Column Name="Date" DataType="System.DateTime"/>
        <Column Name="AccID" DataType="System.Guid"/>
        <Column Name="accCode" DataType="System.String"/>
        <Column Name="accName" DataType="System.String"/>
        <Column Name="accLaName" DataType="System.String"/>
        <Column Name="CustID" DataType="System.Guid"/>
        <Column Name="CostID" DataType="System.Guid"/>
        <Column Name="coCode" DataType="System.String"/>
        <Column Name="coName" DataType="System.String"/>
        <Column Name="coLaName" DataType="System.String"/>
        <Column Name="SalesManID" DataType="System.Guid"/>
        <Column Name="smCode" DataType="System.String"/>
        <Column Name="smName" DataType="System.String"/>
        <Column Name="smLaName" DataType="System.String"/>
        <Column Name="StoreID" DataType="System.Guid"/>
        <Column Name="stCode" DataType="System.String"/>
        <Column Name="stName" DataType="System.String"/>
        <Column Name="stLaName" DataType="System.String"/>
        <Column Name="BrID" DataType="System.Guid"/>
        <Column Name="BrCode" DataType="System.String"/>
        <Column Name="BrName" DataType="System.String"/>
        <Column Name="BrLaName" DataType="System.String"/>
        <Column Name="UserID" DataType="System.Guid"/>
        <Column Name="UserName" DataType="System.String"/>
        <Column Name="UserLaName" DataType="System.String"/>
        <Column Name="Price" DataType="System.Double"/>
        <Column Name="Disc" DataType="System.Double"/>
        <Column Name="Extra" DataType="System.Double"/>
        <Column Name="VAT" DataType="System.Double"/>
        <Column Name="Qty" DataType="System.Double"/>
        <Column Name="PayType" DataType="System.Int32"/>
        <Column Name="Type" DataType="System.Int32"/>
        <Column Name="OrderFld" DataType="System.Int32"/>
        <Column Name="CheckItem" DataType="System.Int32"/>
        <Column Name="BtermType" DataType="System.Int32"/>
        <Column Name="MaturityDate" DataType="System.DateTime"/>
        <Column Name="BonusQty" DataType="System.Double"/>
        <Column Name="BonusValue" DataType="System.Double"/>
        <Column Name="Str1" DataType="System.String"/>
        <Column Name="Str2" DataType="System.String"/>
        <Column Name="Str3" DataType="System.String"/>
        <Column Name="Str4" DataType="System.String"/>
        <Column Name="Str5" DataType="System.String"/>
        <Column Name="Str6" DataType="System.String"/>
        <Column Name="Date1" DataType="System.DateTime"/>
        <Column Name="Date2" DataType="System.DateTime"/>
        <Column Name="Date3" DataType="System.DateTime"/>
        <Column Name="Vat1" DataType="System.Double"/>
        <Column Name="Vat2" DataType="System.Double"/>
        <Column Name="Vat3" DataType="System.Double"/>
        <Column Name="VatType" DataType="System.Int32"/>
        <Column Name="bCheck" DataType="System.Int32"/>
        <Column Name="DateIn" DataType="System.DateTime"/>
        <Column Name="BillOrigin" DataType="System.String"/>
      </TableDataSource>
      <TableDataSource Name="PaymentMethods" DataType="System.Int32" Enabled="true" TableName="PaymentMethods" SelectCommand="exec mnrFrxPaymentMethod '12-31-2023' , '10-11-2024' , '{8DD84EF1-89BA-4673-8A9F-44DC7375BCDD}' , '{F33C0CDD-F432-43da-859A-0BE6095822C7}' , 0 , '{00000000-0000-0000-0000-000000000000}'">
        <Column Name="MethodName" DataType="System.String"/>
        <Column Name="BillID" DataType="System.Guid"/>
        <Column Name="BNumber" DataType="System.Int32"/>
        <Column Name="BDate" DataType="System.DateTime"/>
        <Column Name="BTotal" DataType="System.Double"/>
        <Column Name="BFixTotal" DataType="System.Double"/>
        <Column Name="BTotalItem" DataType="System.Double"/>
        <Column Name="BFixTotalItem" DataType="System.Double"/>
        <Column Name="BtID" DataType="System.Guid"/>
        <Column Name="BtCode" DataType="System.String"/>
        <Column Name="BtName" DataType="System.String"/>
        <Column Name="BtLaName" DataType="System.String"/>
        <Column Name="BType" DataType="System.Int32"/>
        <Column Name="PayTypeID" DataType="System.Guid"/>
        <Column Name="PayVal" DataType="System.Double"/>
        <Column Name="FixPayVal" DataType="System.Double"/>
        <Column Name="InOut" DataType="System.Int32"/>
        <Column Name="UserID" DataType="System.Guid"/>
        <Column Name="UserNumber" DataType="System.Double"/>
        <Column Name="UserName" DataType="System.String"/>
        <Column Name="PayType" DataType="System.Int32"/>
      </TableDataSource>
      <TableDataSource Name="BillTypePaymentMethods" DataType="System.Int32" Enabled="true" TableName="BillTypePaymentMethods" SelectCommand="exec mnrFrxBillTypePaymentMethod '12-31-2023' , '10-11-2024' , '{8DD84EF1-89BA-4673-8A9F-44DC7375BCDD}' , '{F33C0CDD-F432-43da-859A-0BE6095822C7}' , 0 , '{00000000-0000-0000-0000-000000000000}'">
        <Column Name="BtID" DataType="System.Guid"/>
        <Column Name="BtNumber" DataType="System.Double"/>
        <Column Name="BtName" DataType="System.String"/>
        <Column Name="BtLaName" DataType="System.String"/>
        <Column Name="PayTypeID" DataType="System.Guid"/>
        <Column Name="PayVal" DataType="System.Double"/>
        <Column Name="FixPayVal" DataType="System.Double"/>
        <Column Name="MethodName" DataType="System.String"/>
        <Column Name="InOut" DataType="System.Int32"/>
      </TableDataSource>
    </MsSqlDataConnection>
    <Parameter Name="CurUserID" DataType="System.String" Expression="&quot;{6CCA4800-C4E7-4c35-A2D8-FC4F74F6199B}&quot;"/>
    <Parameter Name="CurrName" DataType="System.String" Expression="&quot;ليرة تركي&quot;"/>
    <Parameter Name="FromDate" DataType="System.String" Expression="&quot;31/12/2023&quot;"/>
    <Parameter Name="ToDate" DataType="System.String" Expression="&quot;11/10/2024&quot;"/>
    <Parameter Name="Duration" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="InOutType" DataType="System.String" Expression="&quot;2&quot;"/>
    <Parameter Name="Posted" DataType="System.String" Expression="&quot;1&quot;"/>
    <Parameter Name="UnPosted" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="BillCount" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="BillQty" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="BillTotal" DataType="System.String" Expression="&quot;1&quot;"/>
    <Parameter Name="CostJobCount" DataType="System.String" Expression="&quot;10.000000&quot;"/>
    <Parameter Name="Currency" DataType="System.String" Expression="&quot;ليرة سورية&quot;"/>
    <Parameter Name="Debit" DataType="System.String" Expression="&quot;1&quot;"/>
    <Parameter Name="Credit" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="Balance" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="ShowAccDetails" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="CostJobLevel" DataType="System.String" Expression="&quot;1&quot;"/>
    <Parameter Name="CurrencyID" DataType="System.String" Expression="&quot;{8DD84EF1-89BA-4673-8A9F-44DC7375BCDD}&quot;"/>
    <Parameter Name="ShowDiscExtra" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="SmName" DataType="System.String" Expression="&quot;&quot;"/>
    <Parameter Name="StoreName" DataType="System.String" Expression="&quot;&quot;"/>
    <Total Name="Total" Expression="IIf([BillMove_Report.BT_Type]==3,IIf([BillMove_Report.PayType]==0,([BillMove_Report.Price])-ToDouble(IIf([BillMove_Report.VatType]==1,[BillMove_Report.VAT],0)),0),0)" Evaluator="MasterData1" PrintOn="GroupFooter2"/>
    <Total Name="Totallater" Expression="IIf([BillMove_Report.PayType] == 1,IIf([BillMove_Report.Type] == -1,[BillMove_Report.Price],0),0)" Evaluator="MasterData1" PrintOn="GroupFooter2"/>
    <Total Name="Totalreturn" Expression="IIf([BillMove_Report.BT_Type]==5,([BillMove_Report.Price])-[BillMove_Report.Disc]+[BillMove_Report.Extra]-ToDouble(IIf([BillMove_Report.VatType]==1,[BillMove_Report.VAT],0)),0)" Evaluator="MasterData1" PrintOn="GroupFooter2"/>
    <Total Name="Totaldiscount" Expression="[BillMove_Report.Disc]" Evaluator="MasterData1" PrintOn="GroupFooter2"/>
    <Total Name="Totalprice" Expression="[BillMove_Report.Price]-[BillMove_Report.Disc]+[BillMove_Report.Extra]-ToDouble(IIf([BillMove_Report.VatType]==1,[BillMove_Report.VAT],0))-ToDouble(IIf([BillMove_Report.BT_Type]==5,([BillMove_Report.Price])-[BillMove_Report.Disc]+[BillMove_Report.Extra]-ToDouble(IIf([BillMove_Report.VatType]==1,[BillMove_Report.VAT],0)),0))" Evaluator="MasterData1" PrintOn="GroupFooter2"/>
    <Total Name="TotalExtra" Expression="[BillMove_Report.Extra]" Evaluator="MasterData1" PrintOn="GroupFooter2"/>
    <Total Name="Total1" Expression="IIf([BillMove_Report.PayType] == 0,IIf([BillMove_Report.Type] == -1,[BillMove_Report.Price],0),0)" Evaluator="MasterData1" PrintOn="ReportSummary1"/>
    <Total Name="Total2" Expression="IIf([BillMove_Report.PayType] == 1,IIf([BillMove_Report.Type] == -1,[BillMove_Report.Price],0),0)" Evaluator="MasterData1" PrintOn="ReportSummary1"/>
    <Total Name="Total3" Expression="IIf([BillMove_Report.BT_Type]==5,([BillMove_Report.Price])-[BillMove_Report.Disc]+[BillMove_Report.Extra]-ToDouble(IIf([BillMove_Report.VatType]==1,[BillMove_Report.VAT],0)),0)" Evaluator="MasterData1" PrintOn="ReportSummary1"/>
    <Total Name="Total4" Expression="[BillMove_Report.Disc]" Evaluator="MasterData1" PrintOn="ReportSummary1"/>
    <Total Name="Total5" Expression="[BillMove_Report.Extra]" Evaluator="MasterData1" PrintOn="ReportSummary1"/>
    <Total Name="Total6" Expression="[BillMove_Report.Price]-[BillMove_Report.Disc]+[BillMove_Report.Extra]-ToDouble(IIf([BillMove_Report.VatType]==1,[BillMove_Report.VAT],0))-ToDouble(IIf([BillMove_Report.BT_Type]==5,([BillMove_Report.Price])-[BillMove_Report.Disc]+[BillMove_Report.Extra]-ToDouble(IIf([BillMove_Report.VatType]==1,[BillMove_Report.VAT],0)),0))" Evaluator="MasterData1" PrintOn="ReportSummary1"/>
    <Total Name="Total1-1" Expression="IIf([BillMove_Report.PayType] == 0,IIf([BillMove_Report.Type] == 1,[BillMove_Report.Price],0),0)" Evaluator="MasterData1" PrintOn="ReportSummary1"/>
    <Total Name="Total-1" Expression="IIf([BillMove_Report.PayType] == 0,IIf([BillMove_Report.Type] == 1,[BillMove_Report.Price],0),0)" Evaluator="MasterData1" PrintOn="GroupFooter2"/>
    <Total Name="Totallater-1" Expression="IIf([BillMove_Report.PayType] == 1,IIf([BillMove_Report.Type] == 1,[BillMove_Report.Price],0),0)" Evaluator="MasterData1" PrintOn="GroupFooter2"/>
    <Total Name="Total2-1" Expression="IIf([BillMove_Report.PayType] == 1,IIf([BillMove_Report.Type] == 1,[BillMove_Report.Price],0),0)" Evaluator="MasterData1" PrintOn="ReportSummary1"/>
  </Dictionary>
  <ReportPage Name="Page1" Watermark.Font="Arial, 60pt">
    <ReportTitleBand Name="ReportTitle1" Width="718.2" Height="165.43">
      <PictureObject Name="Company_Logo" Left="15.12" Top="-15.12" Width="689.85" Height="133.3" Fill.Color="White" CanShrink="true" ImageLocation="C:\Program Files (x86)\Almanara Business Solutions\Bin\Res\Logo.bmp" SizeMode="StretchImage" ImageFormat="Bmp"/>
      <TextObject Name="Memo2" Left="-3.78" Top="110.69" Width="706.77" Height="35.91" Text="حركة البائعين حسب مراكز الكلفة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 12pt, style=Bold"/>
      <TextObject Name="Memo3" Left="650.31" Top="143.17" Width="62.36" Height="18.9" Text=":إعتباراً من" Padding="2, 1, 2, 1" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo4" Left="574.72" Top="143.17" Width="75.59" Height="18.9" Text="[FromDate]" Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo5" Left="528.14" Top="143.17" Width="47.25" Height="18.9" Text=":ولغاية" Padding="2, 1, 2, 1" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo6" Left="452.55" Top="143.17" Width="75.59" Height="18.9" Text="[ToDate]" Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo7" Left="119.06" Top="143.17" Width="43.47" Height="18.9" Text=":العملة" Padding="2, 1, 2, 1" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo8" Left="1.89" Top="143.17" Width="117.17" Height="18.9" Text="[Currency]" Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
    </ReportTitleBand>
    <ColumnHeaderBand Name="ColumnHeader1" Top="169.43" Width="718.2"/>
    <GroupHeaderBand Name="GroupHeader1" Top="173.43" Width="718.2" Height="85.05" Condition="[BillMove_Report.coName]">
      <TableObject Name="Table4" Top="56.7" Width="708.56" Height="28.35" Border.Lines="All" CanBreak="false" RepeatHeaders="false">
        <TableColumn Name="Column26" Width="116.92"/>
        <TableColumn Name="Column27" Width="79.12"/>
        <TableColumn Name="Column28" Width="98.02"/>
        <TableColumn Name="Column29" Width="98.02"/>
        <TableColumn Name="Column30" Width="88.57"/>
        <TableColumn Name="Column31" Width="126.37"/>
        <TableColumn Name="Column32" Width="69.67"/>
        <TableColumn Name="Column33" Width="31.87"/>
        <TableRow Name="Row10" Height="28.35">
          <TableCell Name="Cell60" Border.Lines="Left, Right, Bottom" Text="المبلغ الكلي" Format="Number" Format.UseLocale="true" Format.DecimalDigits="3" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt, style=Bold"/>
          <TableCell Name="Cell61" Border.Lines="Left, Right, Bottom" Text="الاضافات" Format="Number" Format.UseLocale="true" Format.DecimalDigits="3" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt, style=Bold"/>
          <TableCell Name="Cell62" Border.Lines="Left, Right, Bottom" Text="الحسم" Format="Number" Format.UseLocale="true" Format.DecimalDigits="3" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt, style=Bold"/>
          <TableCell Name="Cell63" Border.Lines="Left, Right, Bottom" Text="فواتير المرتجع" Format="Number" Format.UseLocale="true" Format.DecimalDigits="3" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt, style=Bold"/>
          <TableCell Name="Cell64" Border.Lines="Left, Right, Bottom" Text="الفواتير الاجلة" Format="Number" Format.UseLocale="true" Format.DecimalDigits="3" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt, style=Bold"/>
          <TableCell Name="Cell65" Text="فواتير النقدية" Format="Number" Format.UseLocale="true" Format.DecimalDigits="3" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt, style=Bold"/>
          <TableCell Name="Cell66" Border.Lines="Left, Right, Bottom" Text="اسم البائع" HorzAlign="Center" VertAlign="Center" Font="Arial, 10pt, style=Bold"/>
          <TableCell Name="Cell67" Border.Lines="Left, Right, Bottom" Text="#" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt, style=Bold"/>
        </TableRow>
      </TableObject>
      <TextObject Name="Text28" Left="472.5" Top="18.9" Width="170.1" Height="18.9" Text="[BillMove_Report.coName]" HorzAlign="Right" Font="Arial, 10pt"/>
      <TextObject Name="Text29" Left="18.9" Top="18.9" Width="141.75" Height="18.9" Text="[BillMove_Report.stName]" HorzAlign="Right" Font="Arial, 10pt"/>
      <TextObject Name="Text30" Left="614.25" Top="18.9" Width="94.5" Height="18.9" Text="مركز الكلفة:" RightToLeft="true" Font="Arial, 10pt, style=Bold"/>
      <TextObject Name="Text31" Left="132.3" Top="18.9" Width="94.5" Height="18.9" Text="المستودع : " RightToLeft="true" Font="Arial, 10pt, style=Bold"/>
      <GroupHeaderBand Name="GroupHeader2" Top="262.48" Width="718.2" Condition="[BillMove_Report.smName]">
        <DataBand Name="MasterData1" Top="266.48" Width="718.2" CanGrow="true" CanShrink="true" CanBreak="true" DataSource="BillMove_Report"/>
        <GroupFooterBand Name="GroupFooter2" Top="270.48" Width="718.2" Height="28.1" CanGrow="true" CanShrink="true" CanBreak="true">
          <TableObject Name="Table2" Top="-0.25" Width="708.56" Height="28.35" Border.Lines="Left, Right, Bottom" CanBreak="false" RepeatHeaders="false">
            <TableColumn Name="Column10" Width="116.92"/>
            <TableColumn Name="Column11" Width="79.12"/>
            <TableColumn Name="Column12" Width="98.02"/>
            <TableColumn Name="Column13" Width="98.02"/>
            <TableColumn Name="Column14" Width="88.57"/>
            <TableColumn Name="Column15" Width="126.37"/>
            <TableColumn Name="Column16" Width="69.67"/>
            <TableColumn Name="Column17" Width="31.87"/>
            <TableRow Name="Row8" Height="28.35">
              <TableCell Name="Cell44" Border.Lines="Left, Right, Bottom" Text="[[Total]-[Total-1]+[Totallater]-[Totallater-1]-[Totaldiscount]+[TotalExtra]]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="3" HorzAlign="Center" VertAlign="Center" Font="Arial, 9pt"/>
              <TableCell Name="Cell45" Border.Lines="Left, Right, Bottom" Text="[TotalExtra]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="3" HorzAlign="Center" VertAlign="Center" Font="Arial, 9pt"/>
              <TableCell Name="Cell46" Border.Lines="Left, Right, Bottom" Text="[Totaldiscount]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="3" HorzAlign="Center" VertAlign="Center" Font="Arial, 9pt"/>
              <TableCell Name="Cell47" Border.Lines="Left, Right, Bottom" Text="[Totalreturn]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="3" HorzAlign="Center" VertAlign="Center" Font="Arial, 9pt"/>
              <TableCell Name="Cell48" Border.Lines="Left, Right, Bottom" Text="[[Totallater]-[Totallater-1]]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="3" HorzAlign="Center" VertAlign="Center" Font="Arial, 9pt"/>
              <TableCell Name="Cell49" Text="[[Total]-[Total-1]]" Format="Number" Format.UseLocale="true" Format.DecimalDigits="3" HorzAlign="Center" VertAlign="Center" Font="Arial, 9pt"/>
              <TableCell Name="Cell50" Border.Lines="Left, Right, Bottom" Text="[BillMove_Report.smName]" HorzAlign="Center" VertAlign="Center" Font="Arial, 9pt"/>
              <TableCell Name="Cell51" Border.Lines="Left, Right, Bottom" Text="[Row#]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
            </TableRow>
          </TableObject>
        </GroupFooterBand>
      </GroupHeaderBand>
      <GroupFooterBand Name="GroupFooter1" Top="302.58" Width="718.2" CanGrow="true" CanShrink="true" CanBreak="true" KeepWithData="true"/>
    </GroupHeaderBand>
    <ReportSummaryBand Name="ReportSummary1" Top="329.48" Width="718.2" Height="56.38">
      <TextObject Name="Text21" Left="590.4" Top="22.25" Width="111.49" Height="32.13" Border.Lines="All" Text="[[Total1]-[Total1-1]]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="3" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Text22" Left="469.46" Top="22.25" Width="120.94" Height="32.13" Border.Lines="All" Text="[[Total2]-[Total2-1]]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="3" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Text23" Left="357.97" Top="22.25" Width="111.49" Height="32.13" Border.Lines="All" Text="[Total3]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="3" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Text24" Left="246.48" Top="22.25" Width="111.49" Height="32.13" Border.Lines="All" Text="[Total4]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="3" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Text25" Left="23.5" Top="22.25" Width="111.49" Height="32.13" Border.Lines="All" Text="[[Total1]-[Total1-1]+[Total2]-[Total2-1]-[Total4]+[Total5]]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="3" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Text16" Left="590.4" Top="-0.1" Width="111.49" Height="22.68" 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="Text17" Left="469.46" Top="-0.1" Width="120.94" Height="22.68" 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="Text18" Left="357.97" Top="-0.1" Width="111.49" Height="22.68" 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="Text19" Left="246.48" Top="-0.1" Width="111.49" Height="22.68" 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="Text20" Left="23.5" Top="-0.1" Width="111.49" Height="22.68" 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="Text27" Left="134.99" Top="-0.1" Width="111.49" Height="22.68" Border.Lines="Left, Right, Top" Fill.Color="186, 211, 254" Text="الإضافات" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Text26" Left="134.99" Top="22.25" Width="111.49" Height="32.13" Border.Lines="All" Text="[Total5]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="3" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
    </ReportSummaryBand>
    <ColumnFooterBand Name="ColumnFooter1" Top="306.58" Width="718.2" Height="18.9"/>
    <PageFooterBand Name="PageFooter1" Top="389.86" Width="718.2" Height="47.8">
      <TextObject Name="Memo1" Left="630.84" Top="12" Width="56.69" Height="18.9" Text="[Page#]" Padding="2, 1, 2, 1" HorzAlign="Right" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo21" Left="60.69" Top="30.9" 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="1.44" Top="30.9" 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="Memo29" Left="150.18" Top="30.9" Width="39.69" Height="15.12" Text="Time:" Padding="2, 1, 2, 1" AutoWidth="true" VertAlign="Center" Font="Times New Roman, 8pt"/>
      <TextObject Name="Memo10" Left="550.5" Top="36.46" Width="158.74" Height="11.34" Text="www.almanarasoft.com" Padding="2, 1, 2, 1" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold" TextFill.Color="Blue"/>
      <TextObject Name="Text1" Left="189" Top="30.9" Width="83.15" Height="15.12" Text="[Date]" Padding="2, 1, 2, 1" Format="Time" Format.Format="t" VertAlign="Center" Font="Times New Roman, 8pt, style=Bold"/>
    </PageFooterBand>
  </ReportPage>
</Report>
