diff --git a/GMW/GMW/GMW.csproj b/GMW/GMW/GMW.csproj index b23b7ca7..42a60427 100644 --- a/GMW/GMW/GMW.csproj +++ b/GMW/GMW/GMW.csproj @@ -232,13 +232,6 @@ StatoMag.aspx - - tekal_anime.aspx - ASPXCodeBehind - - - tekal_anime.aspx - unauthorized.aspx ASPXCodeBehind @@ -1022,6 +1015,8 @@ + + @@ -1030,7 +1025,6 @@ - diff --git a/GMW/GMW/Reports/CartellinoAnime.rdlc b/GMW/GMW/Reports/CartellinoAnime.rdlc index 69c132ef..5e08229a 100644 --- a/GMW/GMW/Reports/CartellinoAnime.rdlc +++ b/GMW/GMW/Reports/CartellinoAnime.rdlc @@ -58,7 +58,7 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB 21cm - + UDC @@ -196,7 +196,7 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB GMWConnectionString StoredProcedure - stp_prtCartLiquidi_F18ByUDC + stp_prtCartAnimeByUDC =Parameters!UDC.Value @@ -211,12 +211,12 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB 1cm - GMWDataSet_stp_prtCartLiquidi_F18ByUDC + GMWDataSet_stp_prtCartAnimeByUDC - GMWDataSet_stp_prtCartLiquidi_F18ByUDC + GMWDataSet_stp_prtCartAnimeByUDC
@@ -274,7 +274,7 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB 2pt 36 - CARTELLINO LIQUIDI F18 + CARTELLINO ANIME diff --git a/GMW/GMW/Web.config b/GMW/GMW/Web.config index 171a669b..e71288c2 100644 --- a/GMW/GMW/Web.config +++ b/GMW/GMW/Web.config @@ -54,11 +54,11 @@ - + - + @@ -92,7 +92,7 @@ - + @@ -108,7 +108,7 @@ - + @@ -116,7 +116,7 @@ - + @@ -133,14 +133,19 @@ - + - + + + + + + @@ -186,6 +191,7 @@ + @@ -194,14 +200,14 @@ - + - + diff --git a/GMW/GMW/WebUserControls/mod_anagBlocchi.ascx.cs b/GMW/GMW/WebUserControls/mod_anagBlocchi.ascx.cs index 36cadf36..ffc3b638 100644 --- a/GMW/GMW/WebUserControls/mod_anagBlocchi.ascx.cs +++ b/GMW/GMW/WebUserControls/mod_anagBlocchi.ascx.cs @@ -362,7 +362,7 @@ namespace GMW.WebUserControls // reset selezione... resetSelezione(); // i primi valori ("0") di default sono "ND"... li inserisco come standard... - MagClass.magazzino.taBlocchi.Insert(memLayer.ML.StringSessionObj("CodMag_sel"), memLayer.ML.confReadString("CodCS"), "ND", "Descrizione n.d.", memLayer.ML.confReadInt("NumX"), memLayer.ML.confReadInt("NumY"), memLayer.ML.confReadInt("NumZ")); + MagClass.magazzino.taBlocchi.insertQuery(memLayer.ML.StringSessionObj("CodMag_sel"), memLayer.ML.confReadString("CodCS"), "ND", "Descrizione n.d.", memLayer.ML.confReadInt("NumX"), memLayer.ML.confReadInt("NumY"), memLayer.ML.confReadInt("NumZ")); // sollevo evento nuovo valore... if (eh_nuovoValore != null) { diff --git a/GMW/GMW/WebUserControls/mod_anime.ascx.cs b/GMW/GMW/WebUserControls/mod_anime.ascx.cs index 617d7a41..92b76206 100644 --- a/GMW/GMW/WebUserControls/mod_anime.ascx.cs +++ b/GMW/GMW/WebUserControls/mod_anime.ascx.cs @@ -369,8 +369,10 @@ namespace GMW.WebUserControls // creo nuovo UDC del trattamento liquidi newUdcChild = MagClass.magazzino.creaUdc("AN", "", currParticolare, "", "", "", "", "", 0, memLayer.ML.confReadString("CodImballoAnime"), "U", MagClass.magazzino.CodSoggCurrUser, qta, 0, 0, DateTime.Now, 0, "Fin", memLayer.ML.confReadInt("IdxPosizioneAnime"), true, "IdxPosizioneAnime", "UDC_ANIMA", noteTrim, "", DateTime.Now.Year); // !!! "AN" HARD CODED x indicare flusso ANIME } - catch - { } + catch(Exception exc) + { + logger.lg.scriviLog(string.Format("Errore creazione UDC: {0}", exc), tipoLog.EXCEPTION); + } // se ho cart liquidi genero (se non ci sono) cart trattamenti if (newUdcChild != "") { diff --git a/GMW/GMW/WebUserControls/mod_bolle4odette.ascx b/GMW/GMW/WebUserControls/mod_bolle4odette.ascx index 5097a8dc..551edc99 100644 --- a/GMW/GMW/WebUserControls/mod_bolle4odette.ascx +++ b/GMW/GMW/WebUserControls/mod_bolle4odette.ascx @@ -4,7 +4,7 @@
- +
diff --git a/GMW/GMW/WebUserControls/mod_bolle4odette.ascx.cs b/GMW/GMW/WebUserControls/mod_bolle4odette.ascx.cs index d2211aeb..f3eaefe7 100644 --- a/GMW/GMW/WebUserControls/mod_bolle4odette.ascx.cs +++ b/GMW/GMW/WebUserControls/mod_bolle4odette.ascx.cs @@ -17,6 +17,7 @@ namespace GMW.WebUserControls lblDataBolla.Text = "Data Bolla"; lblNumBolla.Text = "Num Bolla"; lblWarning.Text = ""; + txtRaggMag.Text = memLayer.ML.StringSessionObj("CodCS"); } /// diff --git a/GMW/GMW/bin/GMW.dll b/GMW/GMW/bin/GMW.dll index b936965d..965feb58 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 e5cfec0a..2ce82d38 100644 Binary files a/GMW/GMW/bin/GMW_data.dll and b/GMW/GMW/bin/GMW_data.dll differ diff --git a/GMW/GMW/images/flusso.png b/GMW/GMW/images/flusso.png index 0f9d0ddd..8d0a365a 100644 Binary files a/GMW/GMW/images/flusso.png and b/GMW/GMW/images/flusso.png differ diff --git a/GMW/GMW/mazzAppSettings.config b/GMW/GMW/mazzAppSettings.config index 6584d0ac..f3dba69a 100644 --- a/GMW/GMW/mazzAppSettings.config +++ b/GMW/GMW/mazzAppSettings.config @@ -145,7 +145,7 @@ - + diff --git a/GMW/GMW/mazzAppSettingsTK.config b/GMW/GMW/mazzAppSettingsTK.config index a08273e3..55041cfc 100644 --- a/GMW/GMW/mazzAppSettingsTK.config +++ b/GMW/GMW/mazzAppSettingsTK.config @@ -49,6 +49,8 @@ + + @@ -58,6 +60,7 @@ + @@ -77,6 +80,7 @@ + @@ -84,6 +88,11 @@ + + + + + @@ -123,7 +132,7 @@ - + diff --git a/GMW/GMW/mazzAppSettingsTK_test.config b/GMW/GMW/mazzAppSettingsTK_test.config new file mode 100644 index 00000000..60787a90 --- /dev/null +++ b/GMW/GMW/mazzAppSettingsTK_test.config @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GMW/GMW/mazzConnectionStringsTK_test.config b/GMW/GMW/mazzConnectionStringsTK_test.config new file mode 100644 index 00000000..7cc4b0da --- /dev/null +++ b/GMW/GMW/mazzConnectionStringsTK_test.config @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/GMW/GMW/obj/Debug/GMW.dll b/GMW/GMW/obj/Debug/GMW.dll index b936965d..965feb58 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 bcaa496b..8091f230 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 42972348..e3a44ae2 100644 Binary files a/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache and b/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache differ diff --git a/GMW/GMW_data/DS_cartellini.Designer.cs b/GMW/GMW_data/DS_cartellini.Designer.cs index b9f5f1e2..abfd6738 100644 --- a/GMW/GMW_data/DS_cartellini.Designer.cs +++ b/GMW/GMW_data/DS_cartellini.Designer.cs @@ -33,6 +33,8 @@ namespace GMW_data { private stp_prtCartLiquidi_F10ByUDCDataTable tablestp_prtCartLiquidi_F10ByUDC; + private stp_prtCartAnimeByUDCDataTable tablestp_prtCartAnimeByUDC; + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -71,6 +73,9 @@ namespace GMW_data { if ((ds.Tables["stp_prtCartLiquidi_F10ByUDC"] != null)) { base.Tables.Add(new stp_prtCartLiquidi_F10ByUDCDataTable(ds.Tables["stp_prtCartLiquidi_F10ByUDC"])); } + if ((ds.Tables["stp_prtCartAnimeByUDC"] != null)) { + base.Tables.Add(new stp_prtCartAnimeByUDCDataTable(ds.Tables["stp_prtCartAnimeByUDC"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -125,6 +130,15 @@ namespace GMW_data { } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] + public stp_prtCartAnimeByUDCDataTable stp_prtCartAnimeByUDC { + get { + return this.tablestp_prtCartAnimeByUDC; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.BrowsableAttribute(true)] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] @@ -196,6 +210,9 @@ namespace GMW_data { if ((ds.Tables["stp_prtCartLiquidi_F10ByUDC"] != null)) { base.Tables.Add(new stp_prtCartLiquidi_F10ByUDCDataTable(ds.Tables["stp_prtCartLiquidi_F10ByUDC"])); } + if ((ds.Tables["stp_prtCartAnimeByUDC"] != null)) { + base.Tables.Add(new stp_prtCartAnimeByUDCDataTable(ds.Tables["stp_prtCartAnimeByUDC"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -250,6 +267,12 @@ namespace GMW_data { this.tablestp_prtCartLiquidi_F10ByUDC.InitVars(); } } + this.tablestp_prtCartAnimeByUDC = ((stp_prtCartAnimeByUDCDataTable)(base.Tables["stp_prtCartAnimeByUDC"])); + if ((initTable == true)) { + if ((this.tablestp_prtCartAnimeByUDC != null)) { + this.tablestp_prtCartAnimeByUDC.InitVars(); + } + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -267,6 +290,8 @@ namespace GMW_data { base.Tables.Add(this.tablestp_prtCartLiquidi_F18ByUDC); this.tablestp_prtCartLiquidi_F10ByUDC = new stp_prtCartLiquidi_F10ByUDCDataTable(); base.Tables.Add(this.tablestp_prtCartLiquidi_F10ByUDC); + this.tablestp_prtCartAnimeByUDC = new stp_prtCartAnimeByUDCDataTable(); + base.Tables.Add(this.tablestp_prtCartAnimeByUDC); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -289,6 +314,11 @@ namespace GMW_data { return false; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + private bool ShouldSerializestp_prtCartAnimeByUDC() { + return false; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { @@ -350,6 +380,8 @@ namespace GMW_data { public delegate void stp_prtCartLiquidi_F10ByUDCRowChangeEventHandler(object sender, stp_prtCartLiquidi_F10ByUDCRowChangeEvent e); + public delegate void stp_prtCartAnimeByUDCRowChangeEventHandler(object sender, stp_prtCartAnimeByUDCRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -3016,6 +3048,738 @@ 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_prtCartAnimeByUDCDataTable : 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; + + private global::System.Data.DataColumn columnNote; + + private global::System.Data.DataColumn columnNoteTratt; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartAnimeByUDCDataTable() { + this.TableName = "stp_prtCartAnimeByUDC"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal stp_prtCartAnimeByUDCDataTable(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_prtCartAnimeByUDCDataTable(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()] + public global::System.Data.DataColumn NoteColumn { + get { + return this.columnNote; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn NoteTrattColumn { + get { + return this.columnNoteTratt; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Browsable(false)] + public int Count { + get { + return this.Rows.Count; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartAnimeByUDCRow this[int index] { + get { + return ((stp_prtCartAnimeByUDCRow)(this.Rows[index])); + } + } + + public event stp_prtCartAnimeByUDCRowChangeEventHandler stp_prtCartAnimeByUDCRowChanging; + + public event stp_prtCartAnimeByUDCRowChangeEventHandler stp_prtCartAnimeByUDCRowChanged; + + public event stp_prtCartAnimeByUDCRowChangeEventHandler stp_prtCartAnimeByUDCRowDeleting; + + public event stp_prtCartAnimeByUDCRowChangeEventHandler stp_prtCartAnimeByUDCRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addstp_prtCartAnimeByUDCRow(stp_prtCartAnimeByUDCRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartAnimeByUDCRow Addstp_prtCartAnimeByUDCRow( + 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, + string Note, + string NoteTratt) { + stp_prtCartAnimeByUDCRow rowstp_prtCartAnimeByUDCRow = ((stp_prtCartAnimeByUDCRow)(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, + Note, + NoteTratt}; + rowstp_prtCartAnimeByUDCRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_prtCartAnimeByUDCRow); + return rowstp_prtCartAnimeByUDCRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartAnimeByUDCRow FindByUDC(string UDC) { + return ((stp_prtCartAnimeByUDCRow)(this.Rows.Find(new object[] { + UDC}))); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + stp_prtCartAnimeByUDCDataTable cln = ((stp_prtCartAnimeByUDCDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_prtCartAnimeByUDCDataTable(); + } + + [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"]; + this.columnNote = base.Columns["Note"]; + this.columnNoteTratt = base.Columns["NoteTratt"]; + } + + [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.columnNote = new global::System.Data.DataColumn("Note", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNote); + this.columnNoteTratt = new global::System.Data.DataColumn("NoteTratt", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnNoteTratt); + 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; + this.columnNote.ReadOnly = true; + this.columnNote.MaxLength = 500; + this.columnNoteTratt.ReadOnly = true; + this.columnNoteTratt.MaxLength = 500; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartAnimeByUDCRow Newstp_prtCartAnimeByUDCRow() { + return ((stp_prtCartAnimeByUDCRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_prtCartAnimeByUDCRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(stp_prtCartAnimeByUDCRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_prtCartAnimeByUDCRowChanged != null)) { + this.stp_prtCartAnimeByUDCRowChanged(this, new stp_prtCartAnimeByUDCRowChangeEvent(((stp_prtCartAnimeByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_prtCartAnimeByUDCRowChanging != null)) { + this.stp_prtCartAnimeByUDCRowChanging(this, new stp_prtCartAnimeByUDCRowChangeEvent(((stp_prtCartAnimeByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_prtCartAnimeByUDCRowDeleted != null)) { + this.stp_prtCartAnimeByUDCRowDeleted(this, new stp_prtCartAnimeByUDCRowChangeEvent(((stp_prtCartAnimeByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_prtCartAnimeByUDCRowDeleting != null)) { + this.stp_prtCartAnimeByUDCRowDeleting(this, new stp_prtCartAnimeByUDCRowChangeEvent(((stp_prtCartAnimeByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removestp_prtCartAnimeByUDCRow(stp_prtCartAnimeByUDCRow 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_cartellini ds = new DS_cartellini(); + 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_prtCartAnimeByUDCDataTable"; + 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. /// @@ -5833,6 +6597,832 @@ 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_prtCartAnimeByUDCRow : global::System.Data.DataRow { + + private stp_prtCartAnimeByUDCDataTable tablestp_prtCartAnimeByUDC; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal stp_prtCartAnimeByUDCRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_prtCartAnimeByUDC = ((stp_prtCartAnimeByUDCDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string UDC { + get { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.UDCColumn])); + } + set { + this[this.tablestp_prtCartAnimeByUDC.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodCS { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.CodCSColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCS\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codcliente { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.codclienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codcliente\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.codclienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string ragsociale { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.ragsocialeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ragsociale\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.ragsocialeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string particolare { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.particolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'particolare\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.particolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descparticolare { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.descparticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descparticolare\' in table \'stp_prtCartAnimeByUDC\' is DBNull" + + ".", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.descparticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string disegnogrezzo { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.disegnogrezzoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'disegnogrezzo\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.disegnogrezzoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string esponente { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.esponenteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'esponente\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.esponenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codimpianto { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.codimpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codimpianto\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.codimpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descimpianto { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.descimpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descimpianto\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.descimpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codstampo { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.codstampoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codstampo\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.codstampoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string figura { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.figuraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'figura\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.figuraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime datafus { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartAnimeByUDC.datafusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'datafus\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.datafusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int turnofus { + get { + try { + return ((int)(this[this.tablestp_prtCartAnimeByUDC.turnofusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'turnofus\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.turnofusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codimballo { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.codimballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codimballo\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.codimballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codsoggetto { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.codsoggettoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codsoggetto\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.codsoggettoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int numcont { + get { + try { + return ((int)(this[this.tablestp_prtCartAnimeByUDC.numcontColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'numcont\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.numcontColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double tara { + get { + try { + return ((double)(this[this.tablestp_prtCartAnimeByUDC.taraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'tara\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.taraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal qta { + get { + try { + return ((decimal)(this[this.tablestp_prtCartAnimeByUDC.qtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'qta\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.qtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codstato { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.codstatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codstato\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.codstatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxposizione { + get { + try { + return ((int)(this[this.tablestp_prtCartAnimeByUDC.idxposizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxposizione\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.idxposizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double pesotot { + get { + try { + return ((double)(this[this.tablestp_prtCartAnimeByUDC.pesototColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'pesotot\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.pesototColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double pesocad { + get { + try { + return ((double)(this[this.tablestp_prtCartAnimeByUDC.pesocadColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'pesocad\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.pesocadColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime CreateDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartAnimeByUDC.CreateDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CreateDate\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.CreateDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime ModDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartAnimeByUDC.ModDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ModDate\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.ModDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string cognome { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.cognomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cognome\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.cognomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string nome { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.nomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nome\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.nomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descstato { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.descstatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descstato\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.descstatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descimballo { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.descimballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descimballo\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.descimballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodFamiglia { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.CodFamigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodFamiglia\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.CodFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescFamiglia { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.DescFamigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescFamiglia\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.DescFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string Note { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.NoteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.NoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string NoteTratt { + get { + try { + return ((string)(this[this.tablestp_prtCartAnimeByUDC.NoteTrattColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NoteTratt\' in table \'stp_prtCartAnimeByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartAnimeByUDC.NoteTrattColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCodCSNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.CodCSColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCodCSNull() { + this[this.tablestp_prtCartAnimeByUDC.CodCSColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodclienteNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.codclienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodclienteNull() { + this[this.tablestp_prtCartAnimeByUDC.codclienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsragsocialeNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.ragsocialeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetragsocialeNull() { + this[this.tablestp_prtCartAnimeByUDC.ragsocialeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsparticolareNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.particolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetparticolareNull() { + this[this.tablestp_prtCartAnimeByUDC.particolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescparticolareNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.descparticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescparticolareNull() { + this[this.tablestp_prtCartAnimeByUDC.descparticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdisegnogrezzoNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.disegnogrezzoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdisegnogrezzoNull() { + this[this.tablestp_prtCartAnimeByUDC.disegnogrezzoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsesponenteNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.esponenteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetesponenteNull() { + this[this.tablestp_prtCartAnimeByUDC.esponenteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodimpiantoNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.codimpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodimpiantoNull() { + this[this.tablestp_prtCartAnimeByUDC.codimpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescimpiantoNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.descimpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescimpiantoNull() { + this[this.tablestp_prtCartAnimeByUDC.descimpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodstampoNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.codstampoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodstampoNull() { + this[this.tablestp_prtCartAnimeByUDC.codstampoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsfiguraNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.figuraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetfiguraNull() { + this[this.tablestp_prtCartAnimeByUDC.figuraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdatafusNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.datafusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdatafusNull() { + this[this.tablestp_prtCartAnimeByUDC.datafusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsturnofusNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.turnofusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetturnofusNull() { + this[this.tablestp_prtCartAnimeByUDC.turnofusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodimballoNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.codimballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodimballoNull() { + this[this.tablestp_prtCartAnimeByUDC.codimballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodsoggettoNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.codsoggettoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodsoggettoNull() { + this[this.tablestp_prtCartAnimeByUDC.codsoggettoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnumcontNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.numcontColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnumcontNull() { + this[this.tablestp_prtCartAnimeByUDC.numcontColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IstaraNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.taraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SettaraNull() { + this[this.tablestp_prtCartAnimeByUDC.taraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsqtaNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.qtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetqtaNull() { + this[this.tablestp_prtCartAnimeByUDC.qtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodstatoNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.codstatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodstatoNull() { + this[this.tablestp_prtCartAnimeByUDC.codstatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsidxposizioneNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.idxposizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetidxposizioneNull() { + this[this.tablestp_prtCartAnimeByUDC.idxposizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IspesototNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.pesototColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetpesototNull() { + this[this.tablestp_prtCartAnimeByUDC.pesototColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IspesocadNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.pesocadColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetpesocadNull() { + this[this.tablestp_prtCartAnimeByUDC.pesocadColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCreateDateNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.CreateDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCreateDateNull() { + this[this.tablestp_prtCartAnimeByUDC.CreateDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsModDateNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.ModDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetModDateNull() { + this[this.tablestp_prtCartAnimeByUDC.ModDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscognomeNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.cognomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcognomeNull() { + this[this.tablestp_prtCartAnimeByUDC.cognomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnomeNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.nomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnomeNull() { + this[this.tablestp_prtCartAnimeByUDC.nomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescstatoNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.descstatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescstatoNull() { + this[this.tablestp_prtCartAnimeByUDC.descstatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescimballoNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.descimballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescimballoNull() { + this[this.tablestp_prtCartAnimeByUDC.descimballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCodFamigliaNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.CodFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCodFamigliaNull() { + this[this.tablestp_prtCartAnimeByUDC.CodFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescFamigliaNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.DescFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescFamigliaNull() { + this[this.tablestp_prtCartAnimeByUDC.DescFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsNoteNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.NoteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetNoteNull() { + this[this.tablestp_prtCartAnimeByUDC.NoteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsNoteTrattNull() { + return this.IsNull(this.tablestp_prtCartAnimeByUDC.NoteTrattColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetNoteTrattNull() { + this[this.tablestp_prtCartAnimeByUDC.NoteTrattColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -5956,6 +7546,37 @@ namespace GMW_data { } } } + + /// + ///Row event argument class + /// + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] + public class stp_prtCartAnimeByUDCRowChangeEvent : global::System.EventArgs { + + private stp_prtCartAnimeByUDCRow eventRow; + + private global::System.Data.DataRowAction eventAction; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartAnimeByUDCRowChangeEvent(stp_prtCartAnimeByUDCRow row, global::System.Data.DataRowAction action) { + this.eventRow = row; + this.eventAction = action; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartAnimeByUDCRow Row { + get { + return this.eventRow; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataRowAction Action { + get { + return this.eventAction; + } + } + } } } namespace GMW_data.DS_cartelliniTableAdapters { @@ -6758,6 +8379,209 @@ namespace GMW_data.DS_cartelliniTableAdapters { } } + /// + ///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_prtCartAnimeByUDCTableAdapter : 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_prtCartAnimeByUDCTableAdapter() { + 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_prtCartAnimeByUDC"; + 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"); + tableMapping.ColumnMappings.Add("Note", "Note"); + tableMapping.ColumnMappings.Add("NoteTratt", "NoteTratt"); + 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_prtCartAnimeByUDC"; + 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.NVarChar, 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_cartellini.stp_prtCartAnimeByUDCDataTable 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_cartellini.stp_prtCartAnimeByUDCDataTable 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_cartellini.stp_prtCartAnimeByUDCDataTable dataTable = new DS_cartellini.stp_prtCartAnimeByUDCDataTable(); + this.Adapter.Fill(dataTable); + return dataTable; + } + } + /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// diff --git a/GMW/GMW_data/DS_cartellini.xsd b/GMW/GMW_data/DS_cartellini.xsd index 2bd58460..5bdfb1fb 100644 --- a/GMW/GMW_data/DS_cartellini.xsd +++ b/GMW/GMW_data/DS_cartellini.xsd @@ -196,6 +196,57 @@ + + + + + + dbo.stp_prtCartAnimeByUDC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -207,14 +258,476 @@ - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -371,115 +884,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -489,7 +894,7 @@ - + @@ -657,183 +1062,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -849,5 +1077,9 @@ + + + + \ No newline at end of file diff --git a/GMW/GMW_data/DS_cartellini.xss b/GMW/GMW_data/DS_cartellini.xss index 1c89ae6d..caee6b28 100644 --- a/GMW/GMW_data/DS_cartellini.xss +++ b/GMW/GMW_data/DS_cartellini.xss @@ -6,10 +6,11 @@ --> - - - - + + + + + \ No newline at end of file diff --git a/GMW/GMW_data/DS_magazzino.Designer.cs b/GMW/GMW_data/DS_magazzino.Designer.cs index acb65697..97d51df8 100644 --- a/GMW/GMW_data/DS_magazzino.Designer.cs +++ b/GMW/GMW_data/DS_magazzino.Designer.cs @@ -18092,7 +18092,7 @@ SELECT IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ FROM Bl [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { - this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6]; + this._commandCollection = new global::System.Data.SqlClient.SqlCommand[7]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ FROM dbo" + @@ -18124,18 +18124,30 @@ SELECT IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ FROM Bl this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[5].Connection = this.Connection; - this._commandCollection[5].CommandText = "UPDATE Blocchi\r\nSET CodMag = @CodMag, CodCS = @CodCS, CodBlo" + + this._commandCollection[5].CommandText = "dbo.stp_Blocchi_Insert"; + this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure; + this._commandCollection[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodBlocco", global::System.Data.SqlDbType.NVarChar, 3, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescBlocco", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumX", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumY", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumZ", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand(); + this._commandCollection[6].Connection = this.Connection; + this._commandCollection[6].CommandText = "UPDATE Blocchi\r\nSET CodMag = @CodMag, CodCS = @CodCS, CodBlo" + "cco = @CodBlocco, DescBlocco = @DescBlocco, NumX = @NumX, NumY = @NumY, NumZ = @" + "NumZ\r\nWHERE (IdxBlocco = @Original_IdxBlocco)"; - this._commandCollection[5].CommandType = global::System.Data.CommandType.Text; - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodBlocco", global::System.Data.SqlDbType.NVarChar, 3, global::System.Data.ParameterDirection.Input, 0, 0, "CodBlocco", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescBlocco", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "DescBlocco", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumX", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "NumX", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumY", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "NumY", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumZ", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "NumZ", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBlocco", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); + this._commandCollection[6].CommandType = global::System.Data.CommandType.Text; + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "CodMag", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, "CodCS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodBlocco", global::System.Data.SqlDbType.NVarChar, 3, global::System.Data.ParameterDirection.Input, 0, 0, "CodBlocco", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DescBlocco", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "DescBlocco", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumX", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "NumX", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumY", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "NumY", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumZ", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "NumZ", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBlocco", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -18544,11 +18556,74 @@ SELECT IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ FROM Bl return returnValue; } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] + public virtual int insertQuery(string CodMag, string CodCS, string CodBlocco, string DescBlocco, global::System.Nullable NumX, global::System.Nullable NumY, global::System.Nullable NumZ) { + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; + if ((CodMag == null)) { + command.Parameters[1].Value = global::System.DBNull.Value; + } + else { + command.Parameters[1].Value = ((string)(CodMag)); + } + if ((CodCS == null)) { + command.Parameters[2].Value = global::System.DBNull.Value; + } + else { + command.Parameters[2].Value = ((string)(CodCS)); + } + if ((CodBlocco == null)) { + command.Parameters[3].Value = global::System.DBNull.Value; + } + else { + command.Parameters[3].Value = ((string)(CodBlocco)); + } + if ((DescBlocco == null)) { + command.Parameters[4].Value = global::System.DBNull.Value; + } + else { + command.Parameters[4].Value = ((string)(DescBlocco)); + } + if ((NumX.HasValue == true)) { + command.Parameters[5].Value = ((int)(NumX.Value)); + } + else { + command.Parameters[5].Value = global::System.DBNull.Value; + } + if ((NumY.HasValue == true)) { + command.Parameters[6].Value = ((int)(NumY.Value)); + } + else { + command.Parameters[6].Value = global::System.DBNull.Value; + } + if ((NumZ.HasValue == true)) { + command.Parameters[7].Value = ((int)(NumZ.Value)); + } + else { + command.Parameters[7].Value = global::System.DBNull.Value; + } + global::System.Data.ConnectionState previousConnectionState = command.Connection.State; + if (((command.Connection.State & global::System.Data.ConnectionState.Open) + != global::System.Data.ConnectionState.Open)) { + command.Connection.Open(); + } + int returnValue; + try { + returnValue = command.ExecuteNonQuery(); + } + finally { + if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { + command.Connection.Close(); + } + } + return returnValue; + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)] public virtual int UpdateQuery(string CodMag, string CodCS, string CodBlocco, string DescBlocco, global::System.Nullable NumX, global::System.Nullable NumY, global::System.Nullable NumZ, int Original_IdxBlocco) { - global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5]; + global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6]; if ((CodMag == null)) { command.Parameters[0].Value = global::System.DBNull.Value; } diff --git a/GMW/GMW_data/DS_magazzino.xsd b/GMW/GMW_data/DS_magazzino.xsd index bd632c75..2fa64ee7 100644 --- a/GMW/GMW_data/DS_magazzino.xsd +++ b/GMW/GMW_data/DS_magazzino.xsd @@ -797,6 +797,23 @@ SELECT IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ FROM Bl + + + + dbo.stp_Blocchi_Insert + + + + + + + + + + + + + @@ -2652,122 +2669,122 @@ SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticola - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - + - - - - + + + + - - - - - - + + + + + + @@ -2780,153 +2797,6 @@ SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticola - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -2941,18 +2811,18 @@ SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticola - - - - - - - - + + + + + + + + - + @@ -2962,7 +2832,154 @@ SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticola - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2976,79 +2993,79 @@ SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticola - + - + - + - + - - - + + + - - + + - - + + - + - + - - - - - - + + + + + + @@ -3061,21 +3078,21 @@ SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticola - + - + - + @@ -3086,6 +3103,343 @@ SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticola + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3102,358 +3456,21 @@ SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticola - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -3466,131 +3483,131 @@ SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticola - - + + - + - - + + - - - + + + - + - - + + - - + + - + - - - + + + - - - + + + - + - + - + - - + + - - + + - + - + @@ -3610,8 +3627,8 @@ SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticola - - + + @@ -3624,33 +3641,33 @@ SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticola - - - + + + - + - - + + - - - + + + @@ -3663,42 +3680,42 @@ SELECT Particolare, CodCS, CodCliente, DisegnoGrezzo, CodFamiglia, DescParticola - + - + - + - + - + - + diff --git a/GMW/GMW_data/DataProxy.cs b/GMW/GMW_data/DataProxy.cs index db2d9ba3..561fb7a4 100644 --- a/GMW/GMW_data/DataProxy.cs +++ b/GMW/GMW_data/DataProxy.cs @@ -31,6 +31,7 @@ namespace GMW_data public DS_ApplicazioneTableAdapters.ElencoPostazioniTableAdapter taElPost; public DS_ApplicazioneTableAdapters.v_RapQualNoteTableAdapter taRQN; + public DS_cartelliniTableAdapters.stp_prtCartAnimeByUDCTableAdapter taPrtCartAnime; public DS_cartelliniTableAdapters.stp_prtCartByUDCTableAdapter taPrtCart; public DS_cartelliniTableAdapters.stp_prtCartMatPrimaByUDCTableAdapter taPrtCartMP; public DS_cartelliniTableAdapters.stp_prtCartLiquidi_F10ByUDCTableAdapter taPrtCartLiqF10; @@ -60,6 +61,7 @@ namespace GMW_data taElPost = new GMW_data.DS_ApplicazioneTableAdapters.ElencoPostazioniTableAdapter(); taRQN = new GMW_data.DS_ApplicazioneTableAdapters.v_RapQualNoteTableAdapter(); + taPrtCartAnime = new GMW_data.DS_cartelliniTableAdapters.stp_prtCartAnimeByUDCTableAdapter(); taPrtCart = new GMW_data.DS_cartelliniTableAdapters.stp_prtCartByUDCTableAdapter(); taPrtCartMP = new GMW_data.DS_cartelliniTableAdapters.stp_prtCartMatPrimaByUDCTableAdapter(); taPrtCartLiqF10 = new GMW_data.DS_cartelliniTableAdapters.stp_prtCartLiquidi_F10ByUDCTableAdapter(); @@ -90,6 +92,7 @@ namespace GMW_data taElPost.Connection.ConnectionString = connString; taRQN.Connection.ConnectionString = connString; + taPrtCartAnime.Connection.ConnectionString = connString; taPrtCart.Connection.ConnectionString = connString; taPrtCartMP.Connection.ConnectionString = connString; taPrtCartLiqF10.Connection.ConnectionString = connString; diff --git a/GMW/GMW_data/MagClass.cs b/GMW/GMW_data/MagClass.cs index 12a5b173..131910ed 100644 --- a/GMW/GMW_data/MagClass.cs +++ b/GMW/GMW_data/MagClass.cs @@ -519,7 +519,7 @@ namespace GMW_data { try { - logger.lg.scriviLog(string.Format("Liquidi_Trattamenti: {0} | {1} | {2} | {3} | {4} | {5} | {6} | {7} | {8} | {9} | {10} | {11} | {12} | {13} | {14} | {15} | {16} | {17} | {18} | {19} | {20} | {21} | {22} | {23}", CodCS, CodBilanciaTrim, annoTrim, CodClienteTrim, ParticolareTrim, CodImpiantoTrim, CodStampoTrim, EsponenteTrim, FiguraTrim, DataRif, TurnoRif, CodImballoTrim, CodSoggettoTrim, Tara, IdxPosizione, CodTipoDichiarazioneTrim, codEventoTrim, Quantita, PesoTot, PesoCad, CodStatoTrim, UDC_ParentTrim, toAS400, noteTrim), tipoLog.INFO); + logger.lg.scriviLog(string.Format("NUOVO cartellino da postazione: {0} | {1} | {2} | {3} | {4} | {5} | {6} | {7} | {8} | {9} | {10} | {11} | {12} | {13} | {14} | {15} | {16} | {17} | {18} | {19} | {20} | {21} | {22} | {23}", CodCS, CodBilanciaTrim, annoTrim, CodClienteTrim, ParticolareTrim, CodImpiantoTrim, CodStampoTrim, EsponenteTrim, FiguraTrim, DataRif, TurnoRif, CodImballoTrim, CodSoggettoTrim, Tara, IdxPosizione, CodTipoDichiarazioneTrim, codEventoTrim, Quantita, PesoTot, PesoCad, CodStatoTrim, UDC_ParentTrim, toAS400, noteTrim), tipoLog.INFO); } catch { } diff --git a/GMW/GMW_data/app.config b/GMW/GMW_data/app.config index 69d734a8..136a4cb4 100644 --- a/GMW/GMW_data/app.config +++ b/GMW/GMW_data/app.config @@ -4,7 +4,7 @@ public enum reportRichiesto { + CartellinoAnime, CartellinoFin, CartellinoFusi, CartellinoLiquidiF10,