﻿<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/01/2022 13:40:24" ReportInfo.Modified="02/15/2023 16:18:01" 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 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="rijcmlqJUrEa/KIcQqhhcfnlqC6PHTn0L44W7TQfS6RmUJOGDIuc+knUePlrDTYQkz8WhBifWXD9oaT2UhcM5o284n9gpg2YD9c+kgfw/FxS2+PRrpeeQ1IPwwH+5HHTQmvSUp1oTKPRJZbkvdEDAfGTnL3hYVjjATEqbJcW9EGnmhLXwtLijiKy+dhN+INkAiaQK6Ifs483bGQPDPfAXhMCP0mIcND5mlwAWGSvgL9sbsYDDnPRWU2u+EITMzNAstyrSXx4ovuZNzHE7ozC+p8ji8cOrPfFufP9StgGwU78baqdX0URdrh099URj7Jp3X9Ua1m4yWIs9azUxhi/19MvExPOwO1flhXR4m9KqLUrpYekb1f8Q/RRxP3r9xHU8pnPSUueViXE/SWcxUZGPTdP68WqTNu7e/AOAdXqZ9vp6n53FTZovBBQphbGDYxRbd5MeNhQZhMDOMuvzXg13e6zV2s7lmPsU90uH+0TQwvUEgfGUi4m0wLaCP+nIC3eA1A9unTgwEisDKRZlnmBmcYE4puxZdkARko0/6MquLzcg1enVVC62AUvBvfMoBkg3JEUc/3GJj5qbz6CLduk9O4Fkg1DKr3kjiA4c5r1EjlgEhqLlSmKVAPiELUxco2hXG9Z5AlcFEi9t8UpOA6SMiVY6DQ5w==">
      <TableDataSource Name="CostJobMaxMove_Report" DataType="System.Int32" Enabled="true" TableName="CostJobMaxMove_Report" SelectCommand="exec mnrPrcMaxCostJobMove '{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}' , '{00000000-0000-0000-0000-000000000000}' , '{EFE7D5ED-7147-459e-BCF8-600633435CE5}' , '{E82B0272-09AA-4996-9E47-778257E65F50}' , '1-9-2022' , '2-15-2023' , '' , '' , 2 ,  10.000000 ,  1 ,  0  ,  0 ,  0  ,  1 ,  0 ,  ''">
        <Column Name="CostJobID" DataType="System.Guid"/>
        <Column Name="CostJobCode" DataType="System.String"/>
        <Column Name="CostJobName" DataType="System.String"/>
        <Column Name="CostJobLatinName" DataType="System.String"/>
        <Column Name="MatID" DataType="System.Guid"/>
        <Column Name="BillCount" DataType="System.Double"/>
        <Column Name="BillQty" DataType="System.Double"/>
        <Column Name="BillTotal" DataType="System.Double"/>
        <Column Name="LastBillDate" DataType="System.DateTime"/>
      </TableDataSource>
    </MsSqlDataConnection>
    <Parameter Name="CurUserID" DataType="System.String" Expression="&quot;{D60A3E3C-1D99-4b53-B8D6-502C6ED0DFD0}&quot;"/>
    <Parameter Name="CurrName" DataType="System.String" Expression="&quot;دينار عراقي&quot;"/>
    <Parameter Name="FromDate" DataType="System.String" Expression="&quot;09/01/2022&quot;"/>
    <Parameter Name="ToDate" DataType="System.String" Expression="&quot;15/02/2023&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;"/>
  </Dictionary>
  <ReportPage Name="Page1" Watermark.Font="Arial, 60pt">
    <ReportTitleBand Name="ReportTitle1" Width="718.2" Height="147.4">
      <PictureObject Name="Company_Logo" Left="5.67" Top="3.78" Width="706.77" Height="83.15" Fill.Color="White" SizeMode="CenterImage" Image=""/>
      <TextObject Name="Memo2" Left="5.67" Top="86.49" Width="706.77" Height="26.46" Text="مراكز الكلف الأكثر حركة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 12pt, style=Bold"/>
      <TextObject Name="Memo3" Left="655.97" Top="116.62" Width="62.36" Height="18.9" Text=":إعتباراً من" Padding="2, 1, 2, 1" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo4" Left="584.17" Top="116.62" 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="538.14" Top="116.62" Width="47.25" Height="18.9" Text=":ولغاية" Padding="2, 1, 2, 1" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo6" Left="468" Top="116.62" 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="123.05" Top="116.62" Width="43.47" Height="18.9" Text=":العملة" Padding="2, 1, 2, 1" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo8" Left="11.34" Top="116.62" Width="117.17" Height="18.9" Text=" [CurrName] " Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
    </ReportTitleBand>
    <PageHeaderBand Name="PageHeader1" Top="151.4" Width="718.2" Height="22.68">
      <TextObject Name="Memo9" Left="469.03" Width="241.89" 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="Memo11" Left="347.76" 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="Memo12" Left="189.38" Width="158.74" 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="Memo13" Left="4.21" Width="185.2" 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"/>
    </PageHeaderBand>
    <DataBand Name="MasterData1" Top="178.08" Width="718.2" Height="22.68" CanGrow="true" CanShrink="true">
      <TextObject Name="Memo14" Left="469.03" Width="241.89" Height="22.68" Border.Lines="All" GrowToBottom="true" Text="[CostJobMaxMove_Report.CostJobName]" Padding="2, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo15" Left="347.76" Width="120.94" Height="22.68" Border.Lines="All" GrowToBottom="true" Text="[CostJobMaxMove_Report.BillCount]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo16" Left="189.38" Width="158.74" Height="22.68" Border.Lines="Left, Top, Bottom" GrowToBottom="true" Text="[CostJobMaxMove_Report.BillQty]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt"/>
      <TextObject Name="Memo17" Left="4.21" Width="185.2" Height="22.68" Border.Lines="All" GrowToBottom="true" Text="[CostJobMaxMove_Report.BillTotal]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt"/>
    </DataBand>
    <PageFooterBand Name="PageFooter1" Top="204.76" Width="718.2" Height="35.8">
      <TextObject Name="Memo1" Left="630.84" 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="18.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="18.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="18.9" Width="30.24" Height="15.12" Text="Time:" Padding="2, 1, 2, 1" AutoWidth="true" VertAlign="Center" Font="Times New Roman, 8pt"/>
      <TextObject Name="Memo10" Left="569.4" Top="24.46" Width="139.84" Height="11.34" Text="www.almanarasoft.com" Padding="2, 1, 2, 1" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold" TextFill.Color="Blue"/>
    </PageFooterBand>
  </ReportPage>
</Report>
