This commit is contained in:
Jonathan Jenne 2023-03-09 11:17:29 +01:00
parent d1c9aa7383
commit 77deea925a
3 changed files with 263 additions and 113 deletions

View File

@ -16,6 +16,8 @@ namespace ReportViewer
public int Id { get; set; }
public string OrderNumber { get; set; }
public DateTime OrderDate { get; set; }
public string DeliveryNotes { get; set; }
public string ShipmentIdentifiers { get; set; }
public string Loadings { get; set; }

View File

@ -1,4 +1,5 @@
using DevExpress.Mvvm.Native;
using DevExpress.DataProcessing.InMemoryDataProcessor;
using DevExpress.Mvvm.Native;
using DevExpress.PivotGrid.DataCalculation;
using DevExpress.XtraPrinting.Preview;
using DevExpress.XtraReports.UI;
@ -8,6 +9,7 @@ using DigitalData.Modules.Logging;
using System.Data;
using System.Data.SqlClient;
using System.Text;
using System.Windows.Forms;
namespace ReportViewer
{
@ -130,20 +132,45 @@ namespace ReportViewer
}
}
private SqlCommand GetSQL(DateTime? date)
{
var cmd = new SqlCommand();
var baseSQL = "SELECT " +
"c010, " +
"c012, " +
"c013, " +
"c014, " +
"c017, " +
"c029, " +
"c044, " +
"c154, " +
"STRING_AGG(c045, ', ') AS c045, " +
"STRING_AGG(u047, CHAR(13)) AS u047 " +
"FROM t025 " +
"WHERE c044 IS NOT NULL AND c045 IS NOT NULL AND U047 IS NOT NULL " +
"AND NOT (c023 = 'L' AND c024 = 'L' AND c025 = 'L' AND c026 = 'L')" +
"GROUP BY c010, c012, c013, c014, c017, c029, c044, c154";
if (date != null)
{
cmd.CommandText = baseSQL + " AND c029 = '@DATE'";
cmd.Parameters.Add("DATE", SqlDbType.DateTime).Value = date;
}
else
{
cmd.CommandText = baseSQL;
}
return cmd;
}
private List<ReportData.Order> LoadFromDatabase(DateTime? date, Config.ServiceProvider provider)
{
var orders = new List<ReportData.Order>();
try
{
var sqlCommand = new SqlCommand("SELECT * FROM t025 WHERE c044 IS NOT NULL AND c045 IS NOT NULL AND U047 IS NOT NULL");
if (date != null)
{
sqlCommand = new SqlCommand("SELECT * FROM t025 WHERE c044 IS NOT NULL AND c045 IS NOT NULL WHERE c029 = '@DATE'");
sqlCommand.Parameters.Add("DATE", SqlDbType.DateTime).Value = date;
}
var sqlCommand = GetSQL(date);
var table = _database.GetDatatable(sqlCommand);
var position = 1;
@ -163,6 +190,7 @@ namespace ReportViewer
WeightUnit = "kg",
ShipmentIdentifiers = identifiers,
Loadings = loadings,
DeliveryNotes = row.ItemEx("c045", ""),
InformationForDriver = row.ItemEx("u046", ""),
InformationForDeliveryNotice = row.ItemEx("u048", ""),
InformationForDevlieryAdditional = row.ItemEx("u049", ""),

View File

@ -34,24 +34,23 @@
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary();
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.xrLabel42 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel41 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLine4 = new DevExpress.XtraReports.UI.XRLine();
this.xrLabel31 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.XrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
this.XrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
this.XrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
this.XrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
this.XrLabel19 = new DevExpress.XtraReports.UI.XRLabel();
this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand();
this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLine3 = new DevExpress.XtraReports.UI.XRLine();
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLine1 = new DevExpress.XtraReports.UI.XRLine();
this.XrLabel18 = new DevExpress.XtraReports.UI.XRLabel();
this.XrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.XrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.XrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
this.XrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.XrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
@ -66,6 +65,10 @@
this.xrLine2 = new DevExpress.XtraReports.UI.XRLine();
this.objectDataSource1 = new DevExpress.DataAccess.ObjectBinding.ObjectDataSource(this.components);
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
this.xrLabel38 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel37 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel36 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel35 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel34 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel33 = new DevExpress.XtraReports.UI.XRLabel();
@ -81,27 +84,70 @@
this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel();
this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand();
this.xrLabel40 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel39 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
//
this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel42,
this.xrLabel41,
this.xrLabel5,
this.xrLine4,
this.xrLabel31,
this.xrLabel8,
this.xrLabel16,
this.xrLabel5,
this.XrLabel12,
this.XrLabel11,
this.XrLabel13,
this.XrLabel14,
this.XrLabel19});
this.Detail.HeightF = 125F;
this.Detail.HeightF = 158.4166F;
this.Detail.KeepTogether = true;
this.Detail.Name = "Detail";
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel42
//
this.xrLabel42.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel42.LocationFloat = new DevExpress.Utils.PointFloat(778.1244F, 12.00005F);
this.xrLabel42.Multiline = true;
this.xrLabel42.Name = "xrLabel42";
this.xrLabel42.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel42.SizeF = new System.Drawing.SizeF(73.95831F, 22.99995F);
this.xrLabel42.StylePriority.UseFont = false;
this.xrLabel42.Text = "1.00 EUR";
//
// xrLabel41
//
this.xrLabel41.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel41.LocationFloat = new DevExpress.Utils.PointFloat(852.0826F, 12.00005F);
this.xrLabel41.Multiline = true;
this.xrLabel41.Name = "xrLabel41";
this.xrLabel41.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel41.SizeF = new System.Drawing.SizeF(73.95831F, 22.99995F);
this.xrLabel41.StylePriority.UseFont = false;
this.xrLabel41.Text = "frei Haus";
//
// xrLabel5
//
this.xrLabel5.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[DeliveryNotes]")});
this.xrLabel5.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel5.KeepTogether = true;
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 89.41658F);
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel5.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
this.xrLabel5.SizeF = new System.Drawing.SizeF(1000F, 23F);
this.xrLabel5.StylePriority.UseFont = false;
this.xrLabel5.Text = "XrLabel14";
//
// xrLine4
//
this.xrLine4.BorderColor = System.Drawing.Color.DimGray;
@ -120,7 +166,7 @@
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[InformationForDelivery]")});
this.xrLabel31.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel31.KeepTogether = true;
this.xrLabel31.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 102F);
this.xrLabel31.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 135.4166F);
this.xrLabel31.Name = "xrLabel31";
this.xrLabel31.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel31.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
@ -134,7 +180,7 @@
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[InformationForDriver]")});
this.xrLabel8.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel8.KeepTogether = true;
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(0F, 78.99996F);
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(0F, 112.4166F);
this.xrLabel8.Name = "xrLabel8";
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel8.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
@ -147,7 +193,7 @@
this.xrLabel16.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Loadings]")});
this.xrLabel16.Font = new System.Drawing.Font("Lucida Console", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(188.5417F, 3F);
this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(320.6247F, 12.00004F);
this.xrLabel16.Multiline = true;
this.xrLabel16.Name = "xrLabel16";
this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@ -157,28 +203,12 @@
this.xrLabel16.Text = "XrLabel12";
this.xrLabel16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel5
//
this.xrLabel5.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[OrderDate]")});
this.xrLabel5.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(826.0416F, 3F);
this.xrLabel5.Multiline = true;
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(100F, 23F);
this.xrLabel5.StylePriority.UseFont = false;
this.xrLabel5.StylePriority.UseTextAlignment = false;
this.xrLabel5.Text = "xrLabel5";
this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrLabel5.TextFormatString = "{0:d}";
//
// XrLabel12
//
this.XrLabel12.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Id]")});
this.XrLabel12.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.XrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 3F);
this.XrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 12F);
this.XrLabel12.Multiline = true;
this.XrLabel12.Name = "XrLabel12";
this.XrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@ -188,25 +218,12 @@
this.XrLabel12.Text = "XrLabel12";
this.XrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// XrLabel11
//
this.XrLabel11.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[OrderNumber]")});
this.XrLabel11.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.XrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(39.58333F, 3F);
this.XrLabel11.Multiline = true;
this.XrLabel11.Name = "XrLabel11";
this.XrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.XrLabel11.SizeF = new System.Drawing.SizeF(133.3333F, 23F);
this.XrLabel11.StylePriority.UseFont = false;
this.XrLabel11.Text = "XrLabel11";
//
// XrLabel13
//
this.XrLabel13.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[ShipmentIdentifiers]")});
this.XrLabel13.Font = new System.Drawing.Font("Lucida Console", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.XrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(242.7084F, 3F);
this.XrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(530.2083F, 12F);
this.XrLabel13.Multiline = true;
this.XrLabel13.Name = "XrLabel13";
this.XrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@ -220,7 +237,7 @@
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Address]")});
this.XrLabel14.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.XrLabel14.KeepTogether = true;
this.XrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(438.5417F, 3F);
this.XrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(50.00006F, 12F);
this.XrLabel14.Multiline = true;
this.XrLabel14.Name = "XrLabel14";
this.XrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@ -233,7 +250,7 @@
this.XrLabel19.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Weight]")});
this.XrLabel19.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.XrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(926.0416F, 3F);
this.XrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(926.0416F, 12F);
this.XrLabel19.Multiline = true;
this.XrLabel19.Name = "XrLabel19";
this.XrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@ -254,40 +271,27 @@
// xrLabel15
//
this.xrLabel15.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(188.5417F, 7.291702F);
this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(320.6247F, 57.9585F);
this.xrLabel15.Multiline = true;
this.xrLabel15.Name = "xrLabel15";
this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel15.SizeF = new System.Drawing.SizeF(54.16666F, 19.79166F);
this.xrLabel15.StylePriority.UseFont = false;
this.xrLabel15.Text = "ME";
this.xrLabel15.Text = "Kolli";
//
// xrLine3
//
this.xrLine3.BorderWidth = 1F;
this.xrLine3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrLine3.LocationFloat = new DevExpress.Utils.PointFloat(0.000222524F, 50.66683F);
this.xrLine3.Name = "xrLine3";
this.xrLine3.SizeF = new System.Drawing.SizeF(999.9999F, 7.291656F);
this.xrLine3.StylePriority.UseBorderWidth = false;
//
// xrLabel6
//
this.xrLabel6.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(826.0411F, 7.291702F);
this.xrLabel6.Multiline = true;
this.xrLabel6.Name = "xrLabel6";
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel6.SizeF = new System.Drawing.SizeF(99.99988F, 19.79166F);
this.xrLabel6.StylePriority.UseFont = false;
this.xrLabel6.StylePriority.UseTextAlignment = false;
this.xrLabel6.Text = "Datum";
this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrLine1
//
this.xrLine1.BorderWidth = 1F;
this.xrLine1.LineWidth = 2F;
this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 27.08336F);
this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 77.75015F);
this.xrLine1.Name = "xrLine1";
this.xrLine1.SizeF = new System.Drawing.SizeF(1000F, 2.083333F);
this.xrLine1.StylePriority.UseBorderWidth = false;
@ -295,7 +299,7 @@
// XrLabel18
//
this.XrLabel18.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.XrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(926.0417F, 7.291702F);
this.XrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(926.0417F, 57.9585F);
this.XrLabel18.Multiline = true;
this.XrLabel18.Name = "XrLabel18";
this.XrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@ -308,7 +312,7 @@
// XrLabel1
//
this.XrLabel1.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.XrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 7.291702F);
this.XrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 57.9585F);
this.XrLabel1.Multiline = true;
this.XrLabel1.Name = "XrLabel1";
this.XrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@ -316,21 +320,10 @@
this.XrLabel1.StylePriority.UseFont = false;
this.XrLabel1.Text = "Pos";
//
// XrLabel2
//
this.XrLabel2.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.XrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(39.58333F, 7.291702F);
this.XrLabel2.Multiline = true;
this.XrLabel2.Name = "XrLabel2";
this.XrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.XrLabel2.SizeF = new System.Drawing.SizeF(133.3334F, 19.79166F);
this.XrLabel2.StylePriority.UseFont = false;
this.XrLabel2.Text = "Auftrag Nr";
//
// XrLabel3
//
this.XrLabel3.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.XrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(242.7083F, 7.291702F);
this.XrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(530.2083F, 57.9585F);
this.XrLabel3.Multiline = true;
this.XrLabel3.Name = "XrLabel3";
this.XrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@ -341,7 +334,7 @@
// XrLabel4
//
this.XrLabel4.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.XrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(438.5417F, 7.291702F);
this.XrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(50.00006F, 57.9585F);
this.XrLabel4.Multiline = true;
this.XrLabel4.Name = "XrLabel4";
this.XrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@ -375,7 +368,7 @@
//
// BottomMargin
//
this.BottomMargin.HeightF = 79.62481F;
this.BottomMargin.HeightF = 80F;
this.BottomMargin.Name = "BottomMargin";
this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
@ -384,8 +377,8 @@
//
this.xrLabel21.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[DataSource.RowCount]")});
this.xrLabel21.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(147.4998F, 8.416684F);
this.xrLabel21.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(147.4998F, 9.999911F);
this.xrLabel21.Multiline = true;
this.xrLabel21.Name = "xrLabel21";
this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@ -396,7 +389,7 @@
// xrLabel20
//
this.xrLabel20.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(9.999974F, 8.416748F);
this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(10.00001F, 9.999974F);
this.xrLabel20.Multiline = true;
this.xrLabel20.Name = "xrLabel20";
this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@ -407,38 +400,38 @@
// xrLabel17
//
this.xrLabel17.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(499.7915F, 58.41675F);
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(9.999974F, 169.8753F);
this.xrLabel17.Multiline = true;
this.xrLabel17.Name = "xrLabel17";
this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel17.SizeF = new System.Drawing.SizeF(240F, 19.79F);
this.xrLabel17.SizeF = new System.Drawing.SizeF(326.4583F, 19.79001F);
this.xrLabel17.StylePriority.UseFont = false;
this.xrLabel17.Text = "Tour-Nr. Abholfahrer:";
//
// xrShape2
//
this.xrShape2.FillColor = System.Drawing.Color.Gainsboro;
this.xrShape2.LocationFloat = new DevExpress.Utils.PointFloat(499.7915F, 78.20841F);
this.xrShape2.LocationFloat = new DevExpress.Utils.PointFloat(9.999974F, 189.667F);
this.xrShape2.Name = "xrShape2";
this.xrShape2.Shape = shapeRectangle1;
this.xrShape2.SizeF = new System.Drawing.SizeF(240F, 48.25F);
this.xrShape2.SizeF = new System.Drawing.SizeF(326.4583F, 48.25F);
//
// xrShape1
//
this.xrShape1.FillColor = System.Drawing.Color.Gainsboro;
this.xrShape1.LocationFloat = new DevExpress.Utils.PointFloat(750F, 78.20841F);
this.xrShape1.LocationFloat = new DevExpress.Utils.PointFloat(663.5416F, 189.667F);
this.xrShape1.Name = "xrShape1";
this.xrShape1.Shape = shapeRectangle2;
this.xrShape1.SizeF = new System.Drawing.SizeF(240F, 48.25F);
this.xrShape1.SizeF = new System.Drawing.SizeF(326.4583F, 48.25F);
//
// xrLabel7
//
this.xrLabel7.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(750F, 58.41675F);
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(663.5416F, 169.8753F);
this.xrLabel7.Multiline = true;
this.xrLabel7.Name = "xrLabel7";
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel7.SizeF = new System.Drawing.SizeF(240F, 19.79F);
this.xrLabel7.SizeF = new System.Drawing.SizeF(326.4582F, 19.79001F);
this.xrLabel7.StylePriority.UseFont = false;
this.xrLabel7.Text = "Unterschrift Abholfahrer:";
//
@ -460,6 +453,10 @@
// ReportFooter
//
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel38,
this.xrLabel37,
this.xrLabel36,
this.xrLabel11,
this.xrLabel35,
this.xrLabel34,
this.xrLabel33,
@ -471,18 +468,70 @@
this.xrShape2,
this.xrLabel7,
this.xrShape1});
this.ReportFooter.HeightF = 136.4584F;
this.ReportFooter.HeightF = 247.917F;
this.ReportFooter.KeepTogether = true;
this.ReportFooter.Name = "ReportFooter";
this.ReportFooter.PageBreak = DevExpress.XtraReports.UI.PageBreak.AfterBandExceptLastEntry;
this.ReportFooter.PrintAtBottom = true;
//
// xrLabel38
//
this.xrLabel38.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel38.LocationFloat = new DevExpress.Utils.PointFloat(550F, 42.79194F);
this.xrLabel38.Multiline = true;
this.xrLabel38.Name = "xrLabel38";
this.xrLabel38.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel38.SizeF = new System.Drawing.SizeF(440F, 33.33168F);
this.xrLabel38.StylePriority.UseFont = false;
this.xrLabel38.StylePriority.UseTextAlignment = false;
this.xrLabel38.Text = "Erhalten vom Fahrer: FP: ___________ GP: ___________ ";
this.xrLabel38.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
//
// xrLabel37
//
this.xrLabel37.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel37.LocationFloat = new DevExpress.Utils.PointFloat(9.999974F, 42.79194F);
this.xrLabel37.Multiline = true;
this.xrLabel37.Name = "xrLabel37";
this.xrLabel37.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel37.SizeF = new System.Drawing.SizeF(440F, 33.33168F);
this.xrLabel37.StylePriority.UseFont = false;
this.xrLabel37.StylePriority.UseTextAlignment = false;
this.xrLabel37.Text = "Erhalten vom Versender: FP: ___________ GP: ___________ ";
this.xrLabel37.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrLabel36
//
this.xrLabel36.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel36.LocationFloat = new DevExpress.Utils.PointFloat(9.999927F, 116.747F);
this.xrLabel36.Multiline = true;
this.xrLabel36.Name = "xrLabel36";
this.xrLabel36.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel36.SizeF = new System.Drawing.SizeF(326.4583F, 40.62334F);
this.xrLabel36.StylePriority.UseFont = false;
this.xrLabel36.StylePriority.UseTextAlignment = false;
this.xrLabel36.Text = "Kennz.: ________________________";
this.xrLabel36.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrLabel11
//
this.xrLabel11.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(9.999974F, 76.12362F);
this.xrLabel11.Multiline = true;
this.xrLabel11.Name = "xrLabel11";
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel11.SizeF = new System.Drawing.SizeF(326.4583F, 40.62334F);
this.xrLabel11.StylePriority.UseFont = false;
this.xrLabel11.StylePriority.UseTextAlignment = false;
this.xrLabel11.Text = "Datum: ________________________";
this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrLabel35
//
this.xrLabel35.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "Round(sumSum([WeightAmount]), 2) + \' kg\'")});
this.xrLabel35.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel35.LocationFloat = new DevExpress.Utils.PointFloat(926.0417F, 8.416684F);
this.xrLabel35.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel35.LocationFloat = new DevExpress.Utils.PointFloat(926.0417F, 9.999911F);
this.xrLabel35.Multiline = true;
this.xrLabel35.Name = "xrLabel35";
this.xrLabel35.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@ -495,7 +544,7 @@
// xrLabel34
//
this.xrLabel34.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel34.LocationFloat = new DevExpress.Utils.PointFloat(794.7909F, 8.416684F);
this.xrLabel34.LocationFloat = new DevExpress.Utils.PointFloat(794.7909F, 9.999911F);
this.xrLabel34.Multiline = true;
this.xrLabel34.Name = "xrLabel34";
this.xrLabel34.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@ -507,8 +556,8 @@
//
this.xrLabel33.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "sumSum([ShipmentIdentifiersAmount])")});
this.xrLabel33.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel33.LocationFloat = new DevExpress.Utils.PointFloat(358.3333F, 8.416684F);
this.xrLabel33.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel33.LocationFloat = new DevExpress.Utils.PointFloat(358.3333F, 9.999911F);
this.xrLabel33.Multiline = true;
this.xrLabel33.Name = "xrLabel33";
this.xrLabel33.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@ -521,7 +570,7 @@
// xrLabel32
//
this.xrLabel32.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel32.LocationFloat = new DevExpress.Utils.PointFloat(242.7084F, 8.416684F);
this.xrLabel32.LocationFloat = new DevExpress.Utils.PointFloat(242.7084F, 9.999911F);
this.xrLabel32.Multiline = true;
this.xrLabel32.Name = "xrLabel32";
this.xrLabel32.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@ -543,7 +592,7 @@
this.xrLabel22,
this.XrLabel9,
this.XrLabel10});
this.ReportHeader.HeightF = 171.7083F;
this.ReportHeader.HeightF = 183.1666F;
this.ReportHeader.Name = "ReportHeader";
//
// xrLabel30
@ -617,7 +666,7 @@
this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel25.SizeF = new System.Drawing.SizeF(295.8333F, 68.75001F);
this.xrLabel25.StylePriority.UseFont = false;
this.xrLabel25.Text = "Reinhard Schaum\r\nRheinstraße 8\r\nD-35625 Hüttenberg - Hochelheim";
this.xrLabel25.Text = "Schaumindustrievertretung GmbH\r\nRheinstraße 8\r\nD-35625 Hüttenberg - Hochelheim";
//
// xrLabel24
//
@ -656,18 +705,81 @@
// PageHeader
//
this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel40,
this.xrLabel39,
this.xrLabel6,
this.xrPageInfo1,
this.xrLabel2,
this.xrLine1,
this.xrLabel15,
this.XrLabel4,
this.xrLabel6,
this.XrLabel18,
this.XrLabel1,
this.XrLabel2,
this.XrLabel3,
this.xrLine3});
this.PageHeader.HeightF = 29.08339F;
this.PageHeader.HeightF = 89.83348F;
this.PageHeader.Name = "PageHeader";
//
// xrLabel40
//
this.xrLabel40.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel40.LocationFloat = new DevExpress.Utils.PointFloat(778.1243F, 57.95848F);
this.xrLabel40.Multiline = true;
this.xrLabel40.Name = "xrLabel40";
this.xrLabel40.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel40.SizeF = new System.Drawing.SizeF(73.95837F, 19.79166F);
this.xrLabel40.StylePriority.UseFont = false;
this.xrLabel40.StylePriority.UseTextAlignment = false;
this.xrLabel40.Text = "Warenwert";
this.xrLabel40.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel39
//
this.xrLabel39.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel39.LocationFloat = new DevExpress.Utils.PointFloat(852.0826F, 57.95848F);
this.xrLabel39.Multiline = true;
this.xrLabel39.Name = "xrLabel39";
this.xrLabel39.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel39.SizeF = new System.Drawing.SizeF(73.95837F, 19.79166F);
this.xrLabel39.StylePriority.UseFont = false;
this.xrLabel39.StylePriority.UseTextAlignment = false;
this.xrLabel39.Text = "Frankatur";
this.xrLabel39.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel6
//
this.xrLabel6.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(838.958F, 13.20836F);
this.xrLabel6.Multiline = true;
this.xrLabel6.Name = "xrLabel6";
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel6.SizeF = new System.Drawing.SizeF(151.0419F, 19.79166F);
this.xrLabel6.StylePriority.UseFont = false;
this.xrLabel6.StylePriority.UseTextAlignment = false;
this.xrLabel6.Text = "Lfd Nr.: 101743380";
this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrPageInfo1
//
this.xrPageInfo1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(10.00001F, 10.00001F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(100F, 23F);
this.xrPageInfo1.StylePriority.UseFont = false;
this.xrPageInfo1.TextFormatString = "Seite {0:#} / {1:#}";
//
// xrLabel2
//
this.xrLabel2.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(374.7914F, 57.9585F);
this.xrLabel2.Multiline = true;
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(155.4169F, 19.79166F);
this.xrLabel2.StylePriority.UseFont = false;
this.xrLabel2.Text = "Bezeichnung";
//
// ReportTemplate
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@ -680,7 +792,7 @@
this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] {
this.objectDataSource1});
this.Landscape = true;
this.Margins = new System.Drawing.Printing.Margins(50, 50, 0, 80);
this.Margins = new System.Drawing.Printing.Margins(48, 50, 0, 80);
this.PageHeight = 850;
this.PageWidth = 1100;
this.Version = "22.1";
@ -695,20 +807,16 @@
private DevExpress.XtraReports.UI.TopMarginBand TopMargin;
private DevExpress.XtraReports.UI.BottomMarginBand BottomMargin;
private DevExpress.XtraReports.UI.XRLabel XrLabel12;
private DevExpress.XtraReports.UI.XRLabel XrLabel11;
private DevExpress.XtraReports.UI.XRLabel XrLabel13;
private DevExpress.XtraReports.UI.XRLabel XrLabel19;
private DevExpress.XtraReports.UI.XRLabel XrLabel9;
private DevExpress.XtraReports.UI.XRLabel XrLabel10;
private DevExpress.XtraReports.UI.XRLabel XrLabel1;
private DevExpress.XtraReports.UI.XRLabel XrLabel2;
private DevExpress.XtraReports.UI.XRLabel XrLabel3;
private DevExpress.XtraReports.UI.XRLabel XrLabel4;
private DevExpress.XtraReports.UI.XRLabel XrLabel18;
private DevExpress.DataAccess.ObjectBinding.ObjectDataSource objectDataSource1;
private DevExpress.XtraReports.UI.XRLine xrLine1;
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
private DevExpress.XtraReports.UI.XRLine xrLine2;
private DevExpress.XtraReports.UI.XRLine xrLine3;
@ -739,5 +847,17 @@
private DevExpress.XtraReports.UI.XRLabel xrLabel32;
private DevExpress.XtraReports.UI.XRLabel xrLabel35;
private DevExpress.XtraReports.UI.XRLabel xrLabel34;
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo1;
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
private DevExpress.XtraReports.UI.XRLabel xrLabel38;
private DevExpress.XtraReports.UI.XRLabel xrLabel37;
private DevExpress.XtraReports.UI.XRLabel xrLabel36;
private DevExpress.XtraReports.UI.XRLabel xrLabel11;
private DevExpress.XtraReports.UI.XRLabel xrLabel40;
private DevExpress.XtraReports.UI.XRLabel xrLabel39;
private DevExpress.XtraReports.UI.XRLabel xrLabel42;
private DevExpress.XtraReports.UI.XRLabel xrLabel41;
}
}