﻿<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" StartReportEvent="_StartReport" ReportInfo.Created="09/04/2023 16:37:38" ReportInfo.Modified="10/04/2023 15:46:44" 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;UseUnit&quot;))==&quot;6&quot;)
      {
      Page1.Visible=false;
      Page2.Visible=true;                                             
    }
      else
      {
      Page2.Visible=false;
      Page1.Visible=true;                                             
      }     
    }
  }
}
/*
void Page1OnBeforePrint(TfrxComponent Sender)
{
   if (&lt;UseUnit&gt;==6)
  {
   page1.visible=false;
   page2.visible=true;                                             
  }
  else
   {
   page2.visible=false;
   page1.visible=true;                                             
  }      
  
}

{

}
*/</ScriptText>
  <Dictionary>
    <MsSqlDataConnection Name="ADODatabase" ConnectionString="rijcmlqJUrEa/KIcQqhhcfnlqC6PHTn0L44W7TQfS6RmUJOGDIuc+knUePlrDTYQkz8WhBiiUoPpdsNopIaL8u/WQHPkBvaBmvmvQGAx44o/03B6mPOmPzgv4r6gw7xCtHzCGhVwXXKaoJxhtsuba3rMW8g7++38cK1kPgfaMSQp/5jTH4ZTTsDZ+9fa5xe8Zgo7YmNQGq0czrwF6hO/2bwp7fcYu3nTKujIXnzJNqVLrAq/vXZ8/7mTYe2N2o8SnBHLA7MBH0OFXkFQeJ5xEa/g5qGmp3/fEVx7DRIzDaaJLf6GKWJVkS+yBEdKEekv5mmbdq8CJV1ytAjsOVkJCeCCv/Cjn/XcUcCiCNhLmPEriRUP+A5U/FeQdtaJOLfKuYsQQ13xQlZO7a5RRTdw6g9zZcZTKMUSjUDtx+jOAV6C0C6fDxJekKSNRKuGHhVRGIT0I0sXLoZj5YSbyLfmW+WaQGfbH00ENulPxNjhHRXyWGr6tnw5yf0sTvAdTFVzzYG7KkaswQj74XnQuIka/aZ3qjfbwCX7gA7muXV8LbBtZaqlUfxwO+efG5mW8am/guXj604Nce3mWs91JfJUaT7dM0gNLzEPk6WW1gUUXS2Z4VMHj5HELPtjre/nCAvNjnjlo8lTqI08q1du5NK9W2z3/r1OA==">
      <TableDataSource Name="Table" Alias="Acc_MatInventory_Report" DataType="System.Int32" Enabled="true" SelectCommand="SET FMTONLY OFF&#13;&#10;exec [mnrPrcRepMatInventory] '{00000000-0000-0000-0000-000000000000}' , '{00000000-0000-0000-0000-000000000000}' , 0 , '{00000000-0000-0000-0000-000000000000}' , 0 , '{00000000-0000-0000-0000-000000000000}' , '{00000000-0000-0000-0000-000000000000}' , '' , '' , '{F324E606-56A7-4378-8D77-F4832C5030FC}' , '{D435BD3C-9C45-46be-BA4C-18C9425C364E}' , '1-1-2021' , '9-4-2023' , 0 , 0 , 0 , 0 , 0 , 0 , '' , 12 , 1 , 0 , 1 , 0 , '' , '' , 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '{00000000-0000-0000-0000-000000000000}',0, 0">
        <Column Name="MatID" DataType="System.Guid"/>
        <Column Name="MatCode" DataType="System.String"/>
        <Column Name="MatName" DataType="System.String"/>
        <Column Name="MatLatinName" DataType="System.String"/>
        <Column Name="GrID" DataType="System.Guid"/>
        <Column Name="GrCode" DataType="System.String"/>
        <Column Name="GrName" DataType="System.String"/>
        <Column Name="GrLatinName" DataType="System.String"/>
        <Column Name="Path" DataType="System.String"/>
        <Column Name="StoreID" DataType="System.Guid"/>
        <Column Name="StoreCode" DataType="System.String"/>
        <Column Name="StoreName" DataType="System.String"/>
        <Column Name="StoreLatinName" DataType="System.String"/>
        <Column Name="Qty" DataType="System.Double"/>
        <Column Name="Qty1" DataType="System.Double"/>
        <Column Name="Qty2" DataType="System.Double"/>
        <Column Name="Qty3" DataType="System.Double"/>
        <Column Name="Qty4" DataType="System.Double"/>
        <Column Name="Qty5" DataType="System.Double"/>
        <Column Name="DefUnit" DataType="System.Int32"/>
        <Column Name="Unity1" DataType="System.String"/>
        <Column Name="Unity2" DataType="System.String"/>
        <Column Name="Unity3" DataType="System.String"/>
        <Column Name="Unity4" DataType="System.String"/>
        <Column Name="Unity5" DataType="System.String"/>
        <Column Name="Price" DataType="System.Double"/>
        <Column Name="Level" DataType="System.Int32"/>
        <Column Name="Type" DataType="System.Int32"/>
      </TableDataSource>
    </MsSqlDataConnection>
    <Parameter Name="CurUserID" DataType="System.String" Expression="&quot;{FEACA5D7-5B69-4a1e-B8C9-99F803377B63}&quot;"/>
    <Parameter Name="FromDate" DataType="System.String" Expression="&quot;1/1/2023&quot;"/>
    <Parameter Name="ToDate" DataType="System.String" Expression="&quot;4/10/2023&quot;"/>
    <Parameter Name="CurrName" DataType="System.String" Expression="&quot;دولار أمريكي&quot;"/>
    <Parameter Name="LevelGrp" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="LevelStore" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="bShowGroup" DataType="System.String" Expression="&quot;1&quot;"/>
    <Parameter Name="CostByStore" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="DetailStore" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="FldGroup" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="PriceType" DataType="System.String" Expression="&quot;12&quot;"/>
    <Parameter Name="PolicyType" DataType="System.String" Expression="&quot;1&quot;"/>
    <Parameter Name="UseUnit" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="SellMan" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="Vendor" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="Length" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="Heigh" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="Expiredate" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="Notes" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="ShowBonus" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="bDetailQtyInUnitDetail" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="StoreName" DataType="System.String" Expression="&quot;&quot;"/>
    <Parameter Name="CostJobName" DataType="System.String" Expression="&quot;&quot;"/>
    <Parameter Name="SellManName" DataType="System.String" Expression="&quot;&quot;"/>
    <Parameter Name="GrpName" DataType="System.String" Expression="&quot;0&quot;"/>
    <Parameter Name="CollectByMat" DataType="System.String" Expression="&quot;0&quot;"/>
    <Total Name="Total" Expression="IIf([Acc_MatInventory_Report.Qty] &gt;=0,[Acc_MatInventory_Report.Qty]*[Acc_MatInventory_Report.Price],0)" Evaluator="MasterData1" PrintOn="ReportSummary1"/>
    <Total Name="Total1" Expression="IIf([Acc_MatInventory_Report.Qty] &gt;=0,[Acc_MatInventory_Report.Qty],0)" Evaluator="MasterData1" PrintOn="ReportSummary1"/>
    <Total Name="Total2" Expression="IIf([Acc_MatInventory_Report.Qty] &lt;0,[Acc_MatInventory_Report.Qty]*[Acc_MatInventory_Report.Price],0)" Evaluator="MasterData1" PrintOn="ReportSummary1"/>
    <Total Name="Total3" Expression="IIf([Acc_MatInventory_Report.Qty] &lt;0,[Acc_MatInventory_Report.Qty],0)" Evaluator="MasterData1" PrintOn="ReportSummary1"/>
    <Total Name="Total4" Expression="IIf([Acc_MatInventory_Report.Qty]&gt;=0,[Acc_MatInventory_Report.Qty]*[Acc_MatInventory_Report.Price],0)" Evaluator="MasterData1" PrintOn="ReportSummary1"/>
    <Total Name="Total5" Expression="IIf([Acc_MatInventory_Report.Qty] &lt;0,[Acc_MatInventory_Report.Qty]*[Acc_MatInventory_Report.Price],0)" Evaluator="MasterData1" PrintOn="ReportSummary1"/>
    <Total Name="Total6" Expression="IIf([Acc_MatInventory_Report.Qty] &gt;=0,[Acc_MatInventory_Report.Qty],0)" Evaluator="MasterData1" PrintOn="ReportSummary1"/>
    <Total Name="Total7" Expression="IIf([Acc_MatInventory_Report.Qty] &lt;0,[Acc_MatInventory_Report.Qty],0)" Evaluator="MasterData1" PrintOn="ReportSummary1"/>
    <Total Name="Total8" Expression="IIf([Acc_MatInventory_Report.Qty] &gt;=0,[Acc_MatInventory_Report.Qty]*[Acc_MatInventory_Report.Price],0)" Evaluator="MasterData2" PrintOn="ReportSummary2"/>
    <Total Name="Total9" Expression="IIf([Acc_MatInventory_Report.Qty] &gt;=0,[Acc_MatInventory_Report.Qty],0)" Evaluator="MasterData2" PrintOn="ReportSummary2"/>
    <Total Name="Total10" Expression="IIf([Acc_MatInventory_Report.Qty] &lt;0,[Acc_MatInventory_Report.Qty]*[Acc_MatInventory_Report.Price],0)" Evaluator="MasterData2" PrintOn="ReportSummary2"/>
    <Total Name="Total11" Expression="IIf([Acc_MatInventory_Report.Qty] &lt;0,[Acc_MatInventory_Report.Qty],0)" Evaluator="MasterData2" PrintOn="ReportSummary2"/>
    <Total Name="Total12" Expression="IIf([Acc_MatInventory_Report.Qty] &gt;=0,[Acc_MatInventory_Report.Qty]*[Acc_MatInventory_Report.Price],0)" Evaluator="MasterData2" PrintOn="ReportSummary2"/>
    <Total Name="Total13" Expression="IIf([Acc_MatInventory_Report.Qty] &lt;0,[Acc_MatInventory_Report.Qty]*[Acc_MatInventory_Report.Price],0)" Evaluator="MasterData2" PrintOn="ReportSummary2"/>
    <Total Name="Total14" Expression="IIf([Acc_MatInventory_Report.Qty] &gt;=0,[Acc_MatInventory_Report.Qty],0)" Evaluator="MasterData2" PrintOn="ReportSummary2"/>
    <Total Name="Total15" Expression="IIf([Acc_MatInventory_Report.Qty] &lt;0,[Acc_MatInventory_Report.Qty],0)" Evaluator="MasterData2" PrintOn="ReportSummary2"/>
  </Dictionary>
  <ReportPage Name="Page1" LeftMargin="2.5" RightMargin="2.5" Watermark.Font="Arial, 60pt">
    <ReportTitleBand Name="ReportTitle1" Width="774.9" Height="161.55">
      <TextObject Name="Memo8" Left="332.52" Top="90.78" Width="109.76" Height="27.9" Text="جرد المواد" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 14pt, style=Bold"/>
      <PictureObject Name="Company_Logo" Left="13.23" Top="3.78" Width="748.35" Height="79.37" Fill.Color="White" ImageLocation="D:\almanarasoft\almanaratools\logo.png" SizeMode="CenterImage"/>
      <TextObject Name="Memo23" Left="687.87" Top="132.17" Width="66.14" Height="18.9" Text=":إعتباراً من" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo24" Left="595.82" Top="132.17" Width="90.71" Height="18.9" Text="[FromDate]" Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo25" Left="543.24" Top="132.17" Width="52.92" Height="18.9" Text=":ولغاية" Padding="2, 1, 2, 1" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo26" Left="451.97" Top="132.17" Width="90.71" Height="18.9" Text="[ToDate]" Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo27" Left="124.39" Top="132.17" Width="52.92" Height="18.9" Text=":العملة" Padding="2, 1, 2, 1" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo31" Left="18.9" Top="132.17" Width="103.93" Height="18.9" Text=" [CurrName] " Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <LineObject Name="Line3" Left="4" Top="156.1" Width="765.45" Border.Color="187, 210, 244" Border.Width="2" Diagonal="true"/>
    </ReportTitleBand>
    <PageHeaderBand Name="PageHeader1" Top="165.55" Width="774.9" Height="22.68">
      <TextObject Name="Memo3" Left="530.19" Width="177.64" Height="22.68" Border.Lines="All" Fill.Color="187, 210, 244" Text="مادة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo7" Left="8.61" Width="120.94" Height="22.68" Border.Lines="All" Fill.Color="187, 210, 244" Text="الإجمالي" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo5" Left="707.83" Width="56.69" Height="22.68" Border.Lines="All" Fill.Color="187, 210, 244" Text="رمز المادة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo22" Left="341.21" Width="90.71" Height="22.68" Border.Lines="Right, Top, Bottom" Fill.Color="187, 210, 244" Text="الوحدة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo35" Left="431.92" Width="98.27" Height="22.68" Border.Lines="All" Fill.Color="187, 210, 244" Text="المجموعة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo6" Left="129.55" Width="113.39" Height="22.68" Border.Lines="All" Fill.Color="187, 210, 244" Text="الإفرادي" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo4" Left="242.94" Width="98.27" Height="22.68" Border.Lines="All" Fill.Color="187, 210, 244" Text="الكمية" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
    </PageHeaderBand>
    <DataBand Name="MasterData1" Top="192.23" Width="774.9" Height="22.68" CanGrow="true" CanShrink="true" DataSource="Table">
      <TextObject Name="Acc_MatInventory_ReportMatName" Left="530.19" Width="177.64" Height="22.68" Border.Lines="All" GrowToBottom="true" Text="[Acc_MatInventory_Report.MatName]" Padding="2, 1, 2, 1" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt">
        <Highlight>
          <Condition Expression="[Acc_MatInventory_Report.Qty] &lt;0" Fill.Color="White" Font="Arial, 10pt, style=Bold" ApplyFill="true" ApplyFont="true"/>
        </Highlight>
      </TextObject>
      <TextObject Name="Acc_MatInventory_ReportQty" Left="242.94" Width="98.27" Height="22.68" Border.Lines="All" GrowToBottom="true" Text="[Acc_MatInventory_Report.Qty]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt">
        <Highlight>
          <Condition Expression="[Acc_MatInventory_Report.Qty] &lt;0" Fill.Color="White" Font="Arial, 10pt, style=Bold" ApplyFill="true" ApplyFont="true"/>
        </Highlight>
      </TextObject>
      <TextObject Name="Acc_MatInventory_ReportPrice" Left="129.55" Width="113.39" Height="22.68" Border.Lines="All" GrowToBottom="true" Text="[Acc_MatInventory_Report.Price]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt">
        <Highlight>
          <Condition Expression="[Acc_MatInventory_Report.Qty] &lt;0" Fill.Color="White" Font="Arial, 10pt, style=Bold" ApplyFill="true" ApplyFont="true"/>
        </Highlight>
      </TextObject>
      <TextObject Name="Memo2" Left="8.61" Width="120.94" Height="22.68" Border.Lines="All" GrowToBottom="true" Text="[[Acc_MatInventory_Report.Qty1]*[Acc_MatInventory_Report.Price]]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt">
        <Highlight>
          <Condition Expression="[Acc_MatInventory_Report.Qty] &lt;0" Fill.Color="White" Font="Arial, 10pt, style=Bold" ApplyFill="true" ApplyFont="true"/>
        </Highlight>
      </TextObject>
      <TextObject Name="Memo33" Left="341.21" Width="90.71" Height="22.68" Border.Lines="All" GrowToBottom="true" Text="[IIf([UseUnit] == &quot;0&quot;,IIf([Acc_MatInventory_Report.DefUnit]==1,[Acc_MatInventory_Report.Unity1],IIf([Acc_MatInventory_Report.DefUnit]==2,[Acc_MatInventory_Report.Unity2],IIf([Acc_MatInventory_Report.DefUnit]==3,[Acc_MatInventory_Report.Unity3],IIf([Acc_MatInventory_Report.DefUnit]==4,[Acc_MatInventory_Report.Unity4],IIf([Acc_MatInventory_Report.DefUnit]==5,[Acc_MatInventory_Report.Unity5],[Acc_MatInventory_Report.Unity1]))))) , IIf([UseUnit]==&quot;1&quot;,[Acc_MatInventory_Report.Unity1],IIf([UseUnit]==&quot;2&quot;,[Acc_MatInventory_Report.Unity2],IIf([UseUnit]==&quot;3&quot;,[Acc_MatInventory_Report.Unity3],IIf([UseUnit]==&quot;4&quot;,[Acc_MatInventory_Report.Unity4],IIf([UseUnit]==&quot;5&quot;,[Acc_MatInventory_Report.Unity5],[Acc_MatInventory_Report.Unity1])))))  )]" Padding="2, 1, 2, 1" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt">
        <Highlight>
          <Condition Expression="[Acc_MatInventory_Report.Qty] &lt;0" Fill.Color="White" Font="Arial, 10pt, style=Bold" ApplyFill="true" ApplyFont="true"/>
        </Highlight>
      </TextObject>
      <TextObject Name="Memo34" Left="707.83" Width="56.69" Height="22.68" Border.Lines="All" GrowToBottom="true" Text="[Acc_MatInventory_Report.MatCode]" Padding="2, 1, 2, 1" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt">
        <Highlight>
          <Condition Expression="[Acc_MatInventory_Report.Qty] &lt;0" Fill.Color="White" Font="Arial, 10pt, style=Bold" ApplyFill="true" ApplyFont="true"/>
        </Highlight>
      </TextObject>
      <TextObject Name="Memo36" Left="431.92" Width="98.27" Height="22.68" Border.Lines="All" GrowToBottom="true" Text="[Acc_MatInventory_Report.GrName]" Padding="2, 1, 2, 1" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt">
        <Highlight>
          <Condition Expression="[Acc_MatInventory_Report.Qty] &lt;0" Fill.Color="White" Font="Arial, 10pt, style=Bold" ApplyFill="true" ApplyFont="true"/>
        </Highlight>
      </TextObject>
    </DataBand>
    <ReportSummaryBand Name="ReportSummary1" Top="218.91" Width="774.9" Height="89.24">
      <TextObject Name="Memo9" Left="195.06" Top="10.34" Width="200.32" Height="18.9" Border.Lines="Left, Top, Bottom" Fill.Color="187, 210, 244" Text="الكميات" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo10" Left="625.93" Top="10.34" Width="132.28" Height="18.9" Border.Lines="All" Fill.Color="187, 210, 244" Padding="2, 1, 2, 1" HorzAlign="Right" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo11" Left="395.38" Top="10.34" Width="230.55" Height="18.9" Border.Lines="All" Fill.Color="187, 210, 244" Text="السعر" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo12" Left="195.06" Top="29.34" Width="200.32" Height="18.9" Border.Lines="All" Text="[Total1]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo13" Left="625.93" Top="29.34" Width="132.28" Height="18.9" Border.Lines="All" Fill.Color="187, 210, 244" Text="مجموع المواد" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo14" Left="395.38" Top="29.34" Width="230.55" Height="18.9" Border.Lines="Right, Top, Bottom" Text="[Total]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo15" Left="195.06" Top="48.34" Width="200.32" Height="18.9" Border.Lines="All" Text="[Total3]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt">
        <Highlight>
          <Condition Expression="[Acc_MatInventory_Report.Qty] &lt;0" Fill.Color="White" Font="Arial, 10pt, style=Bold" ApplyFill="true" ApplyFont="true"/>
        </Highlight>
      </TextObject>
      <TextObject Name="Memo16" Left="625.93" Top="48.34" Width="132.28" Height="18.9" Border.Lines="All" Fill.Color="187, 210, 244" Text="مجموع المواد السالبة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo17" Left="395.38" Top="48.34" Width="230.55" Height="18.9" Border.Lines="Right, Top, Bottom" Text="[Total2]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt">
        <Highlight>
          <Condition Expression="[Total2] &lt;0" Fill.Color="White" Font="Arial, 10pt, style=Bold" ApplyFill="true" ApplyFont="true"/>
        </Highlight>
      </TextObject>
      <TextObject Name="Memo18" Left="195.06" Top="67.34" Width="200.32" Height="18.9" Border.Lines="All" Text="[[Total6]- IIf([Total7]&lt;0,[Total7]*-1,[Total7])]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo19" Left="625.93" Top="67.34" Width="132.28" Height="18.9" Border.Lines="All" Fill.Color="187, 210, 244" Text="المجموع النهائي" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo20" Left="395.38" Top="67.34" Width="230.55" Height="18.9" Border.Lines="Right, Top, Bottom" Text="[[Total4] - IIf([Total5]&lt;0,[Total5]*-1,[Total5])]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt"/>
    </ReportSummaryBand>
    <PageFooterBand Name="PageFooter1" Top="312.15" Width="774.9" Height="50.34">
      <TextObject Name="Memo1" Left="688.32" Top="9.45" Width="75.59" Height="18.9" Text="[Page#]" Padding="2, 1, 2, 1" HorzAlign="Right" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo21" Left="72.25" Top="9.45" 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"/>
      <TextObject Name="Memo28" Left="13" Top="9.45" Width="56.69" Height="15.12" Text="Printed on:" Padding="2, 1, 2, 1" AutoWidth="true" VertAlign="Center" Font="Times New Roman, 8pt, style=Bold"/>
      <TextObject Name="Memo29" Left="161.74" Top="9.45" Width="49.14" Height="15.12" Text="Time:" Padding="2, 1, 2, 1" AutoWidth="true" VertAlign="Center" Font="Times New Roman, 8pt, style=Bold"/>
      <TextObject Name="Memo32" Left="612.73" Top="31.24" Width="151.18" Height="18.9" Text="www.almanarasoft.com" Padding="2, 1, 2, 1" HorzAlign="Right" Font="Times New Roman, 10pt, style=Bold" TextFill.Color="Blue"/>
      <TextObject Name="Text1" Left="217.35" Top="9.45" 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"/>
      <LineObject Name="Line4" Left="9.45" Top="4.45" Width="756" Border.Color="187, 210, 244" Border.Width="2" Diagonal="true"/>
    </PageFooterBand>
  </ReportPage>
  <ReportPage Name="Page2" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9" Watermark.Font="Arial, 60pt">
    <ReportTitleBand Name="ReportTitle2" Width="1047.06" Height="160.08">
      <TextObject Name="Memo37" Left="468.59" Top="88.78" Width="109.76" Height="27.9" Text="جرد المواد" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 14pt, style=Bold"/>
      <PictureObject Name="Company_Logo1" Left="149.29" Top="3.78" Width="748.35" Height="79.37" Fill.Color="White" ImageLocation="D:\almanarasoft\almanaratools\logo.png" SizeMode="CenterImage"/>
      <TextObject Name="Memo38" Left="934.02" Top="130.17" Width="66.14" Height="18.9" Text=":إعتباراً من" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo39" Left="841.97" Top="130.17" Width="90.71" Height="18.9" Text="[FromDate]" Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo40" Left="789.39" Top="130.17" Width="43.47" Height="18.9" Text=":ولغاية" Padding="2, 1, 2, 1" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo41" Left="688.67" Top="130.17" Width="90.71" Height="18.9" Text="[ToDate]" Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo42" Left="133.84" Top="130.17" Width="62.37" Height="18.9" Text=":العملة" Padding="2, 1, 2, 1" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo43" Left="28.35" Top="130.17" Width="103.93" Height="18.9" Text=" [CurrName] " Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo76" Left="196.54" Top="64.25" Padding="2, 1, 2, 1" Font="Arial, 10pt"/>
      <LineObject Name="Line1" Left="9.45" Top="151.55" Width="1011.15" Border.Color="187, 210, 244" Border.Width="2" Diagonal="true"/>
    </ReportTitleBand>
    <PageHeaderBand Name="PageHeader2" Top="163.65" Width="1047.06" Height="22.68">
      <TextObject Name="Memo57" Left="760.27" Width="181.42" Height="22.68" Border.Lines="All" Fill.Color="187, 210, 244" Text="مادة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo59" Left="144.2" Width="105.83" Height="22.68" Border.Lines="All" Fill.Color="187, 210, 244" Text="الإفرادي" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo60" Left="30.81" Width="113.39" Height="22.68" Border.Lines="All" Fill.Color="187, 210, 244" Text="الإجمالي" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo61" Left="941.69" Width="58.58" Height="22.68" Border.Lines="All" Fill.Color="187, 210, 244" Text="رمز المادة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo62" Left="250.03" Width="81.26" Height="22.68" Border.Lines="All" Fill.Color="187, 210, 244" Text="الوحدة الخامسة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo63" Left="624.2" Width="136.07" Height="22.68" Border.Lines="Right, Top, Bottom" Fill.Color="187, 210, 244" Text="المجموعة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo78" Left="550.5" Width="73.7" Height="22.68" Border.Lines="Right, Top, Bottom" Fill.Color="187, 210, 244" Text="الوحدة الأولى" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo80" Left="476.8" Width="73.7" Height="22.68" Border.Lines="Right, Top, Bottom" Fill.Color="187, 210, 244" Text="الوحدة الثانية" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo82" Left="403.1" Width="73.7" Height="22.68" Border.Lines="Right, Top, Bottom" Fill.Color="187, 210, 244" Text="الوحدة الثالثة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo84" Left="331.29" Width="71.81" Height="22.68" Border.Lines="Right, Top, Bottom" Fill.Color="187, 210, 244" Text="الوحدة الرابعة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
    </PageHeaderBand>
    <GroupHeaderBand Name="GroupHeader2" Top="189.9" Width="1047.06" Condition="[Acc_MatInventory_Report.StoreName]" KeepTogether="true">
      <DataBand Name="MasterData2" Top="193.47" Width="1047.06" Height="22.68" CanGrow="true" CanShrink="true" DataSource="Table">
        <TextObject Name="Memo44" Left="760.27" Width="181.42" Height="22.68" Border.Lines="All" GrowToBottom="true" Text="[Acc_MatInventory_Report.MatName]" Padding="2, 1, 2, 1" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt">
          <Highlight>
            <Condition Expression="[Acc_MatInventory_Report.Qty] &lt;0" Fill.Color="White" Font="Arial, 10pt, style=Bold" ApplyFill="true" ApplyFont="true"/>
          </Highlight>
        </TextObject>
        <TextObject Name="Memo46" Left="144.2" Width="105.83" Height="22.68" Border.Lines="All" GrowToBottom="true" Text="[Acc_MatInventory_Report.Price]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt"/>
        <TextObject Name="Memo47" Left="30.81" Width="113.39" Height="22.68" Border.Lines="All" GrowToBottom="true" Text="[[Acc_MatInventory_Report.Qty1]*[Acc_MatInventory_Report.Price]]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt">
          <Highlight>
            <Condition Expression="[Acc_MatInventory_Report.Qty] &lt;0" Fill.Color="White" Font="Times New Roman, 10pt, style=Bold" ApplyFill="true" ApplyFont="true"/>
          </Highlight>
        </TextObject>
        <TextObject Name="Memo48" Left="250.03" Width="81.26" Height="22.68" Border.Lines="All" GrowToBottom="true" Text="[Acc_MatInventory_Report.Unity5]  [Acc_MatInventory_Report.Qty5]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt">
          <Highlight>
            <Condition Expression="[Acc_MatInventory_Report.Qty] &lt;0" Fill.Color="White" Font="Times New Roman, 10pt" ApplyFill="true" ApplyFont="true"/>
          </Highlight>
        </TextObject>
        <TextObject Name="Memo49" Left="941.69" Width="58.58" Height="22.68" Border.Lines="All" GrowToBottom="true" Text="[Acc_MatInventory_Report.MatCode]" Padding="2, 1, 2, 1" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt">
          <Highlight>
            <Condition Expression="[Acc_MatInventory_Report.Qty] &lt;0" Fill.Color="White" Font="Times New Roman, 10pt, style=Bold" ApplyFill="true" ApplyFont="true"/>
          </Highlight>
        </TextObject>
        <TextObject Name="Memo50" Left="624.2" Width="136.07" Height="22.68" Border.Lines="Right, Top, Bottom" GrowToBottom="true" Text="[Acc_MatInventory_Report.GrName]" Padding="2, 1, 2, 1" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt"/>
        <TextObject Name="Memo77" Left="550.5" Width="73.7" Height="22.68" Border.Lines="Right, Top, Bottom" GrowToBottom="true" Text="[Acc_MatInventory_Report.Unity1] [Acc_MatInventory_Report.Qty1]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt">
          <Highlight>
            <Condition Expression="[Acc_MatInventory_Report.Qty] &lt;0" Fill.Color="White" Font="Times New Roman, 10pt" ApplyFill="true" ApplyFont="true"/>
          </Highlight>
        </TextObject>
        <TextObject Name="Memo79" Left="476.8" Width="73.7" Height="22.68" Border.Lines="Right, Top, Bottom" GrowToBottom="true" Text="[Acc_MatInventory_Report.Unity2][Acc_MatInventory_Report.Qty2]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt">
          <Highlight>
            <Condition Expression="[Acc_MatInventory_Report.Qty] &lt;0" Fill.Color="White" Font="Times New Roman, 10pt" ApplyFill="true" ApplyFont="true"/>
          </Highlight>
        </TextObject>
        <TextObject Name="Memo81" Left="403.1" Width="73.7" Height="22.68" Border.Lines="Right, Top, Bottom" GrowToBottom="true" Text="[Acc_MatInventory_Report.Unity3]  [Acc_MatInventory_Report.Qty3]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt">
          <Highlight>
            <Condition Expression="[Acc_MatInventory_Report.Qty] &lt;0" Fill.Color="White" Font="Times New Roman, 10pt" ApplyFill="true" ApplyFont="true"/>
          </Highlight>
        </TextObject>
        <TextObject Name="Memo83" Left="331.29" Width="71.81" Height="22.68" Border.Lines="Right, Top, Bottom" GrowToBottom="true" Text="[Acc_MatInventory_Report.Unity4]  [Acc_MatInventory_Report.Qty4]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt">
          <Highlight>
            <Condition Expression="[Acc_MatInventory_Report.Qty]&lt;0" Fill.Color="White" Font="Times New Roman, 10pt" ApplyFill="true" ApplyFont="true"/>
          </Highlight>
        </TextObject>
      </DataBand>
    </GroupHeaderBand>
    <ReportSummaryBand Name="ReportSummary2" Top="219.73" Width="1047.06" Height="89.24">
      <TextObject Name="Memo64" Left="434.91" Top="11.34" Width="200.32" Height="18.9" Border.Lines="Left, Top, Bottom" Fill.Color="187, 210, 244" Text="الكميات" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo65" Left="865.78" Top="11.34" Width="132.28" Height="18.9" Border.Lines="All" Fill.Color="187, 210, 244" Padding="2, 1, 2, 1" HorzAlign="Right" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo66" Left="635.23" Top="11.34" Width="230.55" Height="18.9" Border.Lines="All" Fill.Color="187, 210, 244" Text="السعر" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo67" Left="434.91" Top="30.34" Width="200.32" Height="18.9" Border.Lines="All" Text="[Total9]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo68" Left="865.78" Top="30.34" Width="132.28" Height="18.9" Border.Lines="All" Fill.Color="187, 210, 244" Text="مجموع المواد" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo69" Left="635.23" Top="30.34" Width="230.55" Height="18.9" Border.Lines="Right, Top, Bottom" Text="[Total8]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo70" Left="434.91" Top="49.34" Width="200.32" Height="18.9" Border.Lines="All" Text="[Total11]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt">
        <Highlight>
          <Condition Expression="[Acc_MatInventory_Report.Qty] &lt;0" Fill.Color="White" Font="Arial, 10pt, style=Bold" ApplyFill="true" ApplyFont="true"/>
        </Highlight>
      </TextObject>
      <TextObject Name="Memo71" Left="865.78" Top="49.34" Width="132.28" Height="18.9" Border.Lines="All" Fill.Color="187, 210, 244" Text="مجموع المواد السالبة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo72" Left="635.23" Top="49.34" Width="230.55" Height="18.9" Border.Lines="Right, Top, Bottom" Text="[Total10]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt">
        <Highlight>
          <Condition Expression="[Total10] &lt;0" Fill.Color="White" Font="Arial, 10pt, style=Bold" ApplyFill="true" ApplyFont="true"/>
        </Highlight>
      </TextObject>
      <TextObject Name="Memo73" Left="434.91" Top="68.34" Width="200.32" Height="18.9" Border.Lines="All" Text="[[Total14] - IIf([Total15]&lt;0,[Total15]*-1,[Total15])]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo74" Left="865.78" Top="68.34" Width="132.28" Height="18.9" Border.Lines="All" Fill.Color="187, 210, 244" Text="المجموع النهائي" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo75" Left="635.23" Top="68.34" Width="230.55" Height="18.9" Border.Lines="Right, Top, Bottom" Text="[[Total12] - IIf([Total13]&lt;0,[Total13]*-1,[Total13])]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt"/>
    </ReportSummaryBand>
    <PageFooterBand Name="PageFooter2" Top="312.54" Width="1047.06" Height="50.34">
      <TextObject Name="Memo51" Left="943.47" Top="9.45" Width="75.59" Height="18.9" Text="[Page#]" Padding="2, 1, 2, 1" HorzAlign="Right" Font="Times New Roman, 10pt, style=Bold"/>
      <TextObject Name="Memo52" Left="72.25" Top="15.07" 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"/>
      <TextObject Name="Memo53" Left="13" Top="15.07" Width="56.69" Height="15.12" Text="Printed on:" Padding="2, 1, 2, 1" AutoWidth="true" VertAlign="Center" Font="Times New Roman, 8pt, style=Bold"/>
      <TextObject Name="Memo54" Left="161.74" Top="15.07" Width="39.69" Height="15.12" Text="Time:" Padding="2, 1, 2, 1" AutoWidth="true" VertAlign="Center" Font="Times New Roman, 8pt, style=Bold"/>
      <TextObject Name="Memo56" Left="867.88" Top="31.24" Width="151.18" Height="18.9" Text="www.almanarasoft.com" Padding="2, 1, 2, 1" HorzAlign="Right" Font="Times New Roman, 10pt, style=Bold" TextFill.Color="Blue"/>
      <TextObject Name="Text2" Left="207.9" Top="15.07" 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"/>
      <LineObject Name="Line2" Left="9.45" Top="4.45" Width="1011.15" Border.Color="187, 210, 244" Border.Width="2" Diagonal="true"/>
    </PageFooterBand>
  </ReportPage>
</Report>
