diff --git a/GMW/GMW/GMW.csproj b/GMW/GMW/GMW.csproj index 8b136163..7afb670f 100644 --- a/GMW/GMW/GMW.csproj +++ b/GMW/GMW/GMW.csproj @@ -688,11 +688,13 @@ + + - - + + diff --git a/GMW/GMW/Reports/CartellinoFinito.rdlc b/GMW/GMW/Reports/CartellinoFinito.rdlc new file mode 100644 index 00000000..d16c5381 --- /dev/null +++ b/GMW/GMW/Reports/CartellinoFinito.rdlc @@ -0,0 +1,258 @@ + + + + + d9194145-aa70-4a36-8b7a-c929936f98f7 + + + + + + + + + 14.8cm + true + 21cm + 0.25cm + true + 0.5cm + 0.5cm + 0.5cm + 3255cde9-74a1-4005-8008-232d8355d769 + 21cm + + + + + CodCompany + System.String + + + ODP + System.String + + + UDC + System.String + + + Tara + System.Double + + + IdxStato + System.Int32 + + + Qta + System.Decimal + + + CodImballo + System.String + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + + GMWConnectionString + dbo.stp_prtCartByUDC + true + + + GMWDataSet + stp_prtCartByUDC + + + + + GetData + + + + + 20cm + + 1cm + + + textbox1 + 12.69841cm + + 1 + true + 0.91429cm + Cartellino Tara + + + GMWDataSet_stp_prtCartByUDC + 4cm + + + + + =Fields!UDC.Value + + + + + =Fields!UDC.Value + Ascending + + +
+ + + + + 3 + + + UDC + + true + ="*" & Fields!UDC.Value & "*" + + + + + 3.50781cm + + +
+
+
+ 19cm +
+ + + + + + + textbox4 + + true + Tara + + + + + + + Tara + + true + =Fields!Tara.Value & " Kg" + + + + + + + CreateDate + + true + =Fields!CreateDate.Value + + + + + 3.50781cm + + +
+ + + 6.31847cm + + + 6.36305cm + + + 6.31848cm + + + 7.01562cm + 0.5cm +
+
+ 13.5cm + + it-IT + 0.5cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/GMW/Reports/CartellinoFus.rdlc b/GMW/GMW/Reports/CartellinoFus.rdlc new file mode 100644 index 00000000..d16c5381 --- /dev/null +++ b/GMW/GMW/Reports/CartellinoFus.rdlc @@ -0,0 +1,258 @@ + + + + + d9194145-aa70-4a36-8b7a-c929936f98f7 + + + + + + + + + 14.8cm + true + 21cm + 0.25cm + true + 0.5cm + 0.5cm + 0.5cm + 3255cde9-74a1-4005-8008-232d8355d769 + 21cm + + + + + CodCompany + System.String + + + ODP + System.String + + + UDC + System.String + + + Tara + System.Double + + + IdxStato + System.Int32 + + + Qta + System.Decimal + + + CodImballo + System.String + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + + GMWConnectionString + dbo.stp_prtCartByUDC + true + + + GMWDataSet + stp_prtCartByUDC + + + + + GetData + + + + + 20cm + + 1cm + + + textbox1 + 12.69841cm + + 1 + true + 0.91429cm + Cartellino Tara + + + GMWDataSet_stp_prtCartByUDC + 4cm + + + + + =Fields!UDC.Value + + + + + =Fields!UDC.Value + Ascending + + +
+ + + + + 3 + + + UDC + + true + ="*" & Fields!UDC.Value & "*" + + + + + 3.50781cm + + +
+
+
+ 19cm +
+ + + + + + + textbox4 + + true + Tara + + + + + + + Tara + + true + =Fields!Tara.Value & " Kg" + + + + + + + CreateDate + + true + =Fields!CreateDate.Value + + + + + 3.50781cm + + +
+ + + 6.31847cm + + + 6.36305cm + + + 6.31848cm + + + 7.01562cm + 0.5cm +
+
+ 13.5cm + + it-IT + 0.5cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/GMW/Reports/CartellinoPesa.rdlc b/GMW/GMW/Reports/CartellinoPesa.rdlc new file mode 100644 index 00000000..d16c5381 --- /dev/null +++ b/GMW/GMW/Reports/CartellinoPesa.rdlc @@ -0,0 +1,258 @@ + + + + + d9194145-aa70-4a36-8b7a-c929936f98f7 + + + + + + + + + 14.8cm + true + 21cm + 0.25cm + true + 0.5cm + 0.5cm + 0.5cm + 3255cde9-74a1-4005-8008-232d8355d769 + 21cm + + + + + CodCompany + System.String + + + ODP + System.String + + + UDC + System.String + + + Tara + System.Double + + + IdxStato + System.Int32 + + + Qta + System.Decimal + + + CodImballo + System.String + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + + GMWConnectionString + dbo.stp_prtCartByUDC + true + + + GMWDataSet + stp_prtCartByUDC + + + + + GetData + + + + + 20cm + + 1cm + + + textbox1 + 12.69841cm + + 1 + true + 0.91429cm + Cartellino Tara + + + GMWDataSet_stp_prtCartByUDC + 4cm + + + + + =Fields!UDC.Value + + + + + =Fields!UDC.Value + Ascending + + +
+ + + + + 3 + + + UDC + + true + ="*" & Fields!UDC.Value & "*" + + + + + 3.50781cm + + +
+
+
+ 19cm +
+ + + + + + + textbox4 + + true + Tara + + + + + + + Tara + + true + =Fields!Tara.Value & " Kg" + + + + + + + CreateDate + + true + =Fields!CreateDate.Value + + + + + 3.50781cm + + +
+ + + 6.31847cm + + + 6.36305cm + + + 6.31848cm + + + 7.01562cm + 0.5cm +
+
+ 13.5cm + + it-IT + 0.5cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/GMW/Reports/CartellinoWip.rdlc b/GMW/GMW/Reports/CartellinoWip.rdlc new file mode 100644 index 00000000..d16c5381 --- /dev/null +++ b/GMW/GMW/Reports/CartellinoWip.rdlc @@ -0,0 +1,258 @@ + + + + + d9194145-aa70-4a36-8b7a-c929936f98f7 + + + + + + + + + 14.8cm + true + 21cm + 0.25cm + true + 0.5cm + 0.5cm + 0.5cm + 3255cde9-74a1-4005-8008-232d8355d769 + 21cm + + + + + CodCompany + System.String + + + ODP + System.String + + + UDC + System.String + + + Tara + System.Double + + + IdxStato + System.Int32 + + + Qta + System.Decimal + + + CodImballo + System.String + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + + GMWConnectionString + dbo.stp_prtCartByUDC + true + + + GMWDataSet + stp_prtCartByUDC + + + + + GetData + + + + + 20cm + + 1cm + + + textbox1 + 12.69841cm + + 1 + true + 0.91429cm + Cartellino Tara + + + GMWDataSet_stp_prtCartByUDC + 4cm + + + + + =Fields!UDC.Value + + + + + =Fields!UDC.Value + Ascending + + +
+ + + + + 3 + + + UDC + + true + ="*" & Fields!UDC.Value & "*" + + + + + 3.50781cm + + +
+
+
+ 19cm +
+ + + + + + + textbox4 + + true + Tara + + + + + + + Tara + + true + =Fields!Tara.Value & " Kg" + + + + + + + CreateDate + + true + =Fields!CreateDate.Value + + + + + 3.50781cm + + +
+ + + 6.31847cm + + + 6.36305cm + + + 6.31848cm + + + 7.01562cm + 0.5cm +
+
+ 13.5cm + + it-IT + 0.5cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/GMW/Web.config b/GMW/GMW/Web.config index 6ebf2341..c653bc24 100644 --- a/GMW/GMW/Web.config +++ b/GMW/GMW/Web.config @@ -62,7 +62,7 @@ - + @@ -106,19 +106,31 @@ - - - - - + + + + - - - - - + + + + + + + + + + + + + + + + + + diff --git a/GMW/GMW/bin/GMW.dll b/GMW/GMW/bin/GMW.dll index 899998f1..0f6327b4 100644 Binary files a/GMW/GMW/bin/GMW.dll and b/GMW/GMW/bin/GMW.dll differ diff --git a/GMW/GMW/bin/GMW_data.dll b/GMW/GMW/bin/GMW_data.dll index 013445c6..66fcc936 100644 Binary files a/GMW/GMW/bin/GMW_data.dll and b/GMW/GMW/bin/GMW_data.dll differ diff --git a/GMW/GMW/bin/SteamWare.dll b/GMW/GMW/bin/SteamWare.dll index 7291d950..e6ea3f5d 100644 Binary files a/GMW/GMW/bin/SteamWare.dll and b/GMW/GMW/bin/SteamWare.dll differ diff --git a/GMW/GMW/mazzAppSettings.config b/GMW/GMW/mazzAppSettings.config index 81c61282..5888968d 100644 --- a/GMW/GMW/mazzAppSettings.config +++ b/GMW/GMW/mazzAppSettings.config @@ -7,7 +7,7 @@ - + @@ -54,15 +54,28 @@ - + - + - + + + + + + + + + + + + + + diff --git a/GMW/GMW/obj/Debug/GMW.dll b/GMW/GMW/obj/Debug/GMW.dll index 899998f1..0f6327b4 100644 Binary files a/GMW/GMW/obj/Debug/GMW.dll and b/GMW/GMW/obj/Debug/GMW.dll differ diff --git a/GMW/GMW/obj/Debug/RdlCompile.cache b/GMW/GMW/obj/Debug/RdlCompile.cache index 90e41daa..579438b7 100644 Binary files a/GMW/GMW/obj/Debug/RdlCompile.cache and b/GMW/GMW/obj/Debug/RdlCompile.cache differ diff --git a/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache b/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache index ba1a5608..88556d68 100644 Binary files a/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache and b/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache differ diff --git a/GMW/GMW/obj/Release/GMW.dll b/GMW/GMW/obj/Release/GMW.dll index 46e8fc26..622b428f 100644 Binary files a/GMW/GMW/obj/Release/GMW.dll and b/GMW/GMW/obj/Release/GMW.dll differ diff --git a/GMW/GMW/obj/Release/RdlCompile.cache b/GMW/GMW/obj/Release/RdlCompile.cache index 90e41daa..579438b7 100644 Binary files a/GMW/GMW/obj/Release/RdlCompile.cache and b/GMW/GMW/obj/Release/RdlCompile.cache differ diff --git a/GMW/GMW/obj/Release/ResolveAssemblyReference.cache b/GMW/GMW/obj/Release/ResolveAssemblyReference.cache index 6dd7e3fb..04cffeb8 100644 Binary files a/GMW/GMW/obj/Release/ResolveAssemblyReference.cache and b/GMW/GMW/obj/Release/ResolveAssemblyReference.cache differ diff --git a/GMW/GMW_Reports/CartellinoMP.rdlc b/GMW/GMW_Reports/CartellinoMP.rdlc new file mode 100644 index 00000000..d16c5381 --- /dev/null +++ b/GMW/GMW_Reports/CartellinoMP.rdlc @@ -0,0 +1,258 @@ + + + + + d9194145-aa70-4a36-8b7a-c929936f98f7 + + + + + + + + + 14.8cm + true + 21cm + 0.25cm + true + 0.5cm + 0.5cm + 0.5cm + 3255cde9-74a1-4005-8008-232d8355d769 + 21cm + + + + + CodCompany + System.String + + + ODP + System.String + + + UDC + System.String + + + Tara + System.Double + + + IdxStato + System.Int32 + + + Qta + System.Decimal + + + CodImballo + System.String + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + + GMWConnectionString + dbo.stp_prtCartByUDC + true + + + GMWDataSet + stp_prtCartByUDC + + + + + GetData + + + + + 20cm + + 1cm + + + textbox1 + 12.69841cm + + 1 + true + 0.91429cm + Cartellino Tara + + + GMWDataSet_stp_prtCartByUDC + 4cm + + + + + =Fields!UDC.Value + + + + + =Fields!UDC.Value + Ascending + + +
+ + + + + 3 + + + UDC + + true + ="*" & Fields!UDC.Value & "*" + + + + + 3.50781cm + + +
+
+
+ 19cm +
+ + + + + + + textbox4 + + true + Tara + + + + + + + Tara + + true + =Fields!Tara.Value & " Kg" + + + + + + + CreateDate + + true + =Fields!CreateDate.Value + + + + + 3.50781cm + + +
+ + + 6.31847cm + + + 6.36305cm + + + 6.31848cm + + + 7.01562cm + 0.5cm +
+
+ 13.5cm + + it-IT + 0.5cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/GMW_Reports/GMWDataSet.Designer.cs b/GMW/GMW_Reports/GMWDataSet.Designer.cs index 49d155d4..79965724 100644 --- a/GMW/GMW_Reports/GMWDataSet.Designer.cs +++ b/GMW/GMW_Reports/GMWDataSet.Designer.cs @@ -51,6 +51,10 @@ namespace GMW_Reports { private stp_updateByBilanciaDataTable tablestp_updateByBilancia; + private stp_prtCartByUDCDataTable tablestp_prtCartByUDC; + + private stp_prtCartMatPrimaByUDCDataTable tablestp_prtCartMatPrimaByUDC; + private global::System.Data.DataRelation relationFK_AnagBilance_AnagSiti; private global::System.Data.DataRelation relationFK_AnagImpianti_AnagSiti; @@ -132,6 +136,12 @@ namespace GMW_Reports { if ((ds.Tables["stp_updateByBilancia"] != null)) { base.Tables.Add(new stp_updateByBilanciaDataTable(ds.Tables["stp_updateByBilancia"])); } + if ((ds.Tables["stp_prtCartByUDC"] != null)) { + base.Tables.Add(new stp_prtCartByUDCDataTable(ds.Tables["stp_prtCartByUDC"])); + } + if ((ds.Tables["stp_prtCartMatPrimaByUDC"] != null)) { + base.Tables.Add(new stp_prtCartMatPrimaByUDCDataTable(ds.Tables["stp_prtCartMatPrimaByUDC"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -267,6 +277,24 @@ namespace GMW_Reports { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_prtCartByUDCDataTable stp_prtCartByUDC { + get { + return this.tablestp_prtCartByUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_prtCartMatPrimaByUDCDataTable stp_prtCartMatPrimaByUDC { + get { + return this.tablestp_prtCartMatPrimaByUDC; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.BrowsableAttribute(true)] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] @@ -365,6 +393,12 @@ namespace GMW_Reports { if ((ds.Tables["stp_updateByBilancia"] != null)) { base.Tables.Add(new stp_updateByBilanciaDataTable(ds.Tables["stp_updateByBilancia"])); } + if ((ds.Tables["stp_prtCartByUDC"] != null)) { + base.Tables.Add(new stp_prtCartByUDCDataTable(ds.Tables["stp_prtCartByUDC"])); + } + if ((ds.Tables["stp_prtCartMatPrimaByUDC"] != null)) { + base.Tables.Add(new stp_prtCartMatPrimaByUDCDataTable(ds.Tables["stp_prtCartMatPrimaByUDC"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -473,6 +507,18 @@ namespace GMW_Reports { this.tablestp_updateByBilancia.InitVars(); } } + this.tablestp_prtCartByUDC = ((stp_prtCartByUDCDataTable)(base.Tables["stp_prtCartByUDC"])); + if ((initTable == true)) { + if ((this.tablestp_prtCartByUDC != null)) { + this.tablestp_prtCartByUDC.InitVars(); + } + } + this.tablestp_prtCartMatPrimaByUDC = ((stp_prtCartMatPrimaByUDCDataTable)(base.Tables["stp_prtCartMatPrimaByUDC"])); + if ((initTable == true)) { + if ((this.tablestp_prtCartMatPrimaByUDC != null)) { + this.tablestp_prtCartMatPrimaByUDC.InitVars(); + } + } this.relationFK_AnagBilance_AnagSiti = this.Relations["FK_AnagBilance_AnagSiti"]; this.relationFK_AnagImpianti_AnagSiti = this.Relations["FK_AnagImpianti_AnagSiti"]; this.relationFK_AnagOdp_AnagCompany = this.Relations["FK_AnagOdp_AnagCompany"]; @@ -516,6 +562,10 @@ namespace GMW_Reports { base.Tables.Add(this.tablestp_insNewOdpUdc); this.tablestp_updateByBilancia = new stp_updateByBilanciaDataTable(); base.Tables.Add(this.tablestp_updateByBilancia); + this.tablestp_prtCartByUDC = new stp_prtCartByUDCDataTable(); + base.Tables.Add(this.tablestp_prtCartByUDC); + this.tablestp_prtCartMatPrimaByUDC = new stp_prtCartMatPrimaByUDCDataTable(); + base.Tables.Add(this.tablestp_prtCartMatPrimaByUDC); this.relationFK_AnagBilance_AnagSiti = new global::System.Data.DataRelation("FK_AnagBilance_AnagSiti", new global::System.Data.DataColumn[] { this.tableAnagSiti.CodCompanyColumn, this.tableAnagSiti.CodSitoColumn}, new global::System.Data.DataColumn[] { @@ -621,6 +671,16 @@ namespace GMW_Reports { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializestp_prtCartByUDC() { + return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializestp_prtCartMatPrimaByUDC() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { @@ -700,6 +760,10 @@ namespace GMW_Reports { public delegate void stp_updateByBilanciaRowChangeEventHandler(object sender, stp_updateByBilanciaRowChangeEvent e); + public delegate void stp_prtCartByUDCRowChangeEventHandler(object sender, stp_prtCartByUDCRowChangeEvent e); + + public delegate void stp_prtCartMatPrimaByUDCRowChangeEventHandler(object sender, stp_prtCartMatPrimaByUDCRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -4584,6 +4648,1203 @@ namespace GMW_Reports { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class stp_prtCartByUDCDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnUDC; + + private global::System.Data.DataColumn columnCodCS; + + private global::System.Data.DataColumn columncodcliente; + + private global::System.Data.DataColumn columnragsociale; + + private global::System.Data.DataColumn columnparticolare; + + private global::System.Data.DataColumn columndescparticolare; + + private global::System.Data.DataColumn columndisegnogrezzo; + + private global::System.Data.DataColumn columnesponente; + + private global::System.Data.DataColumn columncodimpianto; + + private global::System.Data.DataColumn columndescimpianto; + + private global::System.Data.DataColumn columncodstampo; + + private global::System.Data.DataColumn columnfigura; + + private global::System.Data.DataColumn columndatafus; + + private global::System.Data.DataColumn columnturnofus; + + private global::System.Data.DataColumn columncodimballo; + + private global::System.Data.DataColumn columncodsoggetto; + + private global::System.Data.DataColumn columnnumcont; + + private global::System.Data.DataColumn columntara; + + private global::System.Data.DataColumn columnqta; + + private global::System.Data.DataColumn columncodstato; + + private global::System.Data.DataColumn columnidxposizione; + + private global::System.Data.DataColumn columnpesotot; + + private global::System.Data.DataColumn columnpesocad; + + private global::System.Data.DataColumn columnCreateDate; + + private global::System.Data.DataColumn columnModDate; + + private global::System.Data.DataColumn columncognome; + + private global::System.Data.DataColumn columnnome; + + private global::System.Data.DataColumn columndescstato; + + private global::System.Data.DataColumn columndescimballo; + + private global::System.Data.DataColumn columnCodFamiglia; + + private global::System.Data.DataColumn columnDescFamiglia; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartByUDCDataTable() { + this.TableName = "stp_prtCartByUDC"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal stp_prtCartByUDCDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected stp_prtCartByUDCDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodCSColumn { + get { + return this.columnCodCS; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codclienteColumn { + get { + return this.columncodcliente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn ragsocialeColumn { + get { + return this.columnragsociale; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn particolareColumn { + get { + return this.columnparticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descparticolareColumn { + get { + return this.columndescparticolare; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn disegnogrezzoColumn { + get { + return this.columndisegnogrezzo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn esponenteColumn { + get { + return this.columnesponente; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codimpiantoColumn { + get { + return this.columncodimpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descimpiantoColumn { + get { + return this.columndescimpianto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codstampoColumn { + get { + return this.columncodstampo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn figuraColumn { + get { + return this.columnfigura; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn datafusColumn { + get { + return this.columndatafus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn turnofusColumn { + get { + return this.columnturnofus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codimballoColumn { + get { + return this.columncodimballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codsoggettoColumn { + get { + return this.columncodsoggetto; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn numcontColumn { + get { + return this.columnnumcont; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn taraColumn { + get { + return this.columntara; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn qtaColumn { + get { + return this.columnqta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn codstatoColumn { + get { + return this.columncodstato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn idxposizioneColumn { + get { + return this.columnidxposizione; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn pesototColumn { + get { + return this.columnpesotot; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn pesocadColumn { + get { + return this.columnpesocad; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CreateDateColumn { + get { + return this.columnCreateDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn ModDateColumn { + get { + return this.columnModDate; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn cognomeColumn { + get { + return this.columncognome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn nomeColumn { + get { + return this.columnnome; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descstatoColumn { + get { + return this.columndescstato; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn descimballoColumn { + get { + return this.columndescimballo; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodFamigliaColumn { + get { + return this.columnCodFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescFamigliaColumn { + get { + return this.columnDescFamiglia; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartByUDCRow this[int index] { + get { + return ((stp_prtCartByUDCRow)(this.Rows[index])); + } + } + + public event stp_prtCartByUDCRowChangeEventHandler stp_prtCartByUDCRowChanging; + + public event stp_prtCartByUDCRowChangeEventHandler stp_prtCartByUDCRowChanged; + + public event stp_prtCartByUDCRowChangeEventHandler stp_prtCartByUDCRowDeleting; + + public event stp_prtCartByUDCRowChangeEventHandler stp_prtCartByUDCRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addstp_prtCartByUDCRow(stp_prtCartByUDCRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartByUDCRow Addstp_prtCartByUDCRow( + string UDC, + string CodCS, + string codcliente, + string ragsociale, + string particolare, + string descparticolare, + string disegnogrezzo, + string esponente, + string codimpianto, + string descimpianto, + string codstampo, + string figura, + System.DateTime datafus, + int turnofus, + string codimballo, + string codsoggetto, + int numcont, + double tara, + decimal qta, + string codstato, + int idxposizione, + double pesotot, + double pesocad, + System.DateTime CreateDate, + System.DateTime ModDate, + string cognome, + string nome, + string descstato, + string descimballo, + string CodFamiglia, + string DescFamiglia) { + stp_prtCartByUDCRow rowstp_prtCartByUDCRow = ((stp_prtCartByUDCRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + UDC, + CodCS, + codcliente, + ragsociale, + particolare, + descparticolare, + disegnogrezzo, + esponente, + codimpianto, + descimpianto, + codstampo, + figura, + datafus, + turnofus, + codimballo, + codsoggetto, + numcont, + tara, + qta, + codstato, + idxposizione, + pesotot, + pesocad, + CreateDate, + ModDate, + cognome, + nome, + descstato, + descimballo, + CodFamiglia, + DescFamiglia}; + rowstp_prtCartByUDCRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_prtCartByUDCRow); + return rowstp_prtCartByUDCRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartByUDCRow FindByUDC(string UDC) { + return ((stp_prtCartByUDCRow)(this.Rows.Find(new object[] { + UDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + stp_prtCartByUDCDataTable cln = ((stp_prtCartByUDCDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_prtCartByUDCDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnUDC = base.Columns["UDC"]; + this.columnCodCS = base.Columns["CodCS"]; + this.columncodcliente = base.Columns["codcliente"]; + this.columnragsociale = base.Columns["ragsociale"]; + this.columnparticolare = base.Columns["particolare"]; + this.columndescparticolare = base.Columns["descparticolare"]; + this.columndisegnogrezzo = base.Columns["disegnogrezzo"]; + this.columnesponente = base.Columns["esponente"]; + this.columncodimpianto = base.Columns["codimpianto"]; + this.columndescimpianto = base.Columns["descimpianto"]; + this.columncodstampo = base.Columns["codstampo"]; + this.columnfigura = base.Columns["figura"]; + this.columndatafus = base.Columns["datafus"]; + this.columnturnofus = base.Columns["turnofus"]; + this.columncodimballo = base.Columns["codimballo"]; + this.columncodsoggetto = base.Columns["codsoggetto"]; + this.columnnumcont = base.Columns["numcont"]; + this.columntara = base.Columns["tara"]; + this.columnqta = base.Columns["qta"]; + this.columncodstato = base.Columns["codstato"]; + this.columnidxposizione = base.Columns["idxposizione"]; + this.columnpesotot = base.Columns["pesotot"]; + this.columnpesocad = base.Columns["pesocad"]; + this.columnCreateDate = base.Columns["CreateDate"]; + this.columnModDate = base.Columns["ModDate"]; + this.columncognome = base.Columns["cognome"]; + this.columnnome = base.Columns["nome"]; + this.columndescstato = base.Columns["descstato"]; + this.columndescimballo = base.Columns["descimballo"]; + this.columnCodFamiglia = base.Columns["CodFamiglia"]; + this.columnDescFamiglia = base.Columns["DescFamiglia"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUDC); + this.columnCodCS = new global::System.Data.DataColumn("CodCS", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodCS); + this.columncodcliente = new global::System.Data.DataColumn("codcliente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodcliente); + this.columnragsociale = new global::System.Data.DataColumn("ragsociale", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnragsociale); + this.columnparticolare = new global::System.Data.DataColumn("particolare", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnparticolare); + this.columndescparticolare = new global::System.Data.DataColumn("descparticolare", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescparticolare); + this.columndisegnogrezzo = new global::System.Data.DataColumn("disegnogrezzo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndisegnogrezzo); + this.columnesponente = new global::System.Data.DataColumn("esponente", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnesponente); + this.columncodimpianto = new global::System.Data.DataColumn("codimpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodimpianto); + this.columndescimpianto = new global::System.Data.DataColumn("descimpianto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescimpianto); + this.columncodstampo = new global::System.Data.DataColumn("codstampo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodstampo); + this.columnfigura = new global::System.Data.DataColumn("figura", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnfigura); + this.columndatafus = new global::System.Data.DataColumn("datafus", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndatafus); + this.columnturnofus = new global::System.Data.DataColumn("turnofus", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnturnofus); + this.columncodimballo = new global::System.Data.DataColumn("codimballo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodimballo); + this.columncodsoggetto = new global::System.Data.DataColumn("codsoggetto", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodsoggetto); + this.columnnumcont = new global::System.Data.DataColumn("numcont", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnumcont); + this.columntara = new global::System.Data.DataColumn("tara", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columntara); + this.columnqta = new global::System.Data.DataColumn("qta", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnqta); + this.columncodstato = new global::System.Data.DataColumn("codstato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncodstato); + this.columnidxposizione = new global::System.Data.DataColumn("idxposizione", typeof(int), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnidxposizione); + this.columnpesotot = new global::System.Data.DataColumn("pesotot", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpesotot); + this.columnpesocad = new global::System.Data.DataColumn("pesocad", typeof(double), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnpesocad); + this.columnCreateDate = new global::System.Data.DataColumn("CreateDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCreateDate); + this.columnModDate = new global::System.Data.DataColumn("ModDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnModDate); + this.columncognome = new global::System.Data.DataColumn("cognome", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columncognome); + this.columnnome = new global::System.Data.DataColumn("nome", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnome); + this.columndescstato = new global::System.Data.DataColumn("descstato", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescstato); + this.columndescimballo = new global::System.Data.DataColumn("descimballo", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columndescimballo); + this.columnCodFamiglia = new global::System.Data.DataColumn("CodFamiglia", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodFamiglia); + this.columnDescFamiglia = new global::System.Data.DataColumn("DescFamiglia", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescFamiglia); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnUDC}, true)); + this.columnUDC.AllowDBNull = false; + this.columnUDC.Unique = true; + this.columnUDC.MaxLength = 50; + this.columnCodCS.MaxLength = 2; + this.columncodcliente.ReadOnly = true; + this.columncodcliente.MaxLength = 6; + this.columnragsociale.ReadOnly = true; + this.columnragsociale.MaxLength = 35; + this.columnparticolare.ReadOnly = true; + this.columnparticolare.MaxLength = 15; + this.columndescparticolare.ReadOnly = true; + this.columndescparticolare.MaxLength = 30; + this.columndisegnogrezzo.ReadOnly = true; + this.columndisegnogrezzo.MaxLength = 30; + this.columnesponente.ReadOnly = true; + this.columnesponente.MaxLength = 6; + this.columncodimpianto.ReadOnly = true; + this.columncodimpianto.MaxLength = 50; + this.columndescimpianto.ReadOnly = true; + this.columndescimpianto.MaxLength = 50; + this.columncodstampo.ReadOnly = true; + this.columncodstampo.MaxLength = 8; + this.columnfigura.ReadOnly = true; + this.columnfigura.MaxLength = 4; + this.columndatafus.ReadOnly = true; + this.columnturnofus.ReadOnly = true; + this.columncodimballo.ReadOnly = true; + this.columncodimballo.MaxLength = 15; + this.columncodsoggetto.ReadOnly = true; + this.columncodsoggetto.MaxLength = 17; + this.columnnumcont.ReadOnly = true; + this.columntara.ReadOnly = true; + this.columnqta.ReadOnly = true; + this.columncodstato.ReadOnly = true; + this.columncodstato.MaxLength = 50; + this.columnidxposizione.ReadOnly = true; + this.columnpesotot.ReadOnly = true; + this.columnpesocad.ReadOnly = true; + this.columncognome.ReadOnly = true; + this.columncognome.MaxLength = 40; + this.columnnome.ReadOnly = true; + this.columnnome.MaxLength = 40; + this.columndescstato.ReadOnly = true; + this.columndescstato.MaxLength = 50; + this.columndescimballo.ReadOnly = true; + this.columndescimballo.MaxLength = 30; + this.columnCodFamiglia.MaxLength = 4; + this.columnDescFamiglia.MaxLength = 100; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartByUDCRow Newstp_prtCartByUDCRow() { + return ((stp_prtCartByUDCRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_prtCartByUDCRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(stp_prtCartByUDCRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_prtCartByUDCRowChanged != null)) { + this.stp_prtCartByUDCRowChanged(this, new stp_prtCartByUDCRowChangeEvent(((stp_prtCartByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_prtCartByUDCRowChanging != null)) { + this.stp_prtCartByUDCRowChanging(this, new stp_prtCartByUDCRowChangeEvent(((stp_prtCartByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_prtCartByUDCRowDeleted != null)) { + this.stp_prtCartByUDCRowDeleted(this, new stp_prtCartByUDCRowChangeEvent(((stp_prtCartByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_prtCartByUDCRowDeleting != null)) { + this.stp_prtCartByUDCRowDeleting(this, new stp_prtCartByUDCRowChangeEvent(((stp_prtCartByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removestp_prtCartByUDCRow(stp_prtCartByUDCRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + GMWDataSet ds = new GMWDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "stp_prtCartByUDCDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class stp_prtCartMatPrimaByUDCDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnnRapQual; + + private global::System.Data.DataColumn columnDataRapQual; + + private global::System.Data.DataColumn columnProgUDC; + + private global::System.Data.DataColumn columnCodFor; + + private global::System.Data.DataColumn columnDestTerz; + + private global::System.Data.DataColumn columnCodLega; + + private global::System.Data.DataColumn columnDataPrelFus; + + private global::System.Data.DataColumn columnTurnoPrelFus; + + private global::System.Data.DataColumn columnQta; + + private global::System.Data.DataColumn columnDestLega; + + private global::System.Data.DataColumn columnLegaScaric; + + private global::System.Data.DataColumn columnBenesQual; + + private global::System.Data.DataColumn columnUDC; + + private global::System.Data.DataColumn columnDescFornitore; + + private global::System.Data.DataColumn columnDescFornitore2; + + private global::System.Data.DataColumn columnCodLega2; + + private global::System.Data.DataColumn columnDescLega; + + private global::System.Data.DataColumn columnDescLega2; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCDataTable() { + this.TableName = "stp_prtCartMatPrimaByUDC"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal stp_prtCartMatPrimaByUDCDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected stp_prtCartMatPrimaByUDCDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn nRapQualColumn { + get { + return this.columnnRapQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DataRapQualColumn { + get { + return this.columnDataRapQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn ProgUDCColumn { + get { + return this.columnProgUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodForColumn { + get { + return this.columnCodFor; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DestTerzColumn { + get { + return this.columnDestTerz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodLegaColumn { + get { + return this.columnCodLega; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DataPrelFusColumn { + get { + return this.columnDataPrelFus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn TurnoPrelFusColumn { + get { + return this.columnTurnoPrelFus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DestLegaColumn { + get { + return this.columnDestLega; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn LegaScaricColumn { + get { + return this.columnLegaScaric; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn BenesQualColumn { + get { + return this.columnBenesQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescFornitoreColumn { + get { + return this.columnDescFornitore; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescFornitore2Column { + get { + return this.columnDescFornitore2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodLega2Column { + get { + return this.columnCodLega2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescLegaColumn { + get { + return this.columnDescLega; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescLega2Column { + get { + return this.columnDescLega2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCRow this[int index] { + get { + return ((stp_prtCartMatPrimaByUDCRow)(this.Rows[index])); + } + } + + public event stp_prtCartMatPrimaByUDCRowChangeEventHandler stp_prtCartMatPrimaByUDCRowChanging; + + public event stp_prtCartMatPrimaByUDCRowChangeEventHandler stp_prtCartMatPrimaByUDCRowChanged; + + public event stp_prtCartMatPrimaByUDCRowChangeEventHandler stp_prtCartMatPrimaByUDCRowDeleting; + + public event stp_prtCartMatPrimaByUDCRowChangeEventHandler stp_prtCartMatPrimaByUDCRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addstp_prtCartMatPrimaByUDCRow(stp_prtCartMatPrimaByUDCRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCRow Addstp_prtCartMatPrimaByUDCRow( + decimal nRapQual, + decimal DataRapQual, + string ProgUDC, + string CodFor, + string DestTerz, + string CodLega, + decimal DataPrelFus, + string TurnoPrelFus, + decimal Qta, + string DestLega, + string LegaScaric, + string BenesQual, + string UDC, + string DescFornitore, + string DescFornitore2, + string CodLega2, + string DescLega, + string DescLega2) { + stp_prtCartMatPrimaByUDCRow rowstp_prtCartMatPrimaByUDCRow = ((stp_prtCartMatPrimaByUDCRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + nRapQual, + DataRapQual, + ProgUDC, + CodFor, + DestTerz, + CodLega, + DataPrelFus, + TurnoPrelFus, + Qta, + DestLega, + LegaScaric, + BenesQual, + UDC, + DescFornitore, + DescFornitore2, + CodLega2, + DescLega, + DescLega2}; + rowstp_prtCartMatPrimaByUDCRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_prtCartMatPrimaByUDCRow); + return rowstp_prtCartMatPrimaByUDCRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCRow FindByProgUDC(string ProgUDC) { + return ((stp_prtCartMatPrimaByUDCRow)(this.Rows.Find(new object[] { + ProgUDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + stp_prtCartMatPrimaByUDCDataTable cln = ((stp_prtCartMatPrimaByUDCDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_prtCartMatPrimaByUDCDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnnRapQual = base.Columns["nRapQual"]; + this.columnDataRapQual = base.Columns["DataRapQual"]; + this.columnProgUDC = base.Columns["ProgUDC"]; + this.columnCodFor = base.Columns["CodFor"]; + this.columnDestTerz = base.Columns["DestTerz"]; + this.columnCodLega = base.Columns["CodLega"]; + this.columnDataPrelFus = base.Columns["DataPrelFus"]; + this.columnTurnoPrelFus = base.Columns["TurnoPrelFus"]; + this.columnQta = base.Columns["Qta"]; + this.columnDestLega = base.Columns["DestLega"]; + this.columnLegaScaric = base.Columns["LegaScaric"]; + this.columnBenesQual = base.Columns["BenesQual"]; + this.columnUDC = base.Columns["UDC"]; + this.columnDescFornitore = base.Columns["DescFornitore"]; + this.columnDescFornitore2 = base.Columns["DescFornitore2"]; + this.columnCodLega2 = base.Columns["CodLega2"]; + this.columnDescLega = base.Columns["DescLega"]; + this.columnDescLega2 = base.Columns["DescLega2"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnnRapQual = new global::System.Data.DataColumn("nRapQual", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnRapQual); + this.columnDataRapQual = new global::System.Data.DataColumn("DataRapQual", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataRapQual); + this.columnProgUDC = new global::System.Data.DataColumn("ProgUDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnProgUDC); + this.columnCodFor = new global::System.Data.DataColumn("CodFor", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodFor); + this.columnDestTerz = new global::System.Data.DataColumn("DestTerz", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDestTerz); + this.columnCodLega = new global::System.Data.DataColumn("CodLega", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodLega); + this.columnDataPrelFus = new global::System.Data.DataColumn("DataPrelFus", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataPrelFus); + this.columnTurnoPrelFus = new global::System.Data.DataColumn("TurnoPrelFus", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTurnoPrelFus); + this.columnQta = new global::System.Data.DataColumn("Qta", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.columnDestLega = new global::System.Data.DataColumn("DestLega", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDestLega); + this.columnLegaScaric = new global::System.Data.DataColumn("LegaScaric", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnLegaScaric); + this.columnBenesQual = new global::System.Data.DataColumn("BenesQual", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBenesQual); + this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUDC); + this.columnDescFornitore = new global::System.Data.DataColumn("DescFornitore", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescFornitore); + this.columnDescFornitore2 = new global::System.Data.DataColumn("DescFornitore2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescFornitore2); + this.columnCodLega2 = new global::System.Data.DataColumn("CodLega2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodLega2); + this.columnDescLega = new global::System.Data.DataColumn("DescLega", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescLega); + this.columnDescLega2 = new global::System.Data.DataColumn("DescLega2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescLega2); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnProgUDC}, true)); + this.columnnRapQual.AllowDBNull = false; + this.columnDataRapQual.AllowDBNull = false; + this.columnProgUDC.AllowDBNull = false; + this.columnProgUDC.Unique = true; + this.columnProgUDC.MaxLength = 10; + this.columnCodFor.AllowDBNull = false; + this.columnCodFor.MaxLength = 6; + this.columnDestTerz.AllowDBNull = false; + this.columnDestTerz.MaxLength = 6; + this.columnCodLega.AllowDBNull = false; + this.columnCodLega.MaxLength = 15; + this.columnDataPrelFus.AllowDBNull = false; + this.columnTurnoPrelFus.AllowDBNull = false; + this.columnTurnoPrelFus.MaxLength = 5; + this.columnQta.AllowDBNull = false; + this.columnDestLega.AllowDBNull = false; + this.columnDestLega.MaxLength = 3; + this.columnLegaScaric.AllowDBNull = false; + this.columnLegaScaric.MaxLength = 1; + this.columnBenesQual.AllowDBNull = false; + this.columnBenesQual.MaxLength = 1; + this.columnUDC.MaxLength = 50; + this.columnDescFornitore.MaxLength = 35; + this.columnDescFornitore2.MaxLength = 35; + this.columnCodLega2.MaxLength = 12; + this.columnDescLega.MaxLength = 25; + this.columnDescLega2.MaxLength = 25; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCRow Newstp_prtCartMatPrimaByUDCRow() { + return ((stp_prtCartMatPrimaByUDCRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_prtCartMatPrimaByUDCRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(stp_prtCartMatPrimaByUDCRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_prtCartMatPrimaByUDCRowChanged != null)) { + this.stp_prtCartMatPrimaByUDCRowChanged(this, new stp_prtCartMatPrimaByUDCRowChangeEvent(((stp_prtCartMatPrimaByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_prtCartMatPrimaByUDCRowChanging != null)) { + this.stp_prtCartMatPrimaByUDCRowChanging(this, new stp_prtCartMatPrimaByUDCRowChangeEvent(((stp_prtCartMatPrimaByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_prtCartMatPrimaByUDCRowDeleted != null)) { + this.stp_prtCartMatPrimaByUDCRowDeleted(this, new stp_prtCartMatPrimaByUDCRowChangeEvent(((stp_prtCartMatPrimaByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_prtCartMatPrimaByUDCRowDeleting != null)) { + this.stp_prtCartMatPrimaByUDCRowDeleting(this, new stp_prtCartMatPrimaByUDCRowChangeEvent(((stp_prtCartMatPrimaByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removestp_prtCartMatPrimaByUDCRow(stp_prtCartMatPrimaByUDCRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + GMWDataSet ds = new GMWDataSet(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "stp_prtCartMatPrimaByUDCDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + /// ///Represents strongly named DataRow class. /// @@ -6204,6 +7465,1068 @@ namespace GMW_Reports { } } + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class stp_prtCartByUDCRow : global::System.Data.DataRow { + + private stp_prtCartByUDCDataTable tablestp_prtCartByUDC; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal stp_prtCartByUDCRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_prtCartByUDC = ((stp_prtCartByUDCDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string UDC { + get { + return ((string)(this[this.tablestp_prtCartByUDC.UDCColumn])); + } + set { + this[this.tablestp_prtCartByUDC.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodCS { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.CodCSColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCS\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codcliente { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.codclienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codcliente\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.codclienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string ragsociale { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.ragsocialeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ragsociale\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.ragsocialeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string particolare { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.particolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'particolare\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.particolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descparticolare { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.descparticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descparticolare\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.descparticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string disegnogrezzo { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.disegnogrezzoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'disegnogrezzo\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.disegnogrezzoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string esponente { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.esponenteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'esponente\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.esponenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codimpianto { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.codimpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codimpianto\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.codimpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descimpianto { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.descimpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descimpianto\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.descimpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codstampo { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.codstampoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codstampo\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.codstampoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string figura { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.figuraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'figura\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.figuraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime datafus { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartByUDC.datafusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'datafus\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.datafusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int turnofus { + get { + try { + return ((int)(this[this.tablestp_prtCartByUDC.turnofusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'turnofus\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.turnofusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codimballo { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.codimballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codimballo\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.codimballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codsoggetto { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.codsoggettoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codsoggetto\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.codsoggettoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int numcont { + get { + try { + return ((int)(this[this.tablestp_prtCartByUDC.numcontColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'numcont\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.numcontColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double tara { + get { + try { + return ((double)(this[this.tablestp_prtCartByUDC.taraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'tara\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.taraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal qta { + get { + try { + return ((decimal)(this[this.tablestp_prtCartByUDC.qtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'qta\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.qtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codstato { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.codstatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codstato\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.codstatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxposizione { + get { + try { + return ((int)(this[this.tablestp_prtCartByUDC.idxposizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxposizione\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.idxposizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double pesotot { + get { + try { + return ((double)(this[this.tablestp_prtCartByUDC.pesototColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'pesotot\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.pesototColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double pesocad { + get { + try { + return ((double)(this[this.tablestp_prtCartByUDC.pesocadColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'pesocad\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.pesocadColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime CreateDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartByUDC.CreateDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CreateDate\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.CreateDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime ModDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartByUDC.ModDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ModDate\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.ModDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string cognome { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.cognomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cognome\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.cognomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string nome { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.nomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nome\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.nomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descstato { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.descstatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descstato\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.descstatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descimballo { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.descimballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descimballo\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.descimballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodFamiglia { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.CodFamigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodFamiglia\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.CodFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescFamiglia { + get { + try { + return ((string)(this[this.tablestp_prtCartByUDC.DescFamigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescFamiglia\' in table \'stp_prtCartByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartByUDC.DescFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCodCSNull() { + return this.IsNull(this.tablestp_prtCartByUDC.CodCSColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCodCSNull() { + this[this.tablestp_prtCartByUDC.CodCSColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodclienteNull() { + return this.IsNull(this.tablestp_prtCartByUDC.codclienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodclienteNull() { + this[this.tablestp_prtCartByUDC.codclienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsragsocialeNull() { + return this.IsNull(this.tablestp_prtCartByUDC.ragsocialeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetragsocialeNull() { + this[this.tablestp_prtCartByUDC.ragsocialeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsparticolareNull() { + return this.IsNull(this.tablestp_prtCartByUDC.particolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetparticolareNull() { + this[this.tablestp_prtCartByUDC.particolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescparticolareNull() { + return this.IsNull(this.tablestp_prtCartByUDC.descparticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescparticolareNull() { + this[this.tablestp_prtCartByUDC.descparticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdisegnogrezzoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.disegnogrezzoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdisegnogrezzoNull() { + this[this.tablestp_prtCartByUDC.disegnogrezzoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsesponenteNull() { + return this.IsNull(this.tablestp_prtCartByUDC.esponenteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetesponenteNull() { + this[this.tablestp_prtCartByUDC.esponenteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodimpiantoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.codimpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodimpiantoNull() { + this[this.tablestp_prtCartByUDC.codimpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescimpiantoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.descimpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescimpiantoNull() { + this[this.tablestp_prtCartByUDC.descimpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodstampoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.codstampoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodstampoNull() { + this[this.tablestp_prtCartByUDC.codstampoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsfiguraNull() { + return this.IsNull(this.tablestp_prtCartByUDC.figuraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetfiguraNull() { + this[this.tablestp_prtCartByUDC.figuraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdatafusNull() { + return this.IsNull(this.tablestp_prtCartByUDC.datafusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdatafusNull() { + this[this.tablestp_prtCartByUDC.datafusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsturnofusNull() { + return this.IsNull(this.tablestp_prtCartByUDC.turnofusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetturnofusNull() { + this[this.tablestp_prtCartByUDC.turnofusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodimballoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.codimballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodimballoNull() { + this[this.tablestp_prtCartByUDC.codimballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodsoggettoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.codsoggettoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodsoggettoNull() { + this[this.tablestp_prtCartByUDC.codsoggettoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnumcontNull() { + return this.IsNull(this.tablestp_prtCartByUDC.numcontColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnumcontNull() { + this[this.tablestp_prtCartByUDC.numcontColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IstaraNull() { + return this.IsNull(this.tablestp_prtCartByUDC.taraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SettaraNull() { + this[this.tablestp_prtCartByUDC.taraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsqtaNull() { + return this.IsNull(this.tablestp_prtCartByUDC.qtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetqtaNull() { + this[this.tablestp_prtCartByUDC.qtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodstatoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.codstatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodstatoNull() { + this[this.tablestp_prtCartByUDC.codstatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsidxposizioneNull() { + return this.IsNull(this.tablestp_prtCartByUDC.idxposizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetidxposizioneNull() { + this[this.tablestp_prtCartByUDC.idxposizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IspesototNull() { + return this.IsNull(this.tablestp_prtCartByUDC.pesototColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetpesototNull() { + this[this.tablestp_prtCartByUDC.pesototColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IspesocadNull() { + return this.IsNull(this.tablestp_prtCartByUDC.pesocadColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetpesocadNull() { + this[this.tablestp_prtCartByUDC.pesocadColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCreateDateNull() { + return this.IsNull(this.tablestp_prtCartByUDC.CreateDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCreateDateNull() { + this[this.tablestp_prtCartByUDC.CreateDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsModDateNull() { + return this.IsNull(this.tablestp_prtCartByUDC.ModDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetModDateNull() { + this[this.tablestp_prtCartByUDC.ModDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscognomeNull() { + return this.IsNull(this.tablestp_prtCartByUDC.cognomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcognomeNull() { + this[this.tablestp_prtCartByUDC.cognomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnomeNull() { + return this.IsNull(this.tablestp_prtCartByUDC.nomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnomeNull() { + this[this.tablestp_prtCartByUDC.nomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescstatoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.descstatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescstatoNull() { + this[this.tablestp_prtCartByUDC.descstatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescimballoNull() { + return this.IsNull(this.tablestp_prtCartByUDC.descimballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescimballoNull() { + this[this.tablestp_prtCartByUDC.descimballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCodFamigliaNull() { + return this.IsNull(this.tablestp_prtCartByUDC.CodFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCodFamigliaNull() { + this[this.tablestp_prtCartByUDC.CodFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescFamigliaNull() { + return this.IsNull(this.tablestp_prtCartByUDC.DescFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescFamigliaNull() { + this[this.tablestp_prtCartByUDC.DescFamigliaColumn] = global::System.Convert.DBNull; + } + } + + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class stp_prtCartMatPrimaByUDCRow : global::System.Data.DataRow { + + private stp_prtCartMatPrimaByUDCDataTable tablestp_prtCartMatPrimaByUDC; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal stp_prtCartMatPrimaByUDCRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_prtCartMatPrimaByUDC = ((stp_prtCartMatPrimaByUDCDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal nRapQual { + get { + return ((decimal)(this[this.tablestp_prtCartMatPrimaByUDC.nRapQualColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.nRapQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal DataRapQual { + get { + return ((decimal)(this[this.tablestp_prtCartMatPrimaByUDC.DataRapQualColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DataRapQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string ProgUDC { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.ProgUDCColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.ProgUDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodFor { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.CodForColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.CodForColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DestTerz { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DestTerzColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DestTerzColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodLega { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.CodLegaColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.CodLegaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal DataPrelFus { + get { + return ((decimal)(this[this.tablestp_prtCartMatPrimaByUDC.DataPrelFusColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DataPrelFusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string TurnoPrelFus { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.TurnoPrelFusColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.TurnoPrelFusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal Qta { + get { + return ((decimal)(this[this.tablestp_prtCartMatPrimaByUDC.QtaColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DestLega { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DestLegaColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DestLegaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string LegaScaric { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.LegaScaricColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.LegaScaricColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string BenesQual { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.BenesQualColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.BenesQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string UDC { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.UDCColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'UDC\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescFornitore { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DescFornitoreColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescFornitore\' in table \'stp_prtCartMatPrimaByUDC\' is DBNul" + + "l.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DescFornitoreColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescFornitore2 { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DescFornitore2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescFornitore2\' in table \'stp_prtCartMatPrimaByUDC\' is DBNu" + + "ll.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DescFornitore2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodLega2 { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.CodLega2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodLega2\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.CodLega2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescLega { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DescLegaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescLega\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DescLegaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescLega2 { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DescLega2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescLega2\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DescLega2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsUDCNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.UDCColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetUDCNull() { + this[this.tablestp_prtCartMatPrimaByUDC.UDCColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescFornitoreNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.DescFornitoreColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescFornitoreNull() { + this[this.tablestp_prtCartMatPrimaByUDC.DescFornitoreColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescFornitore2Null() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.DescFornitore2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescFornitore2Null() { + this[this.tablestp_prtCartMatPrimaByUDC.DescFornitore2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCodLega2Null() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.CodLega2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCodLega2Null() { + this[this.tablestp_prtCartMatPrimaByUDC.CodLega2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescLegaNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.DescLegaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescLegaNull() { + this[this.tablestp_prtCartMatPrimaByUDC.DescLegaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescLega2Null() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.DescLega2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescLega2Null() { + this[this.tablestp_prtCartMatPrimaByUDC.DescLega2Column] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -6606,6 +8929,68 @@ namespace GMW_Reports { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class stp_prtCartByUDCRowChangeEvent : global::System.EventArgs { + + private stp_prtCartByUDCRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartByUDCRowChangeEvent(stp_prtCartByUDCRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartByUDCRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class stp_prtCartMatPrimaByUDCRowChangeEvent : global::System.EventArgs { + + private stp_prtCartMatPrimaByUDCRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCRowChangeEvent(stp_prtCartMatPrimaByUDCRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace GMW_Reports.GMWDataSetTableAdapters { @@ -11248,6 +13633,395 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDat } } + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class stp_prtCartByUDCTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartByUDCTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "stp_prtCartByUDC"; + tableMapping.ColumnMappings.Add("UDC", "UDC"); + tableMapping.ColumnMappings.Add("CodCS", "CodCS"); + tableMapping.ColumnMappings.Add("codcliente", "codcliente"); + tableMapping.ColumnMappings.Add("ragsociale", "ragsociale"); + tableMapping.ColumnMappings.Add("particolare", "particolare"); + tableMapping.ColumnMappings.Add("descparticolare", "descparticolare"); + tableMapping.ColumnMappings.Add("disegnogrezzo", "disegnogrezzo"); + tableMapping.ColumnMappings.Add("esponente", "esponente"); + tableMapping.ColumnMappings.Add("codimpianto", "codimpianto"); + tableMapping.ColumnMappings.Add("descimpianto", "descimpianto"); + tableMapping.ColumnMappings.Add("codstampo", "codstampo"); + tableMapping.ColumnMappings.Add("figura", "figura"); + tableMapping.ColumnMappings.Add("datafus", "datafus"); + tableMapping.ColumnMappings.Add("turnofus", "turnofus"); + tableMapping.ColumnMappings.Add("codimballo", "codimballo"); + tableMapping.ColumnMappings.Add("codsoggetto", "codsoggetto"); + tableMapping.ColumnMappings.Add("numcont", "numcont"); + tableMapping.ColumnMappings.Add("tara", "tara"); + tableMapping.ColumnMappings.Add("qta", "qta"); + tableMapping.ColumnMappings.Add("codstato", "codstato"); + tableMapping.ColumnMappings.Add("idxposizione", "idxposizione"); + tableMapping.ColumnMappings.Add("pesotot", "pesotot"); + tableMapping.ColumnMappings.Add("pesocad", "pesocad"); + tableMapping.ColumnMappings.Add("CreateDate", "CreateDate"); + tableMapping.ColumnMappings.Add("ModDate", "ModDate"); + tableMapping.ColumnMappings.Add("cognome", "cognome"); + tableMapping.ColumnMappings.Add("nome", "nome"); + tableMapping.ColumnMappings.Add("descstato", "descstato"); + tableMapping.ColumnMappings.Add("descimballo", "descimballo"); + tableMapping.ColumnMappings.Add("CodFamiglia", "CodFamiglia"); + tableMapping.ColumnMappings.Add("DescFamiglia", "DescFamiglia"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_Reports.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "dbo.stp_prtCartByUDC"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(GMWDataSet.stp_prtCartByUDCDataTable dataTable, string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual GMWDataSet.stp_prtCartByUDCDataTable GetData(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + GMWDataSet.stp_prtCartByUDCDataTable dataTable = new GMWDataSet.stp_prtCartByUDCDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class stp_prtCartMatPrimaByUDCTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "stp_prtCartMatPrimaByUDC"; + tableMapping.ColumnMappings.Add("nRapQual", "nRapQual"); + tableMapping.ColumnMappings.Add("DataRapQual", "DataRapQual"); + tableMapping.ColumnMappings.Add("ProgUDC", "ProgUDC"); + tableMapping.ColumnMappings.Add("CodFor", "CodFor"); + tableMapping.ColumnMappings.Add("DestTerz", "DestTerz"); + tableMapping.ColumnMappings.Add("CodLega", "CodLega"); + tableMapping.ColumnMappings.Add("DataPrelFus", "DataPrelFus"); + tableMapping.ColumnMappings.Add("TurnoPrelFus", "TurnoPrelFus"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + tableMapping.ColumnMappings.Add("DestLega", "DestLega"); + tableMapping.ColumnMappings.Add("LegaScaric", "LegaScaric"); + tableMapping.ColumnMappings.Add("BenesQual", "BenesQual"); + tableMapping.ColumnMappings.Add("UDC", "UDC"); + tableMapping.ColumnMappings.Add("DescFornitore", "DescFornitore"); + tableMapping.ColumnMappings.Add("DescFornitore2", "DescFornitore2"); + tableMapping.ColumnMappings.Add("CodLega2", "CodLega2"); + tableMapping.ColumnMappings.Add("DescLega", "DescLega"); + tableMapping.ColumnMappings.Add("DescLega2", "DescLega2"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_Reports.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "dbo.stp_prtCartMatPrimaByUDC"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(GMWDataSet.stp_prtCartMatPrimaByUDCDataTable dataTable, string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual GMWDataSet.stp_prtCartMatPrimaByUDCDataTable GetData(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + GMWDataSet.stp_prtCartMatPrimaByUDCDataTable dataTable = new GMWDataSet.stp_prtCartMatPrimaByUDCDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + /// ///Represents the connection and commands used to retrieve and save data. /// @@ -11722,12 +14496,12 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDat allChangedRows.AddRange(updatedRows); } } - if ((this._tabStatoOdpUdcTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.TabStatoOdpUdc.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + if ((this._contatoriUdcTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.ContatoriUdc.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { - result = (result + this._tabStatoOdpUdcTableAdapter.Update(updatedRows)); + result = (result + this._contatoriUdcTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } @@ -11740,12 +14514,12 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDat allChangedRows.AddRange(updatedRows); } } - if ((this._contatoriUdcTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.ContatoriUdc.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + if ((this._tabStatoOdpUdcTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.TabStatoOdpUdc.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { - result = (result + this._contatoriUdcTableAdapter.Update(updatedRows)); + result = (result + this._tabStatoOdpUdcTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } @@ -11815,11 +14589,11 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDat allAddedRows.AddRange(addedRows); } } - if ((this._tabStatoOdpUdcTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.TabStatoOdpUdc.Select(null, null, global::System.Data.DataViewRowState.Added); + if ((this._contatoriUdcTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.ContatoriUdc.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { - result = (result + this._tabStatoOdpUdcTableAdapter.Update(addedRows)); + result = (result + this._contatoriUdcTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } @@ -11831,11 +14605,11 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDat allAddedRows.AddRange(addedRows); } } - if ((this._contatoriUdcTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.ContatoriUdc.Select(null, null, global::System.Data.DataViewRowState.Added); + if ((this._tabStatoOdpUdcTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.TabStatoOdpUdc.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { - result = (result + this._contatoriUdcTableAdapter.Update(addedRows)); + result = (result + this._tabStatoOdpUdcTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } @@ -11864,11 +14638,11 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDat allChangedRows.AddRange(deletedRows); } } - if ((this._contatoriUdcTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.ContatoriUdc.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if ((this._tabStatoOdpUdcTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.TabStatoOdpUdc.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { - result = (result + this._contatoriUdcTableAdapter.Update(deletedRows)); + result = (result + this._tabStatoOdpUdcTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } @@ -11880,11 +14654,11 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDat allChangedRows.AddRange(deletedRows); } } - if ((this._tabStatoOdpUdcTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.TabStatoOdpUdc.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if ((this._contatoriUdcTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.ContatoriUdc.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { - result = (result + this._tabStatoOdpUdcTableAdapter.Update(deletedRows)); + result = (result + this._contatoriUdcTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } diff --git a/GMW/GMW_Reports/GMWDataSet.xsc b/GMW/GMW_Reports/GMWDataSet.xsc index 5f282702..551fc56f 100644 --- a/GMW/GMW_Reports/GMWDataSet.xsc +++ b/GMW/GMW_Reports/GMWDataSet.xsc @@ -1 +1,9 @@ - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/GMW/GMW_Reports/GMWDataSet.xsd b/GMW/GMW_Reports/GMWDataSet.xsd index e0075a22..76ec2eed 100644 --- a/GMW/GMW_Reports/GMWDataSet.xsd +++ b/GMW/GMW_Reports/GMWDataSet.xsd @@ -734,6 +734,91 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDat + + + + + + dbo.stp_prtCartByUDC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dbo.stp_prtCartMatPrimaByUDC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -766,27 +851,27 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDat - + - + - + - + - + @@ -796,31 +881,31 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDat - + - + - + - + - + @@ -830,17 +915,17 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDat - + - + - + @@ -850,31 +935,31 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDat - + - + - + - + - + @@ -884,81 +969,81 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDat - + - + - + - + - + - + - + - + - - + + - + - + - + - + @@ -968,11 +1053,11 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDat - + - - + + @@ -982,73 +1067,215 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDat - + - + - + - + - + - + - + - + - - + + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1056,135 +1283,264 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDat - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + + + + + + + - + + + - + - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - - - - - - - - - - - - - - - - - - - + - + + + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - @@ -1256,6 +1612,14 @@ SELECT CodCompany, ODP, UDC, Tara, IdxStato, Qta, CodImballo, CreateDate, ModDat + + + + + + + + diff --git a/GMW/GMW_Reports/GMWDataSet.xss b/GMW/GMW_Reports/GMWDataSet.xss index 5f282702..03602cfb 100644 --- a/GMW/GMW_Reports/GMWDataSet.xss +++ b/GMW/GMW_Reports/GMWDataSet.xss @@ -1 +1,132 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + 264 + 137 + + + 334 + 137 + + + + + + + 247 + 204 + + + 247 + 310 + + + 334 + 310 + + + + + + + 564 + 573 + + + 634 + 573 + + + + + + + 334 + 533 + + + 239 + 533 + + + 239 + 204 + + + + + + + 941 + 360 + + + 871 + 360 + + + + + + + 558 + 369 + + + 628 + 369 + + + + + + + 833 + 640 + + + 903 + 640 + + + + + + + 1217 + 573 + + + 1147 + 573 + + + + + \ No newline at end of file diff --git a/GMW/GMW_Reports/GMW_Reports.csproj b/GMW/GMW_Reports/GMW_Reports.csproj index a280b7f4..41387df6 100644 --- a/GMW/GMW_Reports/GMW_Reports.csproj +++ b/GMW/GMW_Reports/GMW_Reports.csproj @@ -83,6 +83,7 @@ + Designer diff --git a/GMW/GMW_Reports/GMW_Reports.suo b/GMW/GMW_Reports/GMW_Reports.suo new file mode 100644 index 00000000..a1bdbcca Binary files /dev/null and b/GMW/GMW_Reports/GMW_Reports.suo differ diff --git a/GMW/GMW_Reports/app.config b/GMW/GMW_Reports/app.config index 51139981..100cc644 100644 --- a/GMW/GMW_Reports/app.config +++ b/GMW/GMW_Reports/app.config @@ -1,10 +1,10 @@  - - - - - + + + + + \ No newline at end of file diff --git a/GMW/GMW_Reports/bin/Debug/GMW_Reports.vshost.exe.manifest b/GMW/GMW_Reports/bin/Debug/GMW_Reports.vshost.exe.manifest new file mode 100644 index 00000000..f96b1d6b --- /dev/null +++ b/GMW/GMW_Reports/bin/Debug/GMW_Reports.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/GMW/GMW_Reports/obj/Debug/GMW_Reports.csproj.FileListAbsolute.txt b/GMW/GMW_Reports/obj/Debug/GMW_Reports.csproj.FileListAbsolute.txt index cb8bd5cd..cc883908 100644 --- a/GMW/GMW_Reports/obj/Debug/GMW_Reports.csproj.FileListAbsolute.txt +++ b/GMW/GMW_Reports/obj/Debug/GMW_Reports.csproj.FileListAbsolute.txt @@ -9,3 +9,6 @@ C:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW_Reports\obj\Debug C:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW_Reports\obj\Debug\RdlCompile.compiled C:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW_Reports\obj\Debug\GMW_Reports.exe C:\Users\samuele\Documents\Visual Studio 2008\Projects\GMW\GMW_Reports\obj\Debug\GMW_Reports.pdb +c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Reports\bin\Debug\GMW_Reports.exe.config +c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Reports\obj\Debug\GMW_Reports.exe +c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Reports\obj\Debug\GMW_Reports.pdb diff --git a/GMW/GMW_Reports/obj/Debug/TempPE/GMWDataSet.Designer.cs.dll b/GMW/GMW_Reports/obj/Debug/TempPE/GMWDataSet.Designer.cs.dll index 19136a07..d2920362 100644 Binary files a/GMW/GMW_Reports/obj/Debug/TempPE/GMWDataSet.Designer.cs.dll and b/GMW/GMW_Reports/obj/Debug/TempPE/GMWDataSet.Designer.cs.dll differ diff --git a/GMW/GMW_Reports/obj/Debug/TempPE/GMWDataSet1.Designer.cs.dll b/GMW/GMW_Reports/obj/Debug/TempPE/GMWDataSet1.Designer.cs.dll new file mode 100644 index 00000000..25e93615 Binary files /dev/null and b/GMW/GMW_Reports/obj/Debug/TempPE/GMWDataSet1.Designer.cs.dll differ diff --git a/GMW/GMW_WS/GMW_WS.csproj b/GMW/GMW_WS/GMW_WS.csproj index e548cfb7..04464811 100644 --- a/GMW/GMW_WS/GMW_WS.csproj +++ b/GMW/GMW_WS/GMW_WS.csproj @@ -90,9 +90,12 @@
- - + + + + + diff --git a/GMW/GMW_WS/Reports/CartellinoFinito.rdlc b/GMW/GMW_WS/Reports/CartellinoFinito.rdlc new file mode 100644 index 00000000..d16c5381 --- /dev/null +++ b/GMW/GMW_WS/Reports/CartellinoFinito.rdlc @@ -0,0 +1,258 @@ + + + + + d9194145-aa70-4a36-8b7a-c929936f98f7 + + + + + + + + + 14.8cm + true + 21cm + 0.25cm + true + 0.5cm + 0.5cm + 0.5cm + 3255cde9-74a1-4005-8008-232d8355d769 + 21cm + + + + + CodCompany + System.String + + + ODP + System.String + + + UDC + System.String + + + Tara + System.Double + + + IdxStato + System.Int32 + + + Qta + System.Decimal + + + CodImballo + System.String + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + + GMWConnectionString + dbo.stp_prtCartByUDC + true + + + GMWDataSet + stp_prtCartByUDC + + + + + GetData + + + + + 20cm + + 1cm + + + textbox1 + 12.69841cm + + 1 + true + 0.91429cm + Cartellino Tara + + + GMWDataSet_stp_prtCartByUDC + 4cm + + + + + =Fields!UDC.Value + + + + + =Fields!UDC.Value + Ascending + + +
+ + + + + 3 + + + UDC + + true + ="*" & Fields!UDC.Value & "*" + + + + + 3.50781cm + + +
+
+
+ 19cm +
+ + + + + + + textbox4 + + true + Tara + + + + + + + Tara + + true + =Fields!Tara.Value & " Kg" + + + + + + + CreateDate + + true + =Fields!CreateDate.Value + + + + + 3.50781cm + + +
+ + + 6.31847cm + + + 6.36305cm + + + 6.31848cm + + + 7.01562cm + 0.5cm +
+
+ 13.5cm + + it-IT + 0.5cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/GMW_WS/Reports/CartellinoFus.rdlc b/GMW/GMW_WS/Reports/CartellinoFus.rdlc new file mode 100644 index 00000000..d16c5381 --- /dev/null +++ b/GMW/GMW_WS/Reports/CartellinoFus.rdlc @@ -0,0 +1,258 @@ + + + + + d9194145-aa70-4a36-8b7a-c929936f98f7 + + + + + + + + + 14.8cm + true + 21cm + 0.25cm + true + 0.5cm + 0.5cm + 0.5cm + 3255cde9-74a1-4005-8008-232d8355d769 + 21cm + + + + + CodCompany + System.String + + + ODP + System.String + + + UDC + System.String + + + Tara + System.Double + + + IdxStato + System.Int32 + + + Qta + System.Decimal + + + CodImballo + System.String + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + + GMWConnectionString + dbo.stp_prtCartByUDC + true + + + GMWDataSet + stp_prtCartByUDC + + + + + GetData + + + + + 20cm + + 1cm + + + textbox1 + 12.69841cm + + 1 + true + 0.91429cm + Cartellino Tara + + + GMWDataSet_stp_prtCartByUDC + 4cm + + + + + =Fields!UDC.Value + + + + + =Fields!UDC.Value + Ascending + + +
+ + + + + 3 + + + UDC + + true + ="*" & Fields!UDC.Value & "*" + + + + + 3.50781cm + + +
+
+
+ 19cm +
+ + + + + + + textbox4 + + true + Tara + + + + + + + Tara + + true + =Fields!Tara.Value & " Kg" + + + + + + + CreateDate + + true + =Fields!CreateDate.Value + + + + + 3.50781cm + + +
+ + + 6.31847cm + + + 6.36305cm + + + 6.31848cm + + + 7.01562cm + 0.5cm +
+
+ 13.5cm + + it-IT + 0.5cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/GMW_WS/Reports/CartellinoMP.rdlc b/GMW/GMW_WS/Reports/CartellinoMP.rdlc new file mode 100644 index 00000000..d16c5381 --- /dev/null +++ b/GMW/GMW_WS/Reports/CartellinoMP.rdlc @@ -0,0 +1,258 @@ + + + + + d9194145-aa70-4a36-8b7a-c929936f98f7 + + + + + + + + + 14.8cm + true + 21cm + 0.25cm + true + 0.5cm + 0.5cm + 0.5cm + 3255cde9-74a1-4005-8008-232d8355d769 + 21cm + + + + + CodCompany + System.String + + + ODP + System.String + + + UDC + System.String + + + Tara + System.Double + + + IdxStato + System.Int32 + + + Qta + System.Decimal + + + CodImballo + System.String + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + + GMWConnectionString + dbo.stp_prtCartByUDC + true + + + GMWDataSet + stp_prtCartByUDC + + + + + GetData + + + + + 20cm + + 1cm + + + textbox1 + 12.69841cm + + 1 + true + 0.91429cm + Cartellino Tara + + + GMWDataSet_stp_prtCartByUDC + 4cm + + + + + =Fields!UDC.Value + + + + + =Fields!UDC.Value + Ascending + + +
+ + + + + 3 + + + UDC + + true + ="*" & Fields!UDC.Value & "*" + + + + + 3.50781cm + + +
+
+
+ 19cm +
+ + + + + + + textbox4 + + true + Tara + + + + + + + Tara + + true + =Fields!Tara.Value & " Kg" + + + + + + + CreateDate + + true + =Fields!CreateDate.Value + + + + + 3.50781cm + + +
+ + + 6.31847cm + + + 6.36305cm + + + 6.31848cm + + + 7.01562cm + 0.5cm +
+
+ 13.5cm + + it-IT + 0.5cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/GMW_WS/Reports/CartellinoPesa.rdlc b/GMW/GMW_WS/Reports/CartellinoPesa.rdlc new file mode 100644 index 00000000..d16c5381 --- /dev/null +++ b/GMW/GMW_WS/Reports/CartellinoPesa.rdlc @@ -0,0 +1,258 @@ + + + + + d9194145-aa70-4a36-8b7a-c929936f98f7 + + + + + + + + + 14.8cm + true + 21cm + 0.25cm + true + 0.5cm + 0.5cm + 0.5cm + 3255cde9-74a1-4005-8008-232d8355d769 + 21cm + + + + + CodCompany + System.String + + + ODP + System.String + + + UDC + System.String + + + Tara + System.Double + + + IdxStato + System.Int32 + + + Qta + System.Decimal + + + CodImballo + System.String + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + + GMWConnectionString + dbo.stp_prtCartByUDC + true + + + GMWDataSet + stp_prtCartByUDC + + + + + GetData + + + + + 20cm + + 1cm + + + textbox1 + 12.69841cm + + 1 + true + 0.91429cm + Cartellino Tara + + + GMWDataSet_stp_prtCartByUDC + 4cm + + + + + =Fields!UDC.Value + + + + + =Fields!UDC.Value + Ascending + + +
+ + + + + 3 + + + UDC + + true + ="*" & Fields!UDC.Value & "*" + + + + + 3.50781cm + + +
+
+
+ 19cm +
+ + + + + + + textbox4 + + true + Tara + + + + + + + Tara + + true + =Fields!Tara.Value & " Kg" + + + + + + + CreateDate + + true + =Fields!CreateDate.Value + + + + + 3.50781cm + + +
+ + + 6.31847cm + + + 6.36305cm + + + 6.31848cm + + + 7.01562cm + 0.5cm +
+
+ 13.5cm + + it-IT + 0.5cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/GMW_WS/Reports/CartellinoWip.rdlc b/GMW/GMW_WS/Reports/CartellinoWip.rdlc new file mode 100644 index 00000000..d16c5381 --- /dev/null +++ b/GMW/GMW_WS/Reports/CartellinoWip.rdlc @@ -0,0 +1,258 @@ + + + + + d9194145-aa70-4a36-8b7a-c929936f98f7 + + + + + + + + + 14.8cm + true + 21cm + 0.25cm + true + 0.5cm + 0.5cm + 0.5cm + 3255cde9-74a1-4005-8008-232d8355d769 + 21cm + + + + + CodCompany + System.String + + + ODP + System.String + + + UDC + System.String + + + Tara + System.Double + + + IdxStato + System.Int32 + + + Qta + System.Decimal + + + CodImballo + System.String + + + CreateDate + System.DateTime + + + ModDate + System.DateTime + + + + GMWConnectionString + dbo.stp_prtCartByUDC + true + + + GMWDataSet + stp_prtCartByUDC + + + + + GetData + + + + + 20cm + + 1cm + + + textbox1 + 12.69841cm + + 1 + true + 0.91429cm + Cartellino Tara + + + GMWDataSet_stp_prtCartByUDC + 4cm + + + + + =Fields!UDC.Value + + + + + =Fields!UDC.Value + Ascending + + +
+ + + + + 3 + + + UDC + + true + ="*" & Fields!UDC.Value & "*" + + + + + 3.50781cm + + +
+
+
+ 19cm +
+ + + + + + + textbox4 + + true + Tara + + + + + + + Tara + + true + =Fields!Tara.Value & " Kg" + + + + + + + CreateDate + + true + =Fields!CreateDate.Value + + + + + 3.50781cm + + +
+ + + 6.31847cm + + + 6.36305cm + + + 6.31848cm + + + 7.01562cm + 0.5cm +
+
+ 13.5cm + + it-IT + 0.5cm + 14.8cm +
\ No newline at end of file diff --git a/GMW/GMW_WS/Web.config b/GMW/GMW_WS/Web.config index ca09db2a..d651ba74 100644 --- a/GMW/GMW_WS/Web.config +++ b/GMW/GMW_WS/Web.config @@ -88,7 +88,7 @@ - + @@ -125,19 +125,31 @@ - - + - + - + + + + + + + + + + + + + + diff --git a/GMW/GMW_WS/bin/GMW.dll b/GMW/GMW_WS/bin/GMW.dll index c999ce04..0f6327b4 100644 Binary files a/GMW/GMW_WS/bin/GMW.dll and b/GMW/GMW_WS/bin/GMW.dll differ diff --git a/GMW/GMW_WS/bin/GMW_WS.dll b/GMW/GMW_WS/bin/GMW_WS.dll index 5f72085b..611f4702 100644 Binary files a/GMW/GMW_WS/bin/GMW_WS.dll and b/GMW/GMW_WS/bin/GMW_WS.dll differ diff --git a/GMW/GMW_WS/bin/GMW_data.dll b/GMW/GMW_WS/bin/GMW_data.dll index 08929d0d..66fcc936 100644 Binary files a/GMW/GMW_WS/bin/GMW_data.dll and b/GMW/GMW_WS/bin/GMW_data.dll differ diff --git a/GMW/GMW_WS/bin/SteamWare.dll b/GMW/GMW_WS/bin/SteamWare.dll index d2716eb5..e6ea3f5d 100644 Binary files a/GMW/GMW_WS/bin/SteamWare.dll and b/GMW/GMW_WS/bin/SteamWare.dll differ diff --git a/GMW/GMW_WS/mazzAppSettings.config b/GMW/GMW_WS/mazzAppSettings.config index bdd3db07..a527e921 100644 --- a/GMW/GMW_WS/mazzAppSettings.config +++ b/GMW/GMW_WS/mazzAppSettings.config @@ -6,7 +6,7 @@ - + @@ -43,19 +43,31 @@ - - + - + - + + + + + + + + + + + + + + diff --git a/GMW/GMW_WS/obj/Debug/GMW_WS.dll b/GMW/GMW_WS/obj/Debug/GMW_WS.dll index 32168fc9..611f4702 100644 Binary files a/GMW/GMW_WS/obj/Debug/GMW_WS.dll and b/GMW/GMW_WS/obj/Debug/GMW_WS.dll differ diff --git a/GMW/GMW_WS/obj/Debug/ResolveAssemblyReference.cache b/GMW/GMW_WS/obj/Debug/ResolveAssemblyReference.cache index 80ac405c..a50ba512 100644 Binary files a/GMW/GMW_WS/obj/Debug/ResolveAssemblyReference.cache and b/GMW/GMW_WS/obj/Debug/ResolveAssemblyReference.cache differ diff --git a/GMW/GMW_WS/obj/Release/GMW_WS.dll b/GMW/GMW_WS/obj/Release/GMW_WS.dll index 5f72085b..beca4f17 100644 Binary files a/GMW/GMW_WS/obj/Release/GMW_WS.dll and b/GMW/GMW_WS/obj/Release/GMW_WS.dll differ diff --git a/GMW/GMW_WS/obj/Release/ResolveAssemblyReference.cache b/GMW/GMW_WS/obj/Release/ResolveAssemblyReference.cache index bcd2e5d4..b0dfb4e5 100644 Binary files a/GMW/GMW_WS/obj/Release/ResolveAssemblyReference.cache and b/GMW/GMW_WS/obj/Release/ResolveAssemblyReference.cache differ diff --git a/GMW/GMW_WS_installer/GMW_WS_installer.vdproj b/GMW/GMW_WS_installer/GMW_WS_installer.vdproj index 525bbb78..9846e4e8 100644 --- a/GMW/GMW_WS_installer/GMW_WS_installer.vdproj +++ b/GMW/GMW_WS_installer/GMW_WS_installer.vdproj @@ -344,14 +344,14 @@ { "Name" = "8:Microsoft Visual Studio" "ProductName" = "8:GMW_WS" - "ProductCode" = "8:{3898BCD2-D214-4E59-A4C9-88F2CE095349}" - "PackageCode" = "8:{17C3C513-8A05-4A9C-9EF8-BE74F46E8DF3}" + "ProductCode" = "8:{E88B97BB-431C-4393-8EBD-2E5BCD897DE8}" + "PackageCode" = "8:{8D06289D-3CB8-4E49-B50D-F7AED9C3EEE9}" "UpgradeCode" = "8:{BA470335-3D4B-4C20-8152-90A5F0F14FE0}" "RestartWWWService" = "11:TRUE" "RemovePreviousVersions" = "11:TRUE" "DetectNewerInstalledVersion" = "11:TRUE" "InstallAllUsers" = "11:FALSE" - "ProductVersion" = "8:1.0.270" + "ProductVersion" = "8:1.0.275" "Manufacturer" = "8:SteamWare s.r.l." "ARPHELPTELEPHONE" = "8:+39-035460560" "ARPHELPLINK" = "8:http://www.steamware.net" diff --git a/GMW/GMW_WS_installer/Release/GMW_WS_installer.msi b/GMW/GMW_WS_installer/Release/GMW_WS_installer.msi index 52878b7e..846d2dc0 100644 Binary files a/GMW/GMW_WS_installer/Release/GMW_WS_installer.msi and b/GMW/GMW_WS_installer/Release/GMW_WS_installer.msi differ diff --git a/GMW/GMW_data/DS_Applicazione.Designer.cs b/GMW/GMW_data/DS_Applicazione.Designer.cs index 2a92984a..472dd3de 100644 --- a/GMW/GMW_data/DS_Applicazione.Designer.cs +++ b/GMW/GMW_data/DS_Applicazione.Designer.cs @@ -57,6 +57,8 @@ namespace GMW_data { private Soggetti2UtenteDataTable tableSoggetti2Utente; + private stp_prtCartMatPrimaByUDCDataTable tablestp_prtCartMatPrimaByUDC; + private global::System.Data.DataRelation relationFK_AnagImpianti_AnagCompanySito; private global::System.Data.DataRelation relationFK_ElencoCartellini_AnagCompanySito; @@ -143,6 +145,9 @@ namespace GMW_data { if ((ds.Tables["Soggetti2Utente"] != null)) { base.Tables.Add(new Soggetti2UtenteDataTable(ds.Tables["Soggetti2Utente"])); } + if ((ds.Tables["stp_prtCartMatPrimaByUDC"] != null)) { + base.Tables.Add(new stp_prtCartMatPrimaByUDCDataTable(ds.Tables["stp_prtCartMatPrimaByUDC"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -305,6 +310,15 @@ namespace GMW_data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_prtCartMatPrimaByUDCDataTable stp_prtCartMatPrimaByUDC { + get { + return this.tablestp_prtCartMatPrimaByUDC; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.BrowsableAttribute(true)] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] @@ -412,6 +426,9 @@ namespace GMW_data { if ((ds.Tables["Soggetti2Utente"] != null)) { base.Tables.Add(new Soggetti2UtenteDataTable(ds.Tables["Soggetti2Utente"])); } + if ((ds.Tables["stp_prtCartMatPrimaByUDC"] != null)) { + base.Tables.Add(new stp_prtCartMatPrimaByUDCDataTable(ds.Tables["stp_prtCartMatPrimaByUDC"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -538,6 +555,12 @@ namespace GMW_data { this.tableSoggetti2Utente.InitVars(); } } + this.tablestp_prtCartMatPrimaByUDC = ((stp_prtCartMatPrimaByUDCDataTable)(base.Tables["stp_prtCartMatPrimaByUDC"])); + if ((initTable == true)) { + if ((this.tablestp_prtCartMatPrimaByUDC != null)) { + this.tablestp_prtCartMatPrimaByUDC.InitVars(); + } + } this.relationFK_AnagImpianti_AnagCompanySito = this.Relations["FK_AnagImpianti_AnagCompanySito"]; this.relationFK_ElencoCartellini_AnagCompanySito = this.Relations["FK_ElencoCartellini_AnagCompanySito"]; this.relationFK_ElencoCartellini_AnagStatiProdotto = this.Relations["FK_ElencoCartellini_AnagStatiProdotto"]; @@ -585,6 +608,8 @@ namespace GMW_data { base.Tables.Add(this.tableAnagFamiglie); this.tableSoggetti2Utente = new Soggetti2UtenteDataTable(); base.Tables.Add(this.tableSoggetti2Utente); + this.tablestp_prtCartMatPrimaByUDC = new stp_prtCartMatPrimaByUDCDataTable(); + base.Tables.Add(this.tablestp_prtCartMatPrimaByUDC); this.relationFK_AnagImpianti_AnagCompanySito = new global::System.Data.DataRelation("FK_AnagImpianti_AnagCompanySito", new global::System.Data.DataColumn[] { this.tableAnagCompanySito.CodCSColumn}, new global::System.Data.DataColumn[] { this.tableAnagImpianti.CodCSColumn}, false); @@ -691,6 +716,11 @@ namespace GMW_data { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializestp_prtCartMatPrimaByUDC() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { @@ -776,6 +806,8 @@ namespace GMW_data { public delegate void Soggetti2UtenteRowChangeEventHandler(object sender, Soggetti2UtenteRowChangeEvent e); + public delegate void stp_prtCartMatPrimaByUDCRowChangeEventHandler(object sender, stp_prtCartMatPrimaByUDCRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -6079,6 +6111,503 @@ namespace GMW_data { } } + /// + ///Represents the strongly named DataTable class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.Serializable()] + [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] + public partial class stp_prtCartMatPrimaByUDCDataTable : global::System.Data.TypedTableBase { + + private global::System.Data.DataColumn columnnRapQual; + + private global::System.Data.DataColumn columnDataRapQual; + + private global::System.Data.DataColumn columnProgUDC; + + private global::System.Data.DataColumn columnCodFor; + + private global::System.Data.DataColumn columnDestTerz; + + private global::System.Data.DataColumn columnCodLega; + + private global::System.Data.DataColumn columnDataPrelFus; + + private global::System.Data.DataColumn columnTurnoPrelFus; + + private global::System.Data.DataColumn columnQta; + + private global::System.Data.DataColumn columnDestLega; + + private global::System.Data.DataColumn columnLegaScaric; + + private global::System.Data.DataColumn columnBenesQual; + + private global::System.Data.DataColumn columnUDC; + + private global::System.Data.DataColumn columnDescFornitore; + + private global::System.Data.DataColumn columnDescFornitore2; + + private global::System.Data.DataColumn columnCodLega2; + + private global::System.Data.DataColumn columnDescLega; + + private global::System.Data.DataColumn columnDescLega2; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCDataTable() { + this.TableName = "stp_prtCartMatPrimaByUDC"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal stp_prtCartMatPrimaByUDCDataTable(global::System.Data.DataTable table) { + this.TableName = table.TableName; + if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { + this.CaseSensitive = table.CaseSensitive; + } + if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { + this.Locale = table.Locale; + } + if ((table.Namespace != table.DataSet.Namespace)) { + this.Namespace = table.Namespace; + } + this.Prefix = table.Prefix; + this.MinimumCapacity = table.MinimumCapacity; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected stp_prtCartMatPrimaByUDCDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + base(info, context) { + this.InitVars(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn nRapQualColumn { + get { + return this.columnnRapQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DataRapQualColumn { + get { + return this.columnDataRapQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn ProgUDCColumn { + get { + return this.columnProgUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodForColumn { + get { + return this.columnCodFor; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DestTerzColumn { + get { + return this.columnDestTerz; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodLegaColumn { + get { + return this.columnCodLega; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DataPrelFusColumn { + get { + return this.columnDataPrelFus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn TurnoPrelFusColumn { + get { + return this.columnTurnoPrelFus; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn QtaColumn { + get { + return this.columnQta; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DestLegaColumn { + get { + return this.columnDestLega; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn LegaScaricColumn { + get { + return this.columnLegaScaric; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn BenesQualColumn { + get { + return this.columnBenesQual; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn UDCColumn { + get { + return this.columnUDC; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescFornitoreColumn { + get { + return this.columnDescFornitore; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescFornitore2Column { + get { + return this.columnDescFornitore2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn CodLega2Column { + get { + return this.columnCodLega2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescLegaColumn { + get { + return this.columnDescLega; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn DescLega2Column { + get { + return this.columnDescLega2; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCRow this[int index] { + get { + return ((stp_prtCartMatPrimaByUDCRow)(this.Rows[index])); + } + } + + public event stp_prtCartMatPrimaByUDCRowChangeEventHandler stp_prtCartMatPrimaByUDCRowChanging; + + public event stp_prtCartMatPrimaByUDCRowChangeEventHandler stp_prtCartMatPrimaByUDCRowChanged; + + public event stp_prtCartMatPrimaByUDCRowChangeEventHandler stp_prtCartMatPrimaByUDCRowDeleting; + + public event stp_prtCartMatPrimaByUDCRowChangeEventHandler stp_prtCartMatPrimaByUDCRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addstp_prtCartMatPrimaByUDCRow(stp_prtCartMatPrimaByUDCRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCRow Addstp_prtCartMatPrimaByUDCRow( + decimal nRapQual, + decimal DataRapQual, + string ProgUDC, + string CodFor, + string DestTerz, + string CodLega, + decimal DataPrelFus, + string TurnoPrelFus, + decimal Qta, + string DestLega, + string LegaScaric, + string BenesQual, + string UDC, + string DescFornitore, + string DescFornitore2, + string CodLega2, + string DescLega, + string DescLega2) { + stp_prtCartMatPrimaByUDCRow rowstp_prtCartMatPrimaByUDCRow = ((stp_prtCartMatPrimaByUDCRow)(this.NewRow())); + object[] columnValuesArray = new object[] { + nRapQual, + DataRapQual, + ProgUDC, + CodFor, + DestTerz, + CodLega, + DataPrelFus, + TurnoPrelFus, + Qta, + DestLega, + LegaScaric, + BenesQual, + UDC, + DescFornitore, + DescFornitore2, + CodLega2, + DescLega, + DescLega2}; + rowstp_prtCartMatPrimaByUDCRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_prtCartMatPrimaByUDCRow); + return rowstp_prtCartMatPrimaByUDCRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCRow FindByProgUDC(string ProgUDC) { + return ((stp_prtCartMatPrimaByUDCRow)(this.Rows.Find(new object[] { + ProgUDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + stp_prtCartMatPrimaByUDCDataTable cln = ((stp_prtCartMatPrimaByUDCDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_prtCartMatPrimaByUDCDataTable(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal void InitVars() { + this.columnnRapQual = base.Columns["nRapQual"]; + this.columnDataRapQual = base.Columns["DataRapQual"]; + this.columnProgUDC = base.Columns["ProgUDC"]; + this.columnCodFor = base.Columns["CodFor"]; + this.columnDestTerz = base.Columns["DestTerz"]; + this.columnCodLega = base.Columns["CodLega"]; + this.columnDataPrelFus = base.Columns["DataPrelFus"]; + this.columnTurnoPrelFus = base.Columns["TurnoPrelFus"]; + this.columnQta = base.Columns["Qta"]; + this.columnDestLega = base.Columns["DestLega"]; + this.columnLegaScaric = base.Columns["LegaScaric"]; + this.columnBenesQual = base.Columns["BenesQual"]; + this.columnUDC = base.Columns["UDC"]; + this.columnDescFornitore = base.Columns["DescFornitore"]; + this.columnDescFornitore2 = base.Columns["DescFornitore2"]; + this.columnCodLega2 = base.Columns["CodLega2"]; + this.columnDescLega = base.Columns["DescLega"]; + this.columnDescLega2 = base.Columns["DescLega2"]; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitClass() { + this.columnnRapQual = new global::System.Data.DataColumn("nRapQual", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnnRapQual); + this.columnDataRapQual = new global::System.Data.DataColumn("DataRapQual", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataRapQual); + this.columnProgUDC = new global::System.Data.DataColumn("ProgUDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnProgUDC); + this.columnCodFor = new global::System.Data.DataColumn("CodFor", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodFor); + this.columnDestTerz = new global::System.Data.DataColumn("DestTerz", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDestTerz); + this.columnCodLega = new global::System.Data.DataColumn("CodLega", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodLega); + this.columnDataPrelFus = new global::System.Data.DataColumn("DataPrelFus", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDataPrelFus); + this.columnTurnoPrelFus = new global::System.Data.DataColumn("TurnoPrelFus", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnTurnoPrelFus); + this.columnQta = new global::System.Data.DataColumn("Qta", typeof(decimal), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnQta); + this.columnDestLega = new global::System.Data.DataColumn("DestLega", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDestLega); + this.columnLegaScaric = new global::System.Data.DataColumn("LegaScaric", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnLegaScaric); + this.columnBenesQual = new global::System.Data.DataColumn("BenesQual", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBenesQual); + this.columnUDC = new global::System.Data.DataColumn("UDC", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnUDC); + this.columnDescFornitore = new global::System.Data.DataColumn("DescFornitore", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescFornitore); + this.columnDescFornitore2 = new global::System.Data.DataColumn("DescFornitore2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescFornitore2); + this.columnCodLega2 = new global::System.Data.DataColumn("CodLega2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnCodLega2); + this.columnDescLega = new global::System.Data.DataColumn("DescLega", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescLega); + this.columnDescLega2 = new global::System.Data.DataColumn("DescLega2", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnDescLega2); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnProgUDC}, true)); + this.columnnRapQual.AllowDBNull = false; + this.columnDataRapQual.AllowDBNull = false; + this.columnProgUDC.AllowDBNull = false; + this.columnProgUDC.Unique = true; + this.columnProgUDC.MaxLength = 10; + this.columnCodFor.AllowDBNull = false; + this.columnCodFor.MaxLength = 6; + this.columnDestTerz.AllowDBNull = false; + this.columnDestTerz.MaxLength = 6; + this.columnCodLega.AllowDBNull = false; + this.columnCodLega.MaxLength = 15; + this.columnDataPrelFus.AllowDBNull = false; + this.columnTurnoPrelFus.AllowDBNull = false; + this.columnTurnoPrelFus.MaxLength = 5; + this.columnQta.AllowDBNull = false; + this.columnDestLega.AllowDBNull = false; + this.columnDestLega.MaxLength = 3; + this.columnLegaScaric.AllowDBNull = false; + this.columnLegaScaric.MaxLength = 1; + this.columnBenesQual.AllowDBNull = false; + this.columnBenesQual.MaxLength = 1; + this.columnUDC.MaxLength = 50; + this.columnDescFornitore.MaxLength = 35; + this.columnDescFornitore2.MaxLength = 35; + this.columnCodLega2.MaxLength = 12; + this.columnDescLega.MaxLength = 25; + this.columnDescLega2.MaxLength = 25; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCRow Newstp_prtCartMatPrimaByUDCRow() { + return ((stp_prtCartMatPrimaByUDCRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_prtCartMatPrimaByUDCRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(stp_prtCartMatPrimaByUDCRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_prtCartMatPrimaByUDCRowChanged != null)) { + this.stp_prtCartMatPrimaByUDCRowChanged(this, new stp_prtCartMatPrimaByUDCRowChangeEvent(((stp_prtCartMatPrimaByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_prtCartMatPrimaByUDCRowChanging != null)) { + this.stp_prtCartMatPrimaByUDCRowChanging(this, new stp_prtCartMatPrimaByUDCRowChangeEvent(((stp_prtCartMatPrimaByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_prtCartMatPrimaByUDCRowDeleted != null)) { + this.stp_prtCartMatPrimaByUDCRowDeleted(this, new stp_prtCartMatPrimaByUDCRowChangeEvent(((stp_prtCartMatPrimaByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_prtCartMatPrimaByUDCRowDeleting != null)) { + this.stp_prtCartMatPrimaByUDCRowDeleting(this, new stp_prtCartMatPrimaByUDCRowChangeEvent(((stp_prtCartMatPrimaByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removestp_prtCartMatPrimaByUDCRow(stp_prtCartMatPrimaByUDCRow row) { + this.Rows.Remove(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { + global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); + global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); + DS_Applicazione ds = new DS_Applicazione(); + global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); + any1.Namespace = "http://www.w3.org/2001/XMLSchema"; + any1.MinOccurs = new decimal(0); + any1.MaxOccurs = decimal.MaxValue; + any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any1); + global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); + any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; + any2.MinOccurs = new decimal(1); + any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; + sequence.Items.Add(any2); + global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute1.Name = "namespace"; + attribute1.FixedValue = ds.Namespace; + type.Attributes.Add(attribute1); + global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); + attribute2.Name = "tableTypeName"; + attribute2.FixedValue = "stp_prtCartMatPrimaByUDCDataTable"; + type.Attributes.Add(attribute2); + type.Particle = sequence; + global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); + if (xs.Contains(dsSchema.TargetNamespace)) { + global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); + global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); + try { + global::System.Xml.Schema.XmlSchema schema = null; + dsSchema.Write(s1); + for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { + schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); + s2.SetLength(0); + schema.Write(s2); + if ((s1.Length == s2.Length)) { + s1.Position = 0; + s2.Position = 0; + for (; ((s1.Position != s1.Length) + && (s1.ReadByte() == s2.ReadByte())); ) { + ; + } + if ((s1.Position == s1.Length)) { + return type; + } + } + } + } + finally { + if ((s1 != null)) { + s1.Close(); + } + if ((s2 != null)) { + s2.Close(); + } + } + } + xs.Add(dsSchema); + return type; + } + } + /// ///Represents strongly named DataRow class. /// @@ -8945,6 +9474,293 @@ namespace GMW_data { } } + /// + ///Represents strongly named DataRow class. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public partial class stp_prtCartMatPrimaByUDCRow : global::System.Data.DataRow { + + private stp_prtCartMatPrimaByUDCDataTable tablestp_prtCartMatPrimaByUDC; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal stp_prtCartMatPrimaByUDCRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_prtCartMatPrimaByUDC = ((stp_prtCartMatPrimaByUDCDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal nRapQual { + get { + return ((decimal)(this[this.tablestp_prtCartMatPrimaByUDC.nRapQualColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.nRapQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal DataRapQual { + get { + return ((decimal)(this[this.tablestp_prtCartMatPrimaByUDC.DataRapQualColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DataRapQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string ProgUDC { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.ProgUDCColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.ProgUDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodFor { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.CodForColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.CodForColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DestTerz { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DestTerzColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DestTerzColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodLega { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.CodLegaColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.CodLegaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal DataPrelFus { + get { + return ((decimal)(this[this.tablestp_prtCartMatPrimaByUDC.DataPrelFusColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DataPrelFusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string TurnoPrelFus { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.TurnoPrelFusColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.TurnoPrelFusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal Qta { + get { + return ((decimal)(this[this.tablestp_prtCartMatPrimaByUDC.QtaColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.QtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DestLega { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DestLegaColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DestLegaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string LegaScaric { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.LegaScaricColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.LegaScaricColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string BenesQual { + get { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.BenesQualColumn])); + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.BenesQualColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string UDC { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.UDCColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'UDC\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescFornitore { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DescFornitoreColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescFornitore\' in table \'stp_prtCartMatPrimaByUDC\' is DBNul" + + "l.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DescFornitoreColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescFornitore2 { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DescFornitore2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescFornitore2\' in table \'stp_prtCartMatPrimaByUDC\' is DBNu" + + "ll.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DescFornitore2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodLega2 { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.CodLega2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodLega2\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.CodLega2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescLega { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DescLegaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescLega\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DescLegaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescLega2 { + get { + try { + return ((string)(this[this.tablestp_prtCartMatPrimaByUDC.DescLega2Column])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescLega2\' in table \'stp_prtCartMatPrimaByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartMatPrimaByUDC.DescLega2Column] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsUDCNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.UDCColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetUDCNull() { + this[this.tablestp_prtCartMatPrimaByUDC.UDCColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescFornitoreNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.DescFornitoreColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescFornitoreNull() { + this[this.tablestp_prtCartMatPrimaByUDC.DescFornitoreColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescFornitore2Null() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.DescFornitore2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescFornitore2Null() { + this[this.tablestp_prtCartMatPrimaByUDC.DescFornitore2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCodLega2Null() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.CodLega2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCodLega2Null() { + this[this.tablestp_prtCartMatPrimaByUDC.CodLega2Column] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescLegaNull() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.DescLegaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescLegaNull() { + this[this.tablestp_prtCartMatPrimaByUDC.DescLegaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescLega2Null() { + return this.IsNull(this.tablestp_prtCartMatPrimaByUDC.DescLega2Column); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescLega2Null() { + this[this.tablestp_prtCartMatPrimaByUDC.DescLega2Column] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -9440,6 +10256,37 @@ namespace GMW_data { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class stp_prtCartMatPrimaByUDCRowChangeEvent : global::System.EventArgs { + + private stp_prtCartMatPrimaByUDCRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCRowChangeEvent(stp_prtCartMatPrimaByUDCRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace GMW_data.DS_ApplicazioneTableAdapters { @@ -17007,6 +17854,194 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = } } + /// + ///Represents the connection and commands used to retrieve and save data. + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + [global::System.ComponentModel.DesignerCategoryAttribute("code")] + [global::System.ComponentModel.ToolboxItem(true)] + [global::System.ComponentModel.DataObjectAttribute(true)] + [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public partial class stp_prtCartMatPrimaByUDCTableAdapter : global::System.ComponentModel.Component { + + private global::System.Data.SqlClient.SqlDataAdapter _adapter; + + private global::System.Data.SqlClient.SqlConnection _connection; + + private global::System.Data.SqlClient.SqlTransaction _transaction; + + private global::System.Data.SqlClient.SqlCommand[] _commandCollection; + + private bool _clearBeforeFill; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartMatPrimaByUDCTableAdapter() { + this.ClearBeforeFill = true; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter { + get { + if ((this._adapter == null)) { + this.InitAdapter(); + } + return this._adapter; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal global::System.Data.SqlClient.SqlConnection Connection { + get { + if ((this._connection == null)) { + this.InitConnection(); + } + return this._connection; + } + set { + this._connection = value; + if ((this.Adapter.InsertCommand != null)) { + this.Adapter.InsertCommand.Connection = value; + } + if ((this.Adapter.DeleteCommand != null)) { + this.Adapter.DeleteCommand.Connection = value; + } + if ((this.Adapter.UpdateCommand != null)) { + this.Adapter.UpdateCommand.Connection = value; + } + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + if ((this.CommandCollection[i] != null)) { + ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; + } + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal global::System.Data.SqlClient.SqlTransaction Transaction { + get { + return this._transaction; + } + set { + this._transaction = value; + for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { + this.CommandCollection[i].Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.DeleteCommand != null))) { + this.Adapter.DeleteCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.InsertCommand != null))) { + this.Adapter.InsertCommand.Transaction = this._transaction; + } + if (((this.Adapter != null) + && (this.Adapter.UpdateCommand != null))) { + this.Adapter.UpdateCommand.Transaction = this._transaction; + } + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { + get { + if ((this._commandCollection == null)) { + this.InitCommandCollection(); + } + return this._commandCollection; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool ClearBeforeFill { + get { + return this._clearBeforeFill; + } + set { + this._clearBeforeFill = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitAdapter() { + this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); + global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); + tableMapping.SourceTable = "Table"; + tableMapping.DataSetTable = "stp_prtCartMatPrimaByUDC"; + tableMapping.ColumnMappings.Add("nRapQual", "nRapQual"); + tableMapping.ColumnMappings.Add("DataRapQual", "DataRapQual"); + tableMapping.ColumnMappings.Add("ProgUDC", "ProgUDC"); + tableMapping.ColumnMappings.Add("CodFor", "CodFor"); + tableMapping.ColumnMappings.Add("DestTerz", "DestTerz"); + tableMapping.ColumnMappings.Add("CodLega", "CodLega"); + tableMapping.ColumnMappings.Add("DataPrelFus", "DataPrelFus"); + tableMapping.ColumnMappings.Add("TurnoPrelFus", "TurnoPrelFus"); + tableMapping.ColumnMappings.Add("Qta", "Qta"); + tableMapping.ColumnMappings.Add("DestLega", "DestLega"); + tableMapping.ColumnMappings.Add("LegaScaric", "LegaScaric"); + tableMapping.ColumnMappings.Add("BenesQual", "BenesQual"); + tableMapping.ColumnMappings.Add("UDC", "UDC"); + tableMapping.ColumnMappings.Add("DescFornitore", "DescFornitore"); + tableMapping.ColumnMappings.Add("DescFornitore2", "DescFornitore2"); + tableMapping.ColumnMappings.Add("CodLega2", "CodLega2"); + tableMapping.ColumnMappings.Add("DescLega", "DescLega"); + tableMapping.ColumnMappings.Add("DescLega2", "DescLega2"); + this._adapter.TableMappings.Add(tableMapping); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitConnection() { + this._connection = new global::System.Data.SqlClient.SqlConnection(); + this._connection.ConnectionString = global::GMW_data.Properties.Settings.Default.GMWConnectionString; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private void InitCommandCollection() { + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; + this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[0].Connection = this.Connection; + this._commandCollection[0].CommandText = "dbo.stp_prtCartMatPrimaByUDC"; + this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] + public virtual int Fill(DS_Applicazione.stp_prtCartMatPrimaByUDCDataTable dataTable, string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + if ((this.ClearBeforeFill == true)) { + dataTable.Clear(); + } + int returnValue = this.Adapter.Fill(dataTable); + return returnValue; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] + public virtual DS_Applicazione.stp_prtCartMatPrimaByUDCDataTable GetData(string UDC) { + this.Adapter.SelectCommand = this.CommandCollection[0]; + if ((UDC == null)) { + this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC)); + } + DS_Applicazione.stp_prtCartMatPrimaByUDCDataTable dataTable = new DS_Applicazione.stp_prtCartMatPrimaByUDCDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// @@ -17390,15 +18425,6 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = allChangedRows.AddRange(updatedRows); } } - if ((this._anagStatiProdottoTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._anagStatiProdottoTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } if ((this._anagOperatoriTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.AnagOperatori.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -17408,6 +18434,15 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = allChangedRows.AddRange(updatedRows); } } + if ((this._anagStatiProdottoTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagStatiProdottoTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } if ((this._anagClientiTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -17417,15 +18452,6 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = allChangedRows.AddRange(updatedRows); } } - if ((this._anagFamiglieTableAdapter != null)) { - global::System.Data.DataRow[] updatedRows = dataSet.AnagFamiglie.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); - updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); - if (((updatedRows != null) - && (0 < updatedRows.Length))) { - result = (result + this._anagFamiglieTableAdapter.Update(updatedRows)); - allChangedRows.AddRange(updatedRows); - } - } if ((this._soggetti2UtenteTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.Soggetti2Utente.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -17435,6 +18461,15 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = allChangedRows.AddRange(updatedRows); } } + if ((this._anagFamiglieTableAdapter != null)) { + global::System.Data.DataRow[] updatedRows = dataSet.AnagFamiglie.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); + updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); + if (((updatedRows != null) + && (0 < updatedRows.Length))) { + result = (result + this._anagFamiglieTableAdapter.Update(updatedRows)); + allChangedRows.AddRange(updatedRows); + } + } if ((this._anagParticolariTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); @@ -17524,14 +18559,6 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = allAddedRows.AddRange(addedRows); } } - if ((this._anagStatiProdottoTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._anagStatiProdottoTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } if ((this._anagOperatoriTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.AnagOperatori.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -17540,6 +18567,14 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = allAddedRows.AddRange(addedRows); } } + if ((this._anagStatiProdottoTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagStatiProdottoTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } if ((this._anagClientiTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -17548,14 +18583,6 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = allAddedRows.AddRange(addedRows); } } - if ((this._anagFamiglieTableAdapter != null)) { - global::System.Data.DataRow[] addedRows = dataSet.AnagFamiglie.Select(null, null, global::System.Data.DataViewRowState.Added); - if (((addedRows != null) - && (0 < addedRows.Length))) { - result = (result + this._anagFamiglieTableAdapter.Update(addedRows)); - allAddedRows.AddRange(addedRows); - } - } if ((this._soggetti2UtenteTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.Soggetti2Utente.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -17564,6 +18591,14 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = allAddedRows.AddRange(addedRows); } } + if ((this._anagFamiglieTableAdapter != null)) { + global::System.Data.DataRow[] addedRows = dataSet.AnagFamiglie.Select(null, null, global::System.Data.DataViewRowState.Added); + if (((addedRows != null) + && (0 < addedRows.Length))) { + result = (result + this._anagFamiglieTableAdapter.Update(addedRows)); + allAddedRows.AddRange(addedRows); + } + } if ((this._anagParticolariTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.AnagParticolari.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) @@ -17701,14 +18736,6 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = allChangedRows.AddRange(deletedRows); } } - if ((this._soggetti2UtenteTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.Soggetti2Utente.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._soggetti2UtenteTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } if ((this._anagFamiglieTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.AnagFamiglie.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -17717,6 +18744,14 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = allChangedRows.AddRange(deletedRows); } } + if ((this._soggetti2UtenteTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.Soggetti2Utente.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._soggetti2UtenteTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._anagClientiTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.AnagClienti.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -17725,14 +18760,6 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = allChangedRows.AddRange(deletedRows); } } - if ((this._anagOperatoriTableAdapter != null)) { - global::System.Data.DataRow[] deletedRows = dataSet.AnagOperatori.Select(null, null, global::System.Data.DataViewRowState.Deleted); - if (((deletedRows != null) - && (0 < deletedRows.Length))) { - result = (result + this._anagOperatoriTableAdapter.Update(deletedRows)); - allChangedRows.AddRange(deletedRows); - } - } if ((this._anagStatiProdottoTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.AnagStatiProdotto.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) @@ -17741,6 +18768,14 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = allChangedRows.AddRange(deletedRows); } } + if ((this._anagOperatoriTableAdapter != null)) { + global::System.Data.DataRow[] deletedRows = dataSet.AnagOperatori.Select(null, null, global::System.Data.DataViewRowState.Deleted); + if (((deletedRows != null) + && (0 < deletedRows.Length))) { + result = (result + this._anagOperatoriTableAdapter.Update(deletedRows)); + allChangedRows.AddRange(deletedRows); + } + } if ((this._anagCompanySitoTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.AnagCompanySito.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) diff --git a/GMW/GMW_data/DS_Applicazione.xsd b/GMW/GMW_data/DS_Applicazione.xsd index 91dbdb88..433e3b4f 100644 --- a/GMW/GMW_data/DS_Applicazione.xsd +++ b/GMW/GMW_data/DS_Applicazione.xsd @@ -1365,6 +1365,42 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = + + + + + + dbo.stp_prtCartMatPrimaByUDC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1376,8 +1412,8 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - - + + @@ -1390,14 +1426,14 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + @@ -1410,14 +1446,14 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + @@ -1430,14 +1466,14 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + @@ -1450,35 +1486,35 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + - + - + - + @@ -1491,35 +1527,35 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + - + - + - + @@ -1532,21 +1568,21 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + - + @@ -1559,93 +1595,93 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + @@ -1659,28 +1695,28 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - - - - + + + + - - - - - + + + + + - + @@ -1707,96 +1743,96 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + - - - + + + - - - - + + + + - + - + - + - + - + - + - + - + - + @@ -1878,14 +1914,14 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + @@ -1898,157 +1934,157 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - + - - - - + + + + - - - - - - + + + + + + - + - + - + - + - + @@ -2061,42 +2097,42 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + - + - + - + - + @@ -2109,14 +2145,14 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + @@ -2129,21 +2165,21 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = - + - + - + @@ -2153,6 +2189,114 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2217,6 +2361,10 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto = + + + + diff --git a/GMW/GMW_data/DS_Applicazione.xss b/GMW/GMW_data/DS_Applicazione.xss index 92b288a5..1c783700 100644 --- a/GMW/GMW_data/DS_Applicazione.xss +++ b/GMW/GMW_data/DS_Applicazione.xss @@ -4,27 +4,28 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - + 1129 @@ -36,7 +37,7 @@ - + 1170 @@ -52,7 +53,7 @@ - + 336 @@ -68,7 +69,7 @@ - + 1154 @@ -84,7 +85,7 @@ - + 1248 @@ -96,7 +97,7 @@ - + 488 diff --git a/GMW/GMW_data/DataProxy.cs b/GMW/GMW_data/DataProxy.cs index 8cfb6707..bb237369 100644 --- a/GMW/GMW_data/DataProxy.cs +++ b/GMW/GMW_data/DataProxy.cs @@ -28,6 +28,7 @@ namespace GMW_data public DS_ApplicazioneTableAdapters.AnagFamiglieTableAdapter taAnagFamiglie; public DS_ApplicazioneTableAdapters.Soggetti2UtenteTableAdapter taSogg2Oper; public DS_ApplicazioneTableAdapters.stp_prtCartByUDCTableAdapter taPrtCart; + public DS_ApplicazioneTableAdapters.stp_prtCartMatPrimaByUDCTableAdapter taPrtCartMP; /// /// init dei table adapters @@ -49,6 +50,7 @@ namespace GMW_data taAnagFamiglie = new GMW_data.DS_ApplicazioneTableAdapters.AnagFamiglieTableAdapter(); taSogg2Oper = new GMW_data.DS_ApplicazioneTableAdapters.Soggetti2UtenteTableAdapter(); taPrtCart = new GMW_data.DS_ApplicazioneTableAdapters.stp_prtCartByUDCTableAdapter(); + taPrtCartMP = new GMW_data.DS_ApplicazioneTableAdapters.stp_prtCartMatPrimaByUDCTableAdapter(); } /// /// effettua setup dei connection strings da web.config delal singola applicazione @@ -70,7 +72,8 @@ namespace GMW_data taAnagParticolari.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); taAnagFamiglie.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); taSogg2Oper.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); - taPrtCart.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); + taPrtCart.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); + taPrtCartMP.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString"); } #endregion diff --git a/GMW/GMW_data/GMW_data.csproj b/GMW/GMW_data/GMW_data.csproj index 1d138929..49d6f890 100644 --- a/GMW/GMW_data/GMW_data.csproj +++ b/GMW/GMW_data/GMW_data.csproj @@ -84,7 +84,6 @@ True Settings.settings - diff --git a/GMW/GMW_data/MagClass.cs b/GMW/GMW_data/MagClass.cs index 93635e61..be1b41e1 100644 --- a/GMW/GMW_data/MagClass.cs +++ b/GMW/GMW_data/MagClass.cs @@ -1133,7 +1133,7 @@ namespace GMW_data answ = true; foreach (DS_magazzino.RapQualRow rqRow in tabRapQual) { - answ = reportPrinter.obj.stampaCartellino(tipoCartellino.MP, rqRow.UDC); + answ = reportPrinter.obj.stampaCartellino(tipoCartellino.cartMP, rqRow.UDC); } } return answ; diff --git a/GMW/GMW_data/bin/Debug/GMW_data.dll b/GMW/GMW_data/bin/Debug/GMW_data.dll index 013445c6..66fcc936 100644 Binary files a/GMW/GMW_data/bin/Debug/GMW_data.dll and b/GMW/GMW_data/bin/Debug/GMW_data.dll differ diff --git a/GMW/GMW_data/bin/Debug/SteamWare.dll b/GMW/GMW_data/bin/Debug/SteamWare.dll index 7291d950..e6ea3f5d 100644 Binary files a/GMW/GMW_data/bin/Debug/SteamWare.dll and b/GMW/GMW_data/bin/Debug/SteamWare.dll differ diff --git a/GMW/GMW_data/bin/Release/GMW_data.dll b/GMW/GMW_data/bin/Release/GMW_data.dll index 9f57399b..134ab3e5 100644 Binary files a/GMW/GMW_data/bin/Release/GMW_data.dll and b/GMW/GMW_data/bin/Release/GMW_data.dll differ diff --git a/GMW/GMW_data/obj/Debug/GMW_data.dll b/GMW/GMW_data/obj/Debug/GMW_data.dll index 013445c6..66fcc936 100644 Binary files a/GMW/GMW_data/obj/Debug/GMW_data.dll and b/GMW/GMW_data/obj/Debug/GMW_data.dll differ diff --git a/GMW/GMW_data/obj/Debug/ResolveAssemblyReference.cache b/GMW/GMW_data/obj/Debug/ResolveAssemblyReference.cache index 2a158c51..b8ebb46a 100644 Binary files a/GMW/GMW_data/obj/Debug/ResolveAssemblyReference.cache and b/GMW/GMW_data/obj/Debug/ResolveAssemblyReference.cache differ diff --git a/GMW/GMW_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll b/GMW/GMW_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll index 17ff0cc3..97f1f6a0 100644 Binary files a/GMW/GMW_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll and b/GMW/GMW_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll differ diff --git a/GMW/GMW_data/obj/Release/GMW_data.dll b/GMW/GMW_data/obj/Release/GMW_data.dll index 9f57399b..134ab3e5 100644 Binary files a/GMW/GMW_data/obj/Release/GMW_data.dll and b/GMW/GMW_data/obj/Release/GMW_data.dll differ diff --git a/GMW/GMW_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll b/GMW/GMW_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll index e25045df..02ed6ad2 100644 Binary files a/GMW/GMW_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll and b/GMW/GMW_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll differ diff --git a/GMW/GMW_data/reportExporter.cs b/GMW/GMW_data/reportExporter.cs new file mode 100644 index 00000000..ade07409 --- /dev/null +++ b/GMW/GMW_data/reportExporter.cs @@ -0,0 +1,116 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.IO; +using System.Data; +using System.Drawing.Imaging; +using System.Drawing.Printing; +using System.Windows.Forms; +using Microsoft.Reporting.WinForms; +using System.Configuration; +using SteamWare; +using GMW_data; + +/// +/// Classe che restituisce uno stream ed i dati accessori per reinviare un report in pdf +/// +public class reportExporter +{ + /// + /// mimeType del report + /// + public string mimeType; + /// + /// encoding dei dati + /// + public string encoding; + /// + /// nome estensione + /// + public string fileNameExtension; + /// + /// steam di bytes del report + /// + public byte[] renderedBytes; + /// + /// metodo protected + /// + public reportExporter() + { + } + /// + /// carica i dati richiesti dal report dalla StoredProcedure (filtrando quindi...) + /// + /// tipo di report richiesto + /// cod UDC + /// tabella dati + private DataTable caricaDati(reportRichiesto tipoReport, string UDC) + { + DataTable tab = new DataTable(); + switch (tipoReport) + { + //case reportRichiesto.CartellinoFusi: + // tab = (DataTable)GMW_data.DataProxy.obj.taCartellini.getByUdc(UDC); + // break; + case reportRichiesto.CartellinoTara: + tab = (DataTable)GMW_data.DataProxy.obj.taCartellini.stp_getByUdc(UDC); + break; + default: + break; + } + return tab; + } + /// + /// renderizza il report in pdf + /// + /// report ammessi: RichiestaIntervento + /// cod UDC + /// parametri "device input" + /// + public void popolaPdfStream(reportRichiesto tipoReport, string UDC, devInfoParam deviceInfoParam) + { + LocalReport report = new LocalReport(); + string deviceInfo = ""; + ReportParameter[] _UDC = { new ReportParameter("UDC", UDC) }; + switch (tipoReport) + { + case reportRichiesto.CartellinoFusi: + report.ReportPath = @".\Reports\CartellinoCompleto.rdlc"; + report.DataSources.Add(new ReportDataSource(memLayer.ML.confReadString("ReportDatasource"), caricaDati(tipoReport, UDC))); + deviceInfo = deviceInfoParam.xmlParam; + break; + case reportRichiesto.CartellinoTara: + report.ReportPath = @".\Reports\CartellinoTara.rdlc"; + report.DataSources.Add(new ReportDataSource(memLayer.ML.confReadString("ReportDatasource"), caricaDati(tipoReport, UDC))); + deviceInfo = deviceInfoParam.xmlParam; + break; + default: + break; + } + createPdfStream(report, deviceInfo); + } + + /// + /// crea il vero e proprio stream pdf + /// + /// + /// + private void createPdfStream(LocalReport report, string deviceInfo) + { + // export in PDF + string reportType = "PDF"; + Warning[] warnings; + string[] streams; + renderedBytes = report.Render( + reportType, + deviceInfo, + out mimeType, + out encoding, + out fileNameExtension, + out streams, + out warnings); + } + +} + diff --git a/GMW/GMW_data/reportPrinter.cs b/GMW/GMW_data/reportPrinter.cs index b80e259a..3209110e 100644 --- a/GMW/GMW_data/reportPrinter.cs +++ b/GMW/GMW_data/reportPrinter.cs @@ -107,12 +107,21 @@ public class reportPrinter DataTable tab = new DataTable(); switch (tipoReport) { - case reportRichiesto.CartellinoPesa: + case reportRichiesto.CartellinoFin: tab = (DataTable)GMW_data.DataProxy.obj.taPrtCart.GetData(UDC); break; + case reportRichiesto.CartellinoFusi: + tab = (DataTable)GMW_data.DataProxy.obj.taPrtCart.GetData(UDC); + break; + case reportRichiesto.CartellinoMP: + tab = (DataTable)GMW_data.DataProxy.obj.taPrtCartMP.GetData(UDC); + break; case reportRichiesto.CartellinoTara: tab = (DataTable)GMW_data.DataProxy.obj.taPrtCart.GetData(UDC); break; + case reportRichiesto.CartellinoWIP: + tab = (DataTable)GMW_data.DataProxy.obj.taPrtCart.GetData(UDC); + break; default: break; } @@ -131,13 +140,18 @@ public class reportPrinter string deviceInfo = ""; switch (tipoReport) { - case reportRichiesto.CartellinoMP: - report.ReportPath = @".\Reports\CartellinoMP.rdlc"; + case reportRichiesto.CartellinoFin: + report.ReportPath = @".\Reports\CartellinoFinito.rdlc"; report.DataSources.Add(new ReportDataSource(memLayer.ML.confReadString("ReportDatasource"), caricaDati(tipoReport, UDC))); deviceInfo = deviceInfoParam.xmlParam; break; - case reportRichiesto.CartellinoPesa: - report.ReportPath = @".\Reports\CartellinoCompleto.rdlc"; + case reportRichiesto.CartellinoFusi: + report.ReportPath = @".\Reports\CartellinoFus.rdlc"; + report.DataSources.Add(new ReportDataSource(memLayer.ML.confReadString("ReportDatasource"), caricaDati(tipoReport, UDC))); + deviceInfo = deviceInfoParam.xmlParam; + break; + case reportRichiesto.CartellinoMP: + report.ReportPath = @".\Reports\CartellinoMP.rdlc"; report.DataSources.Add(new ReportDataSource(memLayer.ML.confReadString("ReportDatasource"), caricaDati(tipoReport, UDC))); deviceInfo = deviceInfoParam.xmlParam; break; @@ -146,7 +160,10 @@ public class reportPrinter report.DataSources.Add(new ReportDataSource(memLayer.ML.confReadString("ReportDatasource"), caricaDati(tipoReport, UDC))); deviceInfo = deviceInfoParam.xmlParam; break; - default: + case reportRichiesto.CartellinoWIP: + report.ReportPath = @".\Reports\CartellinoWip.rdlc"; + report.DataSources.Add(new ReportDataSource(memLayer.ML.confReadString("ReportDatasource"), caricaDati(tipoReport, UDC))); + deviceInfo = deviceInfoParam.xmlParam; break; } doEmfPrint(printerName, report, deviceInfo); @@ -183,36 +200,55 @@ public class reportPrinter string pagWidth = ""; string pagHeigth = ""; string margin = ""; - reportRichiesto report = reportRichiesto.CartellinoPesa; + reportRichiesto report = reportRichiesto.CartellinoFusi; + string tipo = ""; switch (cartellino) { + // eliminare da qui case tipoCartellino.MP: - printerName = memLayer.ML.confReadString("printerCartMP"); - outForm = "EMF"; - pagWidth = memLayer.ML.confReadString("PageWidthCartMP"); - pagHeigth = memLayer.ML.confReadString("PageHeightCartMP"); - margin = memLayer.ML.confReadString("MarginMP"); + tipo = "CartMP"; report = reportRichiesto.CartellinoMP; break; case tipoCartellino.soloTara: - printerName = memLayer.ML.confReadString("printerCartTara"); - outForm = "EMF"; - pagWidth = memLayer.ML.confReadString("PageWidthCartTara"); - pagHeigth = memLayer.ML.confReadString("PageHeightCartTara"); - margin = memLayer.ML.confReadString("MarginTara"); + tipo = "CartTara"; report = reportRichiesto.CartellinoTara; break; case tipoCartellino.completo: - printerName = memLayer.ML.confReadString("printerCartCompleto"); - outForm = "EMF"; - pagWidth = memLayer.ML.confReadString("PageWidthCartCompleto"); - pagHeigth = memLayer.ML.confReadString("PageHeightCartCompleto"); - margin = memLayer.ML.confReadString("MarginCompleto"); - report = reportRichiesto.CartellinoPesa; + tipo = "CartCompleto"; + report = reportRichiesto.CartellinoFusi; + break; + //...a qui... + + case tipoCartellino.cartFin: + tipo = "CartFin"; + report = reportRichiesto.CartellinoFin; + break; + case tipoCartellino.cartFusi: + tipo = "CartFusi"; + report = reportRichiesto.CartellinoFusi; + break; + case tipoCartellino.cartMP: + tipo = "CartMP"; + report = reportRichiesto.CartellinoMP; + break; + case tipoCartellino.cartTara: + tipo = "CartTara"; + report = reportRichiesto.CartellinoTara; + break; + case tipoCartellino.cartWip: + tipo = "CartWip"; + report = reportRichiesto.CartellinoWIP; break; default: break; } + // carico di dati con lettura da web.config parametrica + printerName = memLayer.ML.confReadString(string.Format("printer{0}", tipo)); + outForm = "EMF"; + pagWidth = memLayer.ML.confReadString(string.Format("PageWidth{0}", tipo)); + pagHeigth = memLayer.ML.confReadString(string.Format("PageHeight{0}", tipo)); + margin = memLayer.ML.confReadString(string.Format("Margin{0}", tipo)); + // compongo parametri stampa devInfoParam deviceInfo = new devInfoParam(outForm, pagHeigth, pagWidth, margin, margin, margin, margin); try { @@ -248,8 +284,9 @@ public class reportPrinter /// public enum reportRichiesto { + CartellinoFin, + CartellinoFusi, CartellinoMP, - CartellinoPesa, - //CartellinoProduzione, - CartellinoTara + CartellinoTara, + CartellinoWIP } diff --git a/GMW/GMW_data/utils.cs b/GMW/GMW_data/utils.cs index d57aeb7b..a10e404b 100644 --- a/GMW/GMW_data/utils.cs +++ b/GMW/GMW_data/utils.cs @@ -60,9 +60,14 @@ namespace GMW_data } public enum tipoCartellino { - MP, - soloTara, - completo + cartFin, + cartMP, + cartFusi, + cartTara, + cartWip, + MP, // DELETE!!! + soloTara, // DELETE!!! + completo // DELETE!!! } public enum tipoSelettore {