diff --git a/GMW/GMW/GMW.csproj b/GMW/GMW/GMW.csproj index 39c99010..04439bbd 100644 --- a/GMW/GMW/GMW.csproj +++ b/GMW/GMW/GMW.csproj @@ -519,6 +519,13 @@ mod_menuBottom.ascx + + mod_menuBottomFullpage.ascx + ASPXCodeBehind + + + mod_menuBottomFullpage.ascx + mod_menuBottomPortable.ascx ASPXCodeBehind @@ -1068,6 +1075,7 @@ + diff --git a/GMW/GMW/Reports/CartellinoLiquidiF10.rdlc b/GMW/GMW/Reports/CartellinoLiquidiF10.rdlc index 77e23f8c..0af70234 100644 --- a/GMW/GMW/Reports/CartellinoLiquidiF10.rdlc +++ b/GMW/GMW/Reports/CartellinoLiquidiF10.rdlc @@ -58,7 +58,7 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB 21cm - + UDC @@ -211,12 +211,12 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB 1cm - GMWDataSet_stp_prtCartByUDC + GMWDataSet_stp_prtCartLiquidi_F10ByUDC - GMWDataSet_stp_prtCartByUDC + GMWDataSet_stp_prtCartLiquidi_F10ByUDC
diff --git a/GMW/GMW/Reports/CartellinoLiquidiF18.rdlc b/GMW/GMW/Reports/CartellinoLiquidiF18.rdlc index e10dc3eb..69c132ef 100644 --- a/GMW/GMW/Reports/CartellinoLiquidiF18.rdlc +++ b/GMW/GMW/Reports/CartellinoLiquidiF18.rdlc @@ -58,7 +58,7 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB 21cm - + UDC @@ -211,12 +211,12 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB 1cm - GMWDataSet_stp_prtCartByUDC + GMWDataSet_stp_prtCartLiquidi_F18ByUDC
- GMWDataSet_stp_prtCartByUDC + GMWDataSet_stp_prtCartLiquidi_F18ByUDC
diff --git a/GMW/GMW/Web.config b/GMW/GMW/Web.config index 1b0ca2b8..339a3668 100644 --- a/GMW/GMW/Web.config +++ b/GMW/GMW/Web.config @@ -60,7 +60,7 @@ - + diff --git a/GMW/GMW/WebMasterPages/AjaxSimpleFull.Master b/GMW/GMW/WebMasterPages/AjaxSimpleFull.Master index a692adbf..b9230466 100644 --- a/GMW/GMW/WebMasterPages/AjaxSimpleFull.Master +++ b/GMW/GMW/WebMasterPages/AjaxSimpleFull.Master @@ -4,10 +4,12 @@ <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> <%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" TagPrefix="uc1" %> +<%@ Register Src="../WebUserControls/mod_menuBottomFullpage.ascx" TagName="mod_menuBottomFullpage" + TagPrefix="uc2" %> - Simplepage + GMW @@ -20,6 +22,9 @@
+
+ +
diff --git a/GMW/GMW/WebMasterPages/AjaxSimpleFull.Master.designer.cs b/GMW/GMW/WebMasterPages/AjaxSimpleFull.Master.designer.cs index 4073af82..6804533e 100644 --- a/GMW/GMW/WebMasterPages/AjaxSimpleFull.Master.designer.cs +++ b/GMW/GMW/WebMasterPages/AjaxSimpleFull.Master.designer.cs @@ -48,5 +48,14 @@ namespace GMW.WebMasterPages { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1; + + /// + /// mod_menuBottomFullpage1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::GMW.WebUserControls.mod_menuBottomFullpage mod_menuBottomFullpage1; } } diff --git a/GMW/GMW/WebUserControls/mod_menuBottomFullpage.ascx b/GMW/GMW/WebUserControls/mod_menuBottomFullpage.ascx new file mode 100644 index 00000000..f85003a5 --- /dev/null +++ b/GMW/GMW/WebUserControls/mod_menuBottomFullpage.ascx @@ -0,0 +1,7 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_menuBottomFullpage.ascx.cs" Inherits="GMW.WebUserControls.mod_menuBottomFullpage" %> + + |  +  -   + + + \ No newline at end of file diff --git a/GMW/GMW/WebUserControls/mod_menuBottomFullpage.ascx.cs b/GMW/GMW/WebUserControls/mod_menuBottomFullpage.ascx.cs new file mode 100644 index 00000000..f234211c --- /dev/null +++ b/GMW/GMW/WebUserControls/mod_menuBottomFullpage.ascx.cs @@ -0,0 +1,40 @@ +using System; +using System.Data; +using System.Configuration; +using System.Collections; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Web.UI.HtmlControls; + +namespace GMW.WebUserControls +{ + public partial class mod_menuBottomFullpage : System.Web.UI.UserControl + { + protected void Page_Load(object sender, EventArgs e) + { + // sistemo le stringhe... + lblApp.Text = string.Format("{0} v.{1}.{2}", ConfigurationManager.AppSettings.Get("appName"), ConfigurationManager.AppSettings.Get("mainRev"), ConfigurationManager.AppSettings.Get("minRev")); + lblCopyRight.Text = string.Format("{0}", ConfigurationManager.AppSettings.Get("copyRight")); + setTimer(); + } + /// + /// imposta il tempo di scadenza del timer x il refresh della pagina (della parte top) per evitare che la sessione sul server scada + /// + private void setTimer() + { + Timer1.Interval = SteamWare.memLayer.ML.confReadInt("intUpdatePagina_ms"); + } + protected void Timer1_Tick(object sender, EventArgs e) + { + setClock(); + } + + private void setClock() + { + lblDateTime.Text = DateTime.Now.ToString("HH:mm:ss"); + } + } +} \ No newline at end of file diff --git a/GMW/GMW/WebUserControls/mod_menuBottomFullpage.ascx.designer.cs b/GMW/GMW/WebUserControls/mod_menuBottomFullpage.ascx.designer.cs new file mode 100644 index 00000000..d733040a --- /dev/null +++ b/GMW/GMW/WebUserControls/mod_menuBottomFullpage.ascx.designer.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.4963 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace GMW.WebUserControls { + + + public partial class mod_menuBottomFullpage { + + /// + /// lblDateTime control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblDateTime; + + /// + /// lblApp control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblApp; + + /// + /// lblrev control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblrev; + + /// + /// lblCopyRight control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.Label lblCopyRight; + + /// + /// Timer1 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.Timer Timer1; + } +} diff --git a/GMW/GMW/WebUserControls/mod_sanpos_creazioneF18.ascx b/GMW/GMW/WebUserControls/mod_sanpos_creazioneF18.ascx index c474f715..82f695cb 100644 --- a/GMW/GMW/WebUserControls/mod_sanpos_creazioneF18.ascx +++ b/GMW/GMW/WebUserControls/mod_sanpos_creazioneF18.ascx @@ -44,7 +44,7 @@

- diff --git a/GMW/GMW/WebUserControls/mod_viewOdette.ascx.cs b/GMW/GMW/WebUserControls/mod_viewOdette.ascx.cs index 1bbef2c7..644df2ca 100644 --- a/GMW/GMW/WebUserControls/mod_viewOdette.ascx.cs +++ b/GMW/GMW/WebUserControls/mod_viewOdette.ascx.cs @@ -220,7 +220,7 @@ namespace GMW.WebUserControls { case "stampaOdette": // lancia una singola etichetta odette - Odette.mgr.stampaEtichettaOdette(UDC); + Odette.mgr.stampaEtichettaOdette(UDC, postazione_printer); // blocco update! e.Cancel = true; break; @@ -338,7 +338,7 @@ namespace GMW.WebUserControls /// protected void btnRistampaOdette_Click(object sender, EventArgs e) { - Odette.mgr.stampaOdettePackingList(CodListaOdetteCurr); + Odette.mgr.stampaOdettePackingList(CodListaOdetteCurr, postazione_printer); } /// /// elimina tutte le odette @@ -364,9 +364,74 @@ namespace GMW.WebUserControls return memLayer.ML.StringSessionObj("CodListaOd_sel"); } } - + /// + /// calcola postazione corrente (ip, name, printer) + /// + private void calcolaPostazione() + { + postazione_IP = Request.UserHostName; + postazione_name = dnsUtils.DetermineCompName(postazione_IP); + // cerco stampante x postazione + postazione_printer = "n.d."; + try + { + DS_Applicazione.ElencoPostazioniDataTable tabPost = DataProxy.obj.taElPost.getByCod(postazione_name); + if (tabPost.Rows.Count > 0) + { + postazione_printer = tabPost[0].stampante; + } + else + { + tabPost = DataProxy.obj.taElPost.getByCod("default"); + postazione_printer = tabPost[0].stampante; + } + } + catch + { } + } + /// + /// indica name della postazione corrente + /// + protected string postazione_name + { + get + { + return memLayer.ML.StringSessionObj("postazione_name"); + } + set + { + memLayer.ML.setSessionVal("postazione_name", value); + } + } + /// + /// indica ip della postazione corrente + /// + protected string postazione_IP + { + get + { + return memLayer.ML.StringSessionObj("postazione_IP"); + } + set + { + memLayer.ML.setSessionVal("postazione_IP", value); + } + } + /// + /// indica stampante associata alla postazione corrente + /// + protected string postazione_printer + { + get + { + return memLayer.ML.StringSessionObj("postazione_printer"); + } + set + { + memLayer.ML.setSessionVal("postazione_printer", value); + } + } #endregion - } } \ No newline at end of file diff --git a/GMW/GMW/bin/GMW.dll b/GMW/GMW/bin/GMW.dll index a5a03b64..a01c9bb9 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 8c496c4a..4b1c0aa3 100644 Binary files a/GMW/GMW/bin/GMW_data.dll and b/GMW/GMW/bin/GMW_data.dll differ diff --git a/GMW/GMW/bin/SteamWare.dll b/GMW/GMW/bin/SteamWare.dll index dc1e3e65..13668782 100644 Binary files a/GMW/GMW/bin/SteamWare.dll and b/GMW/GMW/bin/SteamWare.dll differ diff --git a/GMW/GMW/mazzAppSettings.config b/GMW/GMW/mazzAppSettings.config index 5cc4d311..2d465ad4 100644 --- a/GMW/GMW/mazzAppSettings.config +++ b/GMW/GMW/mazzAppSettings.config @@ -7,7 +7,7 @@ - + diff --git a/GMW/GMW/mazzAppSettingsSP.config b/GMW/GMW/mazzAppSettingsSP.config index 3073996b..ccf2cfef 100644 --- a/GMW/GMW/mazzAppSettingsSP.config +++ b/GMW/GMW/mazzAppSettingsSP.config @@ -7,7 +7,7 @@ - + diff --git a/GMW/GMW/mazzAppSettingsSP_test.config b/GMW/GMW/mazzAppSettingsSP_test.config index 80f61f4d..8ccb5766 100644 --- a/GMW/GMW/mazzAppSettingsSP_test.config +++ b/GMW/GMW/mazzAppSettingsSP_test.config @@ -7,7 +7,7 @@ - + diff --git a/GMW/GMW/mazzAppSettingsTK.config b/GMW/GMW/mazzAppSettingsTK.config index c43dd99c..8e43f7e9 100644 --- a/GMW/GMW/mazzAppSettingsTK.config +++ b/GMW/GMW/mazzAppSettingsTK.config @@ -7,7 +7,7 @@ - + diff --git a/GMW/GMW/obj/Debug/GMW.dll b/GMW/GMW/obj/Debug/GMW.dll index a5a03b64..33c632b2 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 99f40e21..b8c44b16 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 d908171d..1721b80f 100644 Binary files a/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache and b/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache differ diff --git a/GMW/GMW/obj/Release/GMW.dll b/GMW/GMW/obj/Release/GMW.dll index 66e639b6..a01c9bb9 100644 Binary files a/GMW/GMW/obj/Release/GMW.dll and b/GMW/GMW/obj/Release/GMW.dll differ diff --git a/GMW/GMW/obj/Release/RdlCompile.cache b/GMW/GMW/obj/Release/RdlCompile.cache index 99f40e21..b8c44b16 100644 Binary files a/GMW/GMW/obj/Release/RdlCompile.cache and b/GMW/GMW/obj/Release/RdlCompile.cache differ diff --git a/GMW/GMW/obj/Release/ResolveAssemblyReference.cache b/GMW/GMW/obj/Release/ResolveAssemblyReference.cache index 2232c93c..27b1a4a2 100644 Binary files a/GMW/GMW/obj/Release/ResolveAssemblyReference.cache and b/GMW/GMW/obj/Release/ResolveAssemblyReference.cache differ diff --git a/GMW/GMW_data/DS_Odette.Designer.cs b/GMW/GMW_data/DS_Odette.Designer.cs index abe1dcb4..f0bef28c 100644 --- a/GMW/GMW_data/DS_Odette.Designer.cs +++ b/GMW/GMW_data/DS_Odette.Designer.cs @@ -6651,7 +6651,7 @@ SELECT CDMFS, GRBOS, DTBOS, NRBOS, CDARS, NRRGS, CDINB, RA1ND, RA2ND, CAPND, CIT this._commandCollection[9].CommandText = "dbo.stp_ODETTE_upsertUdc"; this._commandCollection[9].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[9].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[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[9].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, "", "", "")); this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numBolla", global::System.Data.SqlDbType.NVarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dataBolla", global::System.Data.SqlDbType.NVarChar, 8, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); diff --git a/GMW/GMW_data/DS_Odette.xsd b/GMW/GMW_data/DS_Odette.xsd index 06d72beb..0a76693a 100644 --- a/GMW/GMW_data/DS_Odette.xsd +++ b/GMW/GMW_data/DS_Odette.xsd @@ -875,7 +875,7 @@ SELECT CampoUDC, Campo1_1, Campo1_2, Campo1_3, Campo1_4, Campo1_5, Campo2_1, Cam dbo.stp_ODETTE_upsertUdc - + @@ -922,805 +922,805 @@ SELECT CampoUDC, Campo1_1, Campo1_2, Campo1_3, Campo1_4, Campo1_5, Campo2_1, Cam - + - + - - - + + + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + @@ -1733,8 +1733,8 @@ SELECT CampoUDC, Campo1_1, Campo1_2, Campo1_3, Campo1_4, Campo1_5, Campo2_1, Cam - - + + diff --git a/GMW/GMW_data/DS_cartellini.Designer.cs b/GMW/GMW_data/DS_cartellini.Designer.cs index 0214a6fd..3407392e 100644 --- a/GMW/GMW_data/DS_cartellini.Designer.cs +++ b/GMW/GMW_data/DS_cartellini.Designer.cs @@ -29,10 +29,10 @@ namespace GMW_data { private stp_prtCartMatPrimaByUDCDataTable tablestp_prtCartMatPrimaByUDC; - private stp_prtCartLiquidi_F10ByUDCDataTable tablestp_prtCartLiquidi_F10ByUDC; - private stp_prtCartLiquidi_F18ByUDCDataTable tablestp_prtCartLiquidi_F18ByUDC; + private stp_prtCartLiquidi_F10ByUDCDataTable tablestp_prtCartLiquidi_F10ByUDC; + private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -65,12 +65,12 @@ namespace GMW_data { if ((ds.Tables["stp_prtCartMatPrimaByUDC"] != null)) { base.Tables.Add(new stp_prtCartMatPrimaByUDCDataTable(ds.Tables["stp_prtCartMatPrimaByUDC"])); } - if ((ds.Tables["stp_prtCartLiquidi_F10ByUDC"] != null)) { - base.Tables.Add(new stp_prtCartLiquidi_F10ByUDCDataTable(ds.Tables["stp_prtCartLiquidi_F10ByUDC"])); - } if ((ds.Tables["stp_prtCartLiquidi_F18ByUDC"] != null)) { base.Tables.Add(new stp_prtCartLiquidi_F18ByUDCDataTable(ds.Tables["stp_prtCartLiquidi_F18ByUDC"])); } + if ((ds.Tables["stp_prtCartLiquidi_F10ByUDC"] != null)) { + base.Tables.Add(new stp_prtCartLiquidi_F10ByUDCDataTable(ds.Tables["stp_prtCartLiquidi_F10ByUDC"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -110,18 +110,18 @@ namespace GMW_data { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public stp_prtCartLiquidi_F10ByUDCDataTable stp_prtCartLiquidi_F10ByUDC { + public stp_prtCartLiquidi_F18ByUDCDataTable stp_prtCartLiquidi_F18ByUDC { get { - return this.tablestp_prtCartLiquidi_F10ByUDC; + return this.tablestp_prtCartLiquidi_F18ByUDC; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public stp_prtCartLiquidi_F18ByUDCDataTable stp_prtCartLiquidi_F18ByUDC { + public stp_prtCartLiquidi_F10ByUDCDataTable stp_prtCartLiquidi_F10ByUDC { get { - return this.tablestp_prtCartLiquidi_F18ByUDC; + return this.tablestp_prtCartLiquidi_F10ByUDC; } } @@ -190,12 +190,12 @@ namespace GMW_data { if ((ds.Tables["stp_prtCartMatPrimaByUDC"] != null)) { base.Tables.Add(new stp_prtCartMatPrimaByUDCDataTable(ds.Tables["stp_prtCartMatPrimaByUDC"])); } - if ((ds.Tables["stp_prtCartLiquidi_F10ByUDC"] != null)) { - base.Tables.Add(new stp_prtCartLiquidi_F10ByUDCDataTable(ds.Tables["stp_prtCartLiquidi_F10ByUDC"])); - } if ((ds.Tables["stp_prtCartLiquidi_F18ByUDC"] != null)) { base.Tables.Add(new stp_prtCartLiquidi_F18ByUDCDataTable(ds.Tables["stp_prtCartLiquidi_F18ByUDC"])); } + if ((ds.Tables["stp_prtCartLiquidi_F10ByUDC"] != null)) { + base.Tables.Add(new stp_prtCartLiquidi_F10ByUDCDataTable(ds.Tables["stp_prtCartLiquidi_F10ByUDC"])); + } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; @@ -238,18 +238,18 @@ namespace GMW_data { this.tablestp_prtCartMatPrimaByUDC.InitVars(); } } - this.tablestp_prtCartLiquidi_F10ByUDC = ((stp_prtCartLiquidi_F10ByUDCDataTable)(base.Tables["stp_prtCartLiquidi_F10ByUDC"])); - if ((initTable == true)) { - if ((this.tablestp_prtCartLiquidi_F10ByUDC != null)) { - this.tablestp_prtCartLiquidi_F10ByUDC.InitVars(); - } - } this.tablestp_prtCartLiquidi_F18ByUDC = ((stp_prtCartLiquidi_F18ByUDCDataTable)(base.Tables["stp_prtCartLiquidi_F18ByUDC"])); if ((initTable == true)) { if ((this.tablestp_prtCartLiquidi_F18ByUDC != null)) { this.tablestp_prtCartLiquidi_F18ByUDC.InitVars(); } } + this.tablestp_prtCartLiquidi_F10ByUDC = ((stp_prtCartLiquidi_F10ByUDCDataTable)(base.Tables["stp_prtCartLiquidi_F10ByUDC"])); + if ((initTable == true)) { + if ((this.tablestp_prtCartLiquidi_F10ByUDC != null)) { + this.tablestp_prtCartLiquidi_F10ByUDC.InitVars(); + } + } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -263,10 +263,10 @@ namespace GMW_data { base.Tables.Add(this.tablestp_prtCartByUDC); this.tablestp_prtCartMatPrimaByUDC = new stp_prtCartMatPrimaByUDCDataTable(); base.Tables.Add(this.tablestp_prtCartMatPrimaByUDC); - this.tablestp_prtCartLiquidi_F10ByUDC = new stp_prtCartLiquidi_F10ByUDCDataTable(); - base.Tables.Add(this.tablestp_prtCartLiquidi_F10ByUDC); this.tablestp_prtCartLiquidi_F18ByUDC = new stp_prtCartLiquidi_F18ByUDCDataTable(); base.Tables.Add(this.tablestp_prtCartLiquidi_F18ByUDC); + this.tablestp_prtCartLiquidi_F10ByUDC = new stp_prtCartLiquidi_F10ByUDCDataTable(); + base.Tables.Add(this.tablestp_prtCartLiquidi_F10ByUDC); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -280,12 +280,12 @@ namespace GMW_data { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - private bool ShouldSerializestp_prtCartLiquidi_F10ByUDC() { + private bool ShouldSerializestp_prtCartLiquidi_F18ByUDC() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - private bool ShouldSerializestp_prtCartLiquidi_F18ByUDC() { + private bool ShouldSerializestp_prtCartLiquidi_F10ByUDC() { return false; } @@ -346,10 +346,10 @@ namespace GMW_data { public delegate void stp_prtCartMatPrimaByUDCRowChangeEventHandler(object sender, stp_prtCartMatPrimaByUDCRowChangeEvent e); - public delegate void stp_prtCartLiquidi_F10ByUDCRowChangeEventHandler(object sender, stp_prtCartLiquidi_F10ByUDCRowChangeEvent e); - public delegate void stp_prtCartLiquidi_F18ByUDCRowChangeEventHandler(object sender, stp_prtCartLiquidi_F18ByUDCRowChangeEvent e); + public delegate void stp_prtCartLiquidi_F10ByUDCRowChangeEventHandler(object sender, stp_prtCartLiquidi_F10ByUDCRowChangeEvent e); + /// ///Represents the strongly named DataTable class. /// @@ -1554,738 +1554,6 @@ 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_prtCartLiquidi_F10ByUDCDataTable : 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_prtCartLiquidi_F10ByUDCDataTable() { - this.TableName = "stp_prtCartLiquidi_F10ByUDC"; - this.BeginInit(); - this.InitClass(); - this.EndInit(); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - internal stp_prtCartLiquidi_F10ByUDCDataTable(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_prtCartLiquidi_F10ByUDCDataTable(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_prtCartLiquidi_F10ByUDCRow this[int index] { - get { - return ((stp_prtCartLiquidi_F10ByUDCRow)(this.Rows[index])); - } - } - - public event stp_prtCartLiquidi_F10ByUDCRowChangeEventHandler stp_prtCartLiquidi_F10ByUDCRowChanging; - - public event stp_prtCartLiquidi_F10ByUDCRowChangeEventHandler stp_prtCartLiquidi_F10ByUDCRowChanged; - - public event stp_prtCartLiquidi_F10ByUDCRowChangeEventHandler stp_prtCartLiquidi_F10ByUDCRowDeleting; - - public event stp_prtCartLiquidi_F10ByUDCRowChangeEventHandler stp_prtCartLiquidi_F10ByUDCRowDeleted; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void Addstp_prtCartLiquidi_F10ByUDCRow(stp_prtCartLiquidi_F10ByUDCRow row) { - this.Rows.Add(row); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public stp_prtCartLiquidi_F10ByUDCRow Addstp_prtCartLiquidi_F10ByUDCRow( - 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_prtCartLiquidi_F10ByUDCRow rowstp_prtCartLiquidi_F10ByUDCRow = ((stp_prtCartLiquidi_F10ByUDCRow)(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_prtCartLiquidi_F10ByUDCRow.ItemArray = columnValuesArray; - this.Rows.Add(rowstp_prtCartLiquidi_F10ByUDCRow); - return rowstp_prtCartLiquidi_F10ByUDCRow; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public stp_prtCartLiquidi_F10ByUDCRow FindByUDC(string UDC) { - return ((stp_prtCartLiquidi_F10ByUDCRow)(this.Rows.Find(new object[] { - UDC}))); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public override global::System.Data.DataTable Clone() { - stp_prtCartLiquidi_F10ByUDCDataTable cln = ((stp_prtCartLiquidi_F10ByUDCDataTable)(base.Clone())); - cln.InitVars(); - return cln; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - protected override global::System.Data.DataTable CreateInstance() { - return new stp_prtCartLiquidi_F10ByUDCDataTable(); - } - - [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 = 1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public stp_prtCartLiquidi_F10ByUDCRow Newstp_prtCartLiquidi_F10ByUDCRow() { - return ((stp_prtCartLiquidi_F10ByUDCRow)(this.NewRow())); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new stp_prtCartLiquidi_F10ByUDCRow(builder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - protected override global::System.Type GetRowType() { - return typeof(stp_prtCartLiquidi_F10ByUDCRow); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanged(e); - if ((this.stp_prtCartLiquidi_F10ByUDCRowChanged != null)) { - this.stp_prtCartLiquidi_F10ByUDCRowChanged(this, new stp_prtCartLiquidi_F10ByUDCRowChangeEvent(((stp_prtCartLiquidi_F10ByUDCRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowChanging(e); - if ((this.stp_prtCartLiquidi_F10ByUDCRowChanging != null)) { - this.stp_prtCartLiquidi_F10ByUDCRowChanging(this, new stp_prtCartLiquidi_F10ByUDCRowChangeEvent(((stp_prtCartLiquidi_F10ByUDCRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleted(e); - if ((this.stp_prtCartLiquidi_F10ByUDCRowDeleted != null)) { - this.stp_prtCartLiquidi_F10ByUDCRowDeleted(this, new stp_prtCartLiquidi_F10ByUDCRowChangeEvent(((stp_prtCartLiquidi_F10ByUDCRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { - base.OnRowDeleting(e); - if ((this.stp_prtCartLiquidi_F10ByUDCRowDeleting != null)) { - this.stp_prtCartLiquidi_F10ByUDCRowDeleting(this, new stp_prtCartLiquidi_F10ByUDCRowChangeEvent(((stp_prtCartLiquidi_F10ByUDCRow)(e.Row)), e.Action)); - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void Removestp_prtCartLiquidi_F10ByUDCRow(stp_prtCartLiquidi_F10ByUDCRow 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_prtCartLiquidi_F10ByUDCDataTable"; - type.Attributes.Add(attribute2); - type.Particle = sequence; - global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); - if (xs.Contains(dsSchema.TargetNamespace)) { - global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); - global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); - try { - global::System.Xml.Schema.XmlSchema schema = null; - dsSchema.Write(s1); - for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { - schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); - s2.SetLength(0); - schema.Write(s2); - if ((s1.Length == s2.Length)) { - s1.Position = 0; - s2.Position = 0; - for (; ((s1.Position != s1.Length) - && (s1.ReadByte() == s2.ReadByte())); ) { - ; - } - if ((s1.Position == s1.Length)) { - return type; - } - } - } - } - finally { - if ((s1 != null)) { - s1.Close(); - } - if ((s2 != null)) { - s2.Close(); - } - } - } - xs.Add(dsSchema); - return type; - } - } - /// ///Represents the strongly named DataTable class. /// @@ -2724,12 +1992,6 @@ namespace GMW_data { return rowstp_prtCartLiquidi_F18ByUDCRow; } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public stp_prtCartLiquidi_F18ByUDCRow FindByUDC(string UDC) { - return ((stp_prtCartLiquidi_F18ByUDCRow)(this.Rows.Find(new object[] { - UDC}))); - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { stp_prtCartLiquidi_F18ByUDCDataTable cln = ((stp_prtCartLiquidi_F18ByUDCDataTable)(base.Clone())); @@ -2847,10 +2109,7 @@ namespace GMW_data { 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; @@ -3018,6 +2277,730 @@ 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_prtCartLiquidi_F10ByUDCDataTable : 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_prtCartLiquidi_F10ByUDCDataTable() { + this.TableName = "stp_prtCartLiquidi_F10ByUDC"; + this.BeginInit(); + this.InitClass(); + this.EndInit(); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal stp_prtCartLiquidi_F10ByUDCDataTable(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_prtCartLiquidi_F10ByUDCDataTable(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_prtCartLiquidi_F10ByUDCRow this[int index] { + get { + return ((stp_prtCartLiquidi_F10ByUDCRow)(this.Rows[index])); + } + } + + public event stp_prtCartLiquidi_F10ByUDCRowChangeEventHandler stp_prtCartLiquidi_F10ByUDCRowChanging; + + public event stp_prtCartLiquidi_F10ByUDCRowChangeEventHandler stp_prtCartLiquidi_F10ByUDCRowChanged; + + public event stp_prtCartLiquidi_F10ByUDCRowChangeEventHandler stp_prtCartLiquidi_F10ByUDCRowDeleting; + + public event stp_prtCartLiquidi_F10ByUDCRowChangeEventHandler stp_prtCartLiquidi_F10ByUDCRowDeleted; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Addstp_prtCartLiquidi_F10ByUDCRow(stp_prtCartLiquidi_F10ByUDCRow row) { + this.Rows.Add(row); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public stp_prtCartLiquidi_F10ByUDCRow Addstp_prtCartLiquidi_F10ByUDCRow( + 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_prtCartLiquidi_F10ByUDCRow rowstp_prtCartLiquidi_F10ByUDCRow = ((stp_prtCartLiquidi_F10ByUDCRow)(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_prtCartLiquidi_F10ByUDCRow.ItemArray = columnValuesArray; + this.Rows.Add(rowstp_prtCartLiquidi_F10ByUDCRow); + return rowstp_prtCartLiquidi_F10ByUDCRow; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public override global::System.Data.DataTable Clone() { + stp_prtCartLiquidi_F10ByUDCDataTable cln = ((stp_prtCartLiquidi_F10ByUDCDataTable)(base.Clone())); + cln.InitVars(); + return cln; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataTable CreateInstance() { + return new stp_prtCartLiquidi_F10ByUDCDataTable(); + } + + [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.columnUDC.ReadOnly = true; + this.columnUDC.MaxLength = 50; + this.columnCodCS.ReadOnly = true; + 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_prtCartLiquidi_F10ByUDCRow Newstp_prtCartLiquidi_F10ByUDCRow() { + return ((stp_prtCartLiquidi_F10ByUDCRow)(this.NewRow())); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { + return new stp_prtCartLiquidi_F10ByUDCRow(builder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override global::System.Type GetRowType() { + return typeof(stp_prtCartLiquidi_F10ByUDCRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanged(e); + if ((this.stp_prtCartLiquidi_F10ByUDCRowChanged != null)) { + this.stp_prtCartLiquidi_F10ByUDCRowChanged(this, new stp_prtCartLiquidi_F10ByUDCRowChangeEvent(((stp_prtCartLiquidi_F10ByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowChanging(e); + if ((this.stp_prtCartLiquidi_F10ByUDCRowChanging != null)) { + this.stp_prtCartLiquidi_F10ByUDCRowChanging(this, new stp_prtCartLiquidi_F10ByUDCRowChangeEvent(((stp_prtCartLiquidi_F10ByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleted(e); + if ((this.stp_prtCartLiquidi_F10ByUDCRowDeleted != null)) { + this.stp_prtCartLiquidi_F10ByUDCRowDeleted(this, new stp_prtCartLiquidi_F10ByUDCRowChangeEvent(((stp_prtCartLiquidi_F10ByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { + base.OnRowDeleting(e); + if ((this.stp_prtCartLiquidi_F10ByUDCRowDeleting != null)) { + this.stp_prtCartLiquidi_F10ByUDCRowDeleting(this, new stp_prtCartLiquidi_F10ByUDCRowChangeEvent(((stp_prtCartLiquidi_F10ByUDCRow)(e.Row)), e.Action)); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void Removestp_prtCartLiquidi_F10ByUDCRow(stp_prtCartLiquidi_F10ByUDCRow 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_prtCartLiquidi_F10ByUDCDataTable"; + 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. /// @@ -4105,851 +4088,6 @@ 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_prtCartLiquidi_F10ByUDCRow : global::System.Data.DataRow { - - private stp_prtCartLiquidi_F10ByUDCDataTable tablestp_prtCartLiquidi_F10ByUDC; - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - internal stp_prtCartLiquidi_F10ByUDCRow(global::System.Data.DataRowBuilder rb) : - base(rb) { - this.tablestp_prtCartLiquidi_F10ByUDC = ((stp_prtCartLiquidi_F10ByUDCDataTable)(this.Table)); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string UDC { - get { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.UDCColumn])); - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.UDCColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string CodCS { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.CodCSColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'CodCS\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.CodCSColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string codcliente { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.codclienteColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'codcliente\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNul" + - "l.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.codclienteColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string ragsociale { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.ragsocialeColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'ragsociale\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNul" + - "l.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.ragsocialeColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string particolare { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.particolareColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'particolare\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNu" + - "ll.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.particolareColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string descparticolare { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.descparticolareColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'descparticolare\' in table \'stp_prtCartLiquidi_F10ByUDC\' is " + - "DBNull.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.descparticolareColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string disegnogrezzo { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.disegnogrezzoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'disegnogrezzo\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DB" + - "Null.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.disegnogrezzoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string esponente { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.esponenteColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'esponente\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull" + - ".", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.esponenteColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string codimpianto { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.codimpiantoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'codimpianto\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNu" + - "ll.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.codimpiantoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string descimpianto { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.descimpiantoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'descimpianto\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBN" + - "ull.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.descimpiantoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string codstampo { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.codstampoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'codstampo\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull" + - ".", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.codstampoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string figura { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.figuraColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'figura\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.figuraColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public System.DateTime datafus { - get { - try { - return ((global::System.DateTime)(this[this.tablestp_prtCartLiquidi_F10ByUDC.datafusColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'datafus\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.datafusColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public int turnofus { - get { - try { - return ((int)(this[this.tablestp_prtCartLiquidi_F10ByUDC.turnofusColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'turnofus\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull." + - "", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.turnofusColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string codimballo { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.codimballoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'codimballo\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNul" + - "l.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.codimballoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string codsoggetto { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.codsoggettoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'codsoggetto\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNu" + - "ll.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.codsoggettoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public int numcont { - get { - try { - return ((int)(this[this.tablestp_prtCartLiquidi_F10ByUDC.numcontColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'numcont\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.numcontColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public double tara { - get { - try { - return ((double)(this[this.tablestp_prtCartLiquidi_F10ByUDC.taraColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'tara\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.taraColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public decimal qta { - get { - try { - return ((decimal)(this[this.tablestp_prtCartLiquidi_F10ByUDC.qtaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'qta\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.qtaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string codstato { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.codstatoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'codstato\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull." + - "", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.codstatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public int idxposizione { - get { - try { - return ((int)(this[this.tablestp_prtCartLiquidi_F10ByUDC.idxposizioneColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'idxposizione\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBN" + - "ull.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.idxposizioneColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public double pesotot { - get { - try { - return ((double)(this[this.tablestp_prtCartLiquidi_F10ByUDC.pesototColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'pesotot\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.pesototColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public double pesocad { - get { - try { - return ((double)(this[this.tablestp_prtCartLiquidi_F10ByUDC.pesocadColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'pesocad\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.pesocadColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public System.DateTime CreateDate { - get { - try { - return ((global::System.DateTime)(this[this.tablestp_prtCartLiquidi_F10ByUDC.CreateDateColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'CreateDate\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNul" + - "l.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.CreateDateColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public System.DateTime ModDate { - get { - try { - return ((global::System.DateTime)(this[this.tablestp_prtCartLiquidi_F10ByUDC.ModDateColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'ModDate\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.ModDateColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string cognome { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.cognomeColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'cognome\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.cognomeColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string nome { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.nomeColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'nome\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.nomeColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string descstato { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.descstatoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'descstato\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull" + - ".", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.descstatoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string descimballo { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.descimballoColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'descimballo\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNu" + - "ll.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.descimballoColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string CodFamiglia { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.CodFamigliaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'CodFamiglia\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNu" + - "ll.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.CodFamigliaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string DescFamiglia { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.DescFamigliaColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'DescFamiglia\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBN" + - "ull.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.DescFamigliaColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string Note { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.NoteColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.NoteColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public string NoteTratt { - get { - try { - return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.NoteTrattColumn])); - } - catch (global::System.InvalidCastException e) { - throw new global::System.Data.StrongTypingException("The value for column \'NoteTratt\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull" + - ".", e); - } - } - set { - this[this.tablestp_prtCartLiquidi_F10ByUDC.NoteTrattColumn] = value; - } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsCodCSNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.CodCSColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetCodCSNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.CodCSColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IscodclienteNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.codclienteColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetcodclienteNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.codclienteColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsragsocialeNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.ragsocialeColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetragsocialeNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.ragsocialeColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsparticolareNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.particolareColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetparticolareNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.particolareColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsdescparticolareNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.descparticolareColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetdescparticolareNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.descparticolareColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsdisegnogrezzoNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.disegnogrezzoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetdisegnogrezzoNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.disegnogrezzoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsesponenteNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.esponenteColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetesponenteNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.esponenteColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IscodimpiantoNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.codimpiantoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetcodimpiantoNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.codimpiantoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsdescimpiantoNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.descimpiantoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetdescimpiantoNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.descimpiantoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IscodstampoNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.codstampoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetcodstampoNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.codstampoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsfiguraNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.figuraColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetfiguraNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.figuraColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsdatafusNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.datafusColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetdatafusNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.datafusColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsturnofusNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.turnofusColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetturnofusNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.turnofusColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IscodimballoNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.codimballoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetcodimballoNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.codimballoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IscodsoggettoNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.codsoggettoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetcodsoggettoNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.codsoggettoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsnumcontNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.numcontColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetnumcontNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.numcontColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IstaraNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.taraColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SettaraNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.taraColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsqtaNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.qtaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetqtaNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.qtaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IscodstatoNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.codstatoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetcodstatoNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.codstatoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsidxposizioneNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.idxposizioneColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetidxposizioneNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.idxposizioneColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IspesototNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.pesototColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetpesototNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.pesototColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IspesocadNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.pesocadColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetpesocadNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.pesocadColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsCreateDateNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.CreateDateColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetCreateDateNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.CreateDateColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsModDateNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.ModDateColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetModDateNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.ModDateColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IscognomeNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.cognomeColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetcognomeNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.cognomeColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsnomeNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.nomeColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetnomeNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.nomeColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsdescstatoNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.descstatoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetdescstatoNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.descstatoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsdescimballoNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.descimballoColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetdescimballoNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.descimballoColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsCodFamigliaNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.CodFamigliaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetCodFamigliaNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.CodFamigliaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsDescFamigliaNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.DescFamigliaColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetDescFamigliaNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.DescFamigliaColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsNoteNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.NoteColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetNoteNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.NoteColumn] = global::System.Convert.DBNull; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public bool IsNoteTrattNull() { - return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.NoteTrattColumn); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public void SetNoteTrattNull() { - this[this.tablestp_prtCartLiquidi_F10ByUDC.NoteTrattColumn] = global::System.Convert.DBNull; - } - } - /// ///Represents strongly named DataRow class. /// @@ -5795,6 +4933,866 @@ 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_prtCartLiquidi_F10ByUDCRow : global::System.Data.DataRow { + + private stp_prtCartLiquidi_F10ByUDCDataTable tablestp_prtCartLiquidi_F10ByUDC; + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + internal stp_prtCartLiquidi_F10ByUDCRow(global::System.Data.DataRowBuilder rb) : + base(rb) { + this.tablestp_prtCartLiquidi_F10ByUDC = ((stp_prtCartLiquidi_F10ByUDCDataTable)(this.Table)); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string UDC { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.UDCColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'UDC\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.UDCColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodCS { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.CodCSColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodCS\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.CodCSColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codcliente { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.codclienteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codcliente\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNul" + + "l.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.codclienteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string ragsociale { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.ragsocialeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ragsociale\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNul" + + "l.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.ragsocialeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string particolare { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.particolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'particolare\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNu" + + "ll.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.particolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descparticolare { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.descparticolareColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descparticolare\' in table \'stp_prtCartLiquidi_F10ByUDC\' is " + + "DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.descparticolareColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string disegnogrezzo { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.disegnogrezzoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'disegnogrezzo\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DB" + + "Null.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.disegnogrezzoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string esponente { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.esponenteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'esponente\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull" + + ".", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.esponenteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codimpianto { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.codimpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codimpianto\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNu" + + "ll.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.codimpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descimpianto { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.descimpiantoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descimpianto\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBN" + + "ull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.descimpiantoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codstampo { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.codstampoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codstampo\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull" + + ".", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.codstampoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string figura { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.figuraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'figura\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.figuraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime datafus { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartLiquidi_F10ByUDC.datafusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'datafus\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.datafusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int turnofus { + get { + try { + return ((int)(this[this.tablestp_prtCartLiquidi_F10ByUDC.turnofusColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'turnofus\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull." + + "", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.turnofusColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codimballo { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.codimballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codimballo\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNul" + + "l.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.codimballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codsoggetto { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.codsoggettoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codsoggetto\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNu" + + "ll.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.codsoggettoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int numcont { + get { + try { + return ((int)(this[this.tablestp_prtCartLiquidi_F10ByUDC.numcontColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'numcont\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.numcontColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double tara { + get { + try { + return ((double)(this[this.tablestp_prtCartLiquidi_F10ByUDC.taraColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'tara\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.taraColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public decimal qta { + get { + try { + return ((decimal)(this[this.tablestp_prtCartLiquidi_F10ByUDC.qtaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'qta\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.qtaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string codstato { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.codstatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'codstato\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull." + + "", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.codstatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public int idxposizione { + get { + try { + return ((int)(this[this.tablestp_prtCartLiquidi_F10ByUDC.idxposizioneColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'idxposizione\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBN" + + "ull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.idxposizioneColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double pesotot { + get { + try { + return ((double)(this[this.tablestp_prtCartLiquidi_F10ByUDC.pesototColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'pesotot\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.pesototColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public double pesocad { + get { + try { + return ((double)(this[this.tablestp_prtCartLiquidi_F10ByUDC.pesocadColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'pesocad\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.pesocadColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime CreateDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartLiquidi_F10ByUDC.CreateDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CreateDate\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNul" + + "l.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.CreateDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public System.DateTime ModDate { + get { + try { + return ((global::System.DateTime)(this[this.tablestp_prtCartLiquidi_F10ByUDC.ModDateColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'ModDate\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.ModDateColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string cognome { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.cognomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'cognome\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.cognomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string nome { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.nomeColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'nome\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.nomeColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descstato { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.descstatoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descstato\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull" + + ".", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.descstatoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string descimballo { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.descimballoColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'descimballo\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNu" + + "ll.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.descimballoColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string CodFamiglia { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.CodFamigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'CodFamiglia\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNu" + + "ll.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.CodFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string DescFamiglia { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.DescFamigliaColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'DescFamiglia\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBN" + + "ull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.DescFamigliaColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string Note { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.NoteColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'Note\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull.", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.NoteColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string NoteTratt { + get { + try { + return ((string)(this[this.tablestp_prtCartLiquidi_F10ByUDC.NoteTrattColumn])); + } + catch (global::System.InvalidCastException e) { + throw new global::System.Data.StrongTypingException("The value for column \'NoteTratt\' in table \'stp_prtCartLiquidi_F10ByUDC\' is DBNull" + + ".", e); + } + } + set { + this[this.tablestp_prtCartLiquidi_F10ByUDC.NoteTrattColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsUDCNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.UDCColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetUDCNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.UDCColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCodCSNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.CodCSColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCodCSNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.CodCSColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodclienteNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.codclienteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodclienteNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.codclienteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsragsocialeNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.ragsocialeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetragsocialeNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.ragsocialeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsparticolareNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.particolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetparticolareNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.particolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescparticolareNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.descparticolareColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescparticolareNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.descparticolareColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdisegnogrezzoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.disegnogrezzoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdisegnogrezzoNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.disegnogrezzoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsesponenteNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.esponenteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetesponenteNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.esponenteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodimpiantoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.codimpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodimpiantoNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.codimpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescimpiantoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.descimpiantoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescimpiantoNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.descimpiantoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodstampoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.codstampoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodstampoNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.codstampoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsfiguraNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.figuraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetfiguraNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.figuraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdatafusNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.datafusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdatafusNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.datafusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsturnofusNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.turnofusColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetturnofusNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.turnofusColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodimballoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.codimballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodimballoNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.codimballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodsoggettoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.codsoggettoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodsoggettoNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.codsoggettoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnumcontNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.numcontColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnumcontNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.numcontColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IstaraNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.taraColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SettaraNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.taraColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsqtaNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.qtaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetqtaNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.qtaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscodstatoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.codstatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcodstatoNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.codstatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsidxposizioneNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.idxposizioneColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetidxposizioneNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.idxposizioneColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IspesototNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.pesototColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetpesototNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.pesototColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IspesocadNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.pesocadColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetpesocadNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.pesocadColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCreateDateNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.CreateDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCreateDateNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.CreateDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsModDateNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.ModDateColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetModDateNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.ModDateColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IscognomeNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.cognomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetcognomeNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.cognomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsnomeNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.nomeColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetnomeNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.nomeColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescstatoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.descstatoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescstatoNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.descstatoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsdescimballoNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.descimballoColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetdescimballoNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.descimballoColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsCodFamigliaNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.CodFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetCodFamigliaNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.CodFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsDescFamigliaNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.DescFamigliaColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetDescFamigliaNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.DescFamigliaColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsNoteNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.NoteColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetNoteNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.NoteColumn] = global::System.Convert.DBNull; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public bool IsNoteTrattNull() { + return this.IsNull(this.tablestp_prtCartLiquidi_F10ByUDC.NoteTrattColumn); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public void SetNoteTrattNull() { + this[this.tablestp_prtCartLiquidi_F10ByUDC.NoteTrattColumn] = global::System.Convert.DBNull; + } + } + /// ///Row event argument class /// @@ -5861,20 +5859,20 @@ namespace GMW_data { ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] - public class stp_prtCartLiquidi_F10ByUDCRowChangeEvent : global::System.EventArgs { + public class stp_prtCartLiquidi_F18ByUDCRowChangeEvent : global::System.EventArgs { - private stp_prtCartLiquidi_F10ByUDCRow eventRow; + private stp_prtCartLiquidi_F18ByUDCRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public stp_prtCartLiquidi_F10ByUDCRowChangeEvent(stp_prtCartLiquidi_F10ByUDCRow row, global::System.Data.DataRowAction action) { + public stp_prtCartLiquidi_F18ByUDCRowChangeEvent(stp_prtCartLiquidi_F18ByUDCRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public stp_prtCartLiquidi_F10ByUDCRow Row { + public stp_prtCartLiquidi_F18ByUDCRow Row { get { return this.eventRow; } @@ -5892,20 +5890,20 @@ namespace GMW_data { ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] - public class stp_prtCartLiquidi_F18ByUDCRowChangeEvent : global::System.EventArgs { + public class stp_prtCartLiquidi_F10ByUDCRowChangeEvent : global::System.EventArgs { - private stp_prtCartLiquidi_F18ByUDCRow eventRow; + private stp_prtCartLiquidi_F10ByUDCRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public stp_prtCartLiquidi_F18ByUDCRowChangeEvent(stp_prtCartLiquidi_F18ByUDCRow row, global::System.Data.DataRowAction action) { + public stp_prtCartLiquidi_F10ByUDCRowChangeEvent(stp_prtCartLiquidi_F10ByUDCRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public stp_prtCartLiquidi_F18ByUDCRow Row { + public stp_prtCartLiquidi_F10ByUDCRow Row { get { return this.eventRow; } @@ -6313,209 +6311,6 @@ 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_prtCartLiquidi_F10ByUDCTableAdapter : 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_prtCartLiquidi_F10ByUDCTableAdapter() { - 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_prtCartLiquidi_F10ByUDC"; - 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_prtCartLiquidi_F10ByUDC"; - this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure; - this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] - [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(DS_cartellini.stp_prtCartLiquidi_F10ByUDCDataTable 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_prtCartLiquidi_F10ByUDCDataTable 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_prtCartLiquidi_F10ByUDCDataTable dataTable = new DS_cartellini.stp_prtCartLiquidi_F10ByUDCDataTable(); - this.Adapter.Fill(dataTable); - return dataTable; - } - } - /// ///Represents the connection and commands used to retrieve and save data. /// @@ -6681,7 +6476,7 @@ namespace GMW_data.DS_cartelliniTableAdapters { this._commandCollection[0].CommandText = "dbo.stp_prtCartLiquidi_F18ByUDC"; this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure; this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); - this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + 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()] @@ -6719,6 +6514,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_prtCartLiquidi_F10ByUDCTableAdapter : 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_prtCartLiquidi_F10ByUDCTableAdapter() { + 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_prtCartLiquidi_F10ByUDC"; + 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_prtCartLiquidi_F10ByUDC"; + 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_prtCartLiquidi_F10ByUDCDataTable 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_prtCartLiquidi_F10ByUDCDataTable 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_prtCartLiquidi_F10ByUDCDataTable dataTable = new DS_cartellini.stp_prtCartLiquidi_F10ByUDCDataTable(); + 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 6fd70258..d581a12d 100644 --- a/GMW/GMW_data/DS_cartellini.xsd +++ b/GMW/GMW_data/DS_cartellini.xsd @@ -93,15 +93,15 @@ - + - + - dbo.stp_prtCartLiquidi_F10ByUDC + dbo.stp_prtCartLiquidi_F18ByUDC - + @@ -144,15 +144,15 @@ - + - + - dbo.stp_prtCartLiquidi_F18ByUDC + dbo.stp_prtCartLiquidi_F10ByUDC - + @@ -200,170 +200,170 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - + - - - - + + + + - - - - - - + + + + + + - + - + - + - + - + - + @@ -373,105 +373,105 @@ - + - - - + + + - + - + - + - - + + - - + + - + - + - + - + - + - + - + - + @@ -481,17 +481,194 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + @@ -649,189 +826,12 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -841,13 +841,5 @@ - - - - - - - - \ No newline at end of file diff --git a/GMW/GMW_data/DS_cartellini.xss b/GMW/GMW_data/DS_cartellini.xss index dce29ce1..1c89ae6d 100644 --- a/GMW/GMW_data/DS_cartellini.xss +++ b/GMW/GMW_data/DS_cartellini.xss @@ -8,8 +8,8 @@ - - + + \ No newline at end of file diff --git a/GMW/GMW_data/Odette.cs b/GMW/GMW_data/Odette.cs index 7e17bbf4..d4032370 100644 --- a/GMW/GMW_data/Odette.cs +++ b/GMW/GMW_data/Odette.cs @@ -539,6 +539,41 @@ namespace GMW_data return answ; } /// + /// Stampa tutte le etichette odette di una lista di prelievo + /// + /// + /// + public bool stampaOdettePackingList(string CodLista, string printerName) + { + bool answ = false; + int totOdette = 0; + DS_Odette.OdetteDataTable ElencoOdette = new DS_Odette.OdetteDataTable(); + // conto totale etichette Odette con StatusOK=1 corrispondenti a lista prelievo + try + { + ElencoOdette = taOdette.getByCodLista(CodLista); + totOdette = ElencoOdette.Rows.Count; + } + catch + { + logger.lg.scriviLog(string.Format("Errore: non ci sono UDC da creare per la PackList {0}", CodLista), tipoLog.ERROR); + } + // in primis comunque verifico che la bolla ci sia altrimenti non procedo (anche se avrebbe già dovuto controllare...) + if (totOdette > 0) + { + // processo elenco Odette + foreach (DS_Odette.OdetteRow rigaOdette in ElencoOdette) + { + stampaEtichettaOdette(rigaOdette.CampoUDC, printerName); + } + } + else + { + logger.lg.scriviLog(string.Format("Attenzione: non ho trovaot etichette odette valide per la lista di prelievo {0}", CodLista), tipoLog.ERROR); + } + return answ; + } + /// /// stampa una singola etichetta odette /// /// @@ -558,6 +593,26 @@ namespace GMW_data return answ; } /// + /// stampa una singola etichetta odette + /// + /// + /// + /// + public bool stampaEtichettaOdette(string UDC, string printerName) + { + bool answ = false; + // chiamo il report... + try + { + answ = reportPrinter.obj.stampaCartellino(tipoCartellino.cartOdette, UDC, printerName); + } + catch + { + logger.lg.scriviLog(String.Format("Errore nella stmapa del cartellino per l'UDC {0}", UDC), tipoLog.ERROR); + } + return answ; + } + /// /// determina se ci siano odette x la lista di prelievo /// /// diff --git a/GMW/GMW_data/SqlScripts/V1.2/GMW_00407.sql b/GMW/GMW_data/SqlScripts/V1.2/GMW_00407.sql new file mode 100644 index 00000000..e929d765 --- /dev/null +++ b/GMW/GMW_data/SqlScripts/V1.2/GMW_00407.sql @@ -0,0 +1,443 @@ +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/***************************************** +* STORED stp_ODETTE_upsertUdc +* +* effettua upsert x l'UDC (ovver crea nuovo solo se non c'è...) +* +* Steamware, S.E.L. +* mod: 2011.04.28 +* +****************************************/ +alter PROCEDURE stp_ODETTE_upsertUdc +( + @UDC NVARCHAR(50), + @CodCS VARCHAR(2), + @numBolla NVARCHAR(6), + @dataBolla NVARCHAR(8), + @CodMag NVARCHAR(2), + @GrpBolla NVARCHAR(1), + @Particolare NVARCHAR(15), + @CodLista NVARCHAR(12), + @IndStabFrom NVARCHAR(50), + @qtaCont NVARCHAR(50) +) +AS + + +-- DECLARE iniziali x gestione contatori odette +DECLARE @Flusso AS VARCHAR(2) +DECLARE @Anno AS VARCHAR(2) +DECLARE @numOdette AS INT +DECLARE @nextOdette AS INT + +------------------------------------------------------------------------------------------------------ +-- Fix flusso ed anno x 'OD' e '00' (contatore non spezzato su anno... +------------------------------------------------------------------------------------------------------ +SET @Flusso = 'OD' +SET @Anno = '00' + +------------------------------------------------------------------------------------------------------ +-- Contatore Odette +------------------------------------------------------------------------------------------------------ +-- controllo se ci sia già un odette per company / flusso / anno +BEGIN TRAN + -- cerco nella tab contatori UDC l'ultimo valido + SET @numOdette = ( + SELECT count(*) + FROM Odette + WHERE CodCS = @CodCS + ) + -- controllo se record c'è... + IF(@numOdette > 0) + BEGIN + -- se c'è incremento di 1 in tab + UPDATE ContatoriUdc + SET LastIdx = LastIdx + 1 + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + END + ELSE + BEGIN + -- lo creo! + INSERT INTO ContatoriUdc(CodCS, Flusso, Anno, LastIdx) + VALUES (@CodCS, @Flusso, @Anno, 1) + END + -- aggiorno numero UDC + SET @numOdette = ( + SELECT LastIdx + FROM ContatoriUdc + WHERE CodCS = @CodCS + AND Flusso = @Flusso + AND Anno = @Anno + ) +COMMIT TRAN + +-- cerco se ci sia già la riga Odette +DECLARE @udcTrovati AS INT +SET @udcTrovati = ( SELECT COUNT(*) FROM Odette WHERE CampoUDC = @UDC ) + +-- controllo se esista già... se non c'è creo +IF (@udcTrovati = 0) + BEGIN + INSERT INTO Odette(CampoUDC, StatoOk, CodCS) + VALUES(@UDC, 0, @CodCS) + END + +-- calcolo valori x update +DECLARE @DataB AS NVARCHAR(7) +SET @DataB = ( SELECT 'D'+ SUBSTRING(@dataBolla, 3, 6) ) +DECLARE @udcShort NVARCHAR(10) +SET @udcShort = dbo.f_onlyNumbers(@UDC) + +-- update valori (sovrascrivo...) +UPDATE Odette +SET Campo3_2 = @numBolla, + Campo3_3 = @numBolla, + Campo4_2 = @IndStabFrom, + Campo9_2 = @qtaCont, + Campo9_3 = @qtaCont, + Campo13_2 = @DataB, + Campo15_2 = @numOdette, + Campo15_3 = @numOdette, + Campo16_2 = @udcShort, --@UDC, -- DA VERICARE, mettere UDC da anno in poi?!? @udcShort calcolato sopra? magari è sbagliato... + CodMag = @CodMag, + GrpBolla = @GrpBolla, + DataBolla = CAST(@dataBolla AS NUMERIC(8,0)), + NumBolla = CAST(@numBolla AS NUMERIC(6,0)), + Particolare = @Particolare, + CodLista = @CodLista +WHERE CampoUDC = @UDC + +RETURN +go + +commit; +go + + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_prtCartLiquidi_F10ByUDC +* +* ottiene il record del Cartellino Liquidi dato l'UDC richiesto x la stampa +* +* Steamware, S.E.L. +* mod: 2011.12.19 +* +****************************************/ +alter PROCEDURE stp_prtCartLiquidi_F10ByUDC +( + @UDC NVARCHAR(50) +) +AS + + -- estraggo i trattamenti nelle note ( x max 10 trattamenti ) + DECLARE @tmp NVARCHAR(500) + DECLARE @NoteTratt NVARCHAR(500) + SET @tmp = '' + SELECT TOP 10 @tmp = @tmp + RIGHT(UDC_PARENT,8) + ' - ' from RelazUDC WHERE UDC_child = @UDC + + SET @NoteTratt = (SELECT SUBSTRING(@tmp, 0, LEN(@tmp))) + + -- ora seleziono i dati veri e propri + SELECT + ISNULL(ElencoCartellini.UDC, N'0000') AS UDC, ISNULL(ElencoCartellini.CodCS, N'') AS CodCS, ISNULL(ElencoCartellini.CodCliente, N'') AS codcliente, + ISNULL(ElencoCartellini.RagSociale, N'') AS ragsociale, ISNULL(ElencoCartellini.Particolare, N'') AS particolare, + ISNULL(ElencoCartellini.DescParticolare, N'') AS descparticolare, ISNULL(ElencoCartellini.DisegnoGrezzo, N'') AS disegnogrezzo, + ISNULL(ElencoCartellini.Esponente, N'') AS esponente, ISNULL(ElencoCartellini.CodImpianto, N'') AS codimpianto, + ISNULL(ElencoCartellini.DescImpianto, N'') AS descimpianto, ISNULL(ElencoCartellini.CodStampo, N'') AS codstampo, + ISNULL(ElencoCartellini.Figura, N'') AS figura, ISNULL(ElencoCartellini.DataFus, N'') AS datafus, + ISNULL(ElencoCartellini.TurnoFus, N'') AS turnofus, ISNULL(ElencoCartellini.CodImballo, N'') AS codimballo, + ISNULL(ElencoCartellini.CodSoggetto, N'') AS codsoggetto, ISNULL(ElencoCartellini.NumCont, N'') AS numcont, + ISNULL(ElencoCartellini.Tara, N'') AS tara, ISNULL(ElencoCartellini.Qta, N'') AS qta, ISNULL(ElencoCartellini.CodStato, N'') AS codstato, + ISNULL(ElencoCartellini.IdxPosizione, N'') AS idxposizione, + ISNULL(ElencoCartellini.PesoTot, N'') AS pesotot, ISNULL(ElencoCartellini.PesoCad, N'') AS pesocad, ElencoCartellini.CreateDate, + ElencoCartellini.ModDate, ISNULL(RilPro.AnagOperatori.Cognome, N'') AS cognome, + ISNULL(RilPro.AnagOperatori.Nome, N'') AS nome, ISNULL(AnagStatiProdotto.DescStato, N'') AS descstato, + ISNULL(RilPro.AnagImballi.DescImballo, N'') AS descimballo, RilPro.AnagParticolari.CodFamiglia, RilPro.AnagFamiglie.DescFamiglia, + ISNULL(ElencoCartellini.Note, N'') AS Note, ISNULL(@NoteTratt, N'') AS NoteTratt + FROM + RilPro.AnagParticolari + LEFT OUTER JOIN + RilPro.AnagFamiglie + ON + RilPro.AnagParticolari.CodFamiglia = RilPro.AnagFamiglie.CodFamiglia + RIGHT OUTER JOIN + ElencoCartellini + ON + RilPro.AnagParticolari.Particolare = ElencoCartellini.Particolare + LEFT OUTER JOIN + AnagStatiProdotto + ON + ElencoCartellini.CodStato = AnagStatiProdotto.CodStato + LEFT OUTER JOIN + RilPro.AnagOperatori + ON + ElencoCartellini.CodSoggetto = RilPro.AnagOperatori.CodSoggetto + LEFT OUTER JOIN + RilPro.AnagImballi + ON + ElencoCartellini.CodImballo = RilPro.AnagImballi.CodImballo + WHERE + (ElencoCartellini.UDC = @UDC) + + +RETURN +go + +commit; +go + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_prtCartLiquidi_F18ByUDC +* +* ottiene il record del Cartellino Liquidi dato l'UDC richiesto x la stampa +* +* Steamware, S.E.L. +* mod: 2011.12.19 +* +****************************************/ +alter PROCEDURE stp_prtCartLiquidi_F18ByUDC +( + @UDC NVARCHAR(50) +) +AS + + -- estraggo i trattamenti nelle note ( x max 10 trattamenti ) + -- NON SERVE PER I CARTELLINI F18 + DECLARE @tmp NVARCHAR(500) + DECLARE @NoteTratt NVARCHAR(500) + SET @tmp = '' + SELECT TOP 10 @tmp = @tmp + RIGHT(UDC_PARENT,8) + ' - ' from RelazUDC WHERE UDC_child = @UDC + + SET @NoteTratt = (SELECT SUBSTRING(@tmp, 0, LEN(@tmp))) + + -- ora seleziono i dati veri e propri + SELECT + ElencoCartellini.UDC, ElencoCartellini.CodCS, ISNULL(ElencoCartellini.CodCliente, N'') AS codcliente, + ISNULL(ElencoCartellini.RagSociale, N'') AS ragsociale, ISNULL(ElencoCartellini.Particolare, N'') AS particolare, + ISNULL(ElencoCartellini.DescParticolare, N'') AS descparticolare, ISNULL(ElencoCartellini.DisegnoGrezzo, N'') AS disegnogrezzo, + ISNULL(ElencoCartellini.Esponente, N'') AS esponente, ISNULL(ElencoCartellini.CodImpianto, N'') AS codimpianto, + ISNULL(ElencoCartellini.DescImpianto, N'') AS descimpianto, ISNULL(ElencoCartellini.CodStampo, N'') AS codstampo, + ISNULL(ElencoCartellini.Figura, N'') AS figura, ISNULL(ElencoCartellini.DataFus, N'') AS datafus, + ISNULL(ElencoCartellini.TurnoFus, N'') AS turnofus, ISNULL(ElencoCartellini.CodImballo, N'') AS codimballo, + ISNULL(ElencoCartellini.CodSoggetto, N'') AS codsoggetto, ISNULL(ElencoCartellini.NumCont, N'') AS numcont, + ISNULL(ElencoCartellini.Tara, N'') AS tara, ISNULL(ElencoCartellini.Qta, N'') AS qta, ISNULL(ElencoCartellini.CodStato, N'') AS codstato, + ISNULL(ElencoCartellini.IdxPosizione, N'') AS idxposizione, + ISNULL(ElencoCartellini.PesoTot, N'') AS pesotot, ISNULL(ElencoCartellini.PesoCad, N'') AS pesocad, ElencoCartellini.CreateDate, + ElencoCartellini.ModDate, ISNULL(RilPro.AnagOperatori.Cognome, N'') AS cognome, + ISNULL(RilPro.AnagOperatori.Nome, N'') AS nome, ISNULL(AnagStatiProdotto.DescStato, N'') AS descstato, + ISNULL(RilPro.AnagImballi.DescImballo, N'') AS descimballo, RilPro.AnagParticolari.CodFamiglia, RilPro.AnagFamiglie.DescFamiglia, + ISNULL(ElencoCartellini.Note, N'') AS Note, @NoteTratt AS NoteTratt + FROM + RilPro.AnagParticolari + LEFT OUTER JOIN + RilPro.AnagFamiglie + ON + RilPro.AnagParticolari.CodFamiglia = RilPro.AnagFamiglie.CodFamiglia + RIGHT OUTER JOIN + ElencoCartellini + ON + RilPro.AnagParticolari.Particolare = ElencoCartellini.Particolare + LEFT OUTER JOIN + AnagStatiProdotto + ON + ElencoCartellini.CodStato = AnagStatiProdotto.CodStato + LEFT OUTER JOIN + RilPro.AnagOperatori + ON + ElencoCartellini.CodSoggetto = RilPro.AnagOperatori.CodSoggetto + LEFT OUTER JOIN + RilPro.AnagImballi + ON + ElencoCartellini.CodImballo = RilPro.AnagImballi.CodImballo + WHERE + (ElencoCartellini.UDC = @UDC) + + +RETURN +go + +commit; +set ANSI_NULLS on; +go + +/*************************************** +* FUNCTION f_onlyNumbers +* +* elimina tutti i caratteri alfabetici dalal stringa +* +* Steamware, S.E.L. +* mod: 2010.03.19 +* +****************************************/ +create FUNCTION f_onlyNumbers (@string NVARCHAR(255)) +RETURNS NVARCHAR(255) AS +BEGIN + + DECLARE @answ NVARCHAR(255) + -- sostituisco TUTTE le lettere dell'alfabeto + SET @answ = (SELECT REPLACE(@string, 'a', '')) + SET @answ = (SELECT REPLACE(@answ, 'b', '')) + SET @answ = (SELECT REPLACE(@answ, 'c', '')) + SET @answ = (SELECT REPLACE(@answ, 'd', '')) + SET @answ = (SELECT REPLACE(@answ, 'e', '')) + SET @answ = (SELECT REPLACE(@answ, 'f', '')) + SET @answ = (SELECT REPLACE(@answ, 'g', '')) + SET @answ = (SELECT REPLACE(@answ, 'h', '')) + SET @answ = (SELECT REPLACE(@answ, 'i', '')) + SET @answ = (SELECT REPLACE(@answ, 'j', '')) + SET @answ = (SELECT REPLACE(@answ, 'k', '')) + SET @answ = (SELECT REPLACE(@answ, 'l', '')) + SET @answ = (SELECT REPLACE(@answ, 'm', '')) + SET @answ = (SELECT REPLACE(@answ, 'n', '')) + SET @answ = (SELECT REPLACE(@answ, 'o', '')) + SET @answ = (SELECT REPLACE(@answ, 'p', '')) + SET @answ = (SELECT REPLACE(@answ, 'q', '')) + SET @answ = (SELECT REPLACE(@answ, 'r', '')) + SET @answ = (SELECT REPLACE(@answ, 's', '')) + SET @answ = (SELECT REPLACE(@answ, 't', '')) + SET @answ = (SELECT REPLACE(@answ, 'u', '')) + SET @answ = (SELECT REPLACE(@answ, 'v', '')) + SET @answ = (SELECT REPLACE(@answ, 'w', '')) + SET @answ = (SELECT REPLACE(@answ, 'x', '')) + SET @answ = (SELECT REPLACE(@answ, 'y', '')) + SET @answ = (SELECT REPLACE(@answ, 'z', '')) + + RETURN @answ + +END +go + + +go + + + + +set xact_abort on; +go + +begin transaction; +go + +set ANSI_NULLS on; +go + +/*************************************** +* STORED stp_spostaUdc +* +* sposta un UDC, salvandone la posizione precedente (se esiste) nella tab storica +* +* Steamware, S.E.L. +* mod: 2010.06.11 +* +****************************************/ +alter PROCEDURE stp_spostaUdc +( + @CodCS VARCHAR(2), + @UDC VARCHAR(50), + @IdxCellaTo INT, + @resetRLP BIT +) +AS + +BEGIN TRAN + + -- DICHIARAZIONI iniziali variabili + DECLARE @IdxCellaFrom INT + DECLARE @capienza INT + DECLARE @numUdc INT + + -- controllo cella di partenza + SET @IdxCellaFrom = (SELECT IdxCella FROM PosizioneUdcCorrente WHERE UDC = @UDC) + -- controllo se la cella di dest vada indicata come piena + SET @capienza = ( + SELECT tc.Capienza + FROM TipoCella TC INNER JOIN Celle c ON TC.IdxTipoCella=c.IdxTipoCella + WHERE c.IdxCella = @IdxCellaFrom + ) + SET @numUdc = (SELECT COUNT(*) FROM PosizioneUdcCorrente WHERE IdxCella = @IdxCellaFrom) + -- se capienza raggiunta aggiorno... + IF(@numUdc -1 < @capienza) + BEGIN + EXEC stp_celle_updPiena @IdxCellaFrom, 0 + END + + -- cancello posizione occupata + DELETE + FROM PosizioneUdcCorrente + WHERE UDC = @UDC + + -- SE RICHIESTO cancello eventuali righe liste di prelievo FUSI per l'UDC + IF(@resetRLP = 1) + BEGIN + DELETE FROM RigheListePrelievo + WHERE UDC = @UDC AND CodLista IN ( + SELECT CodLista FROM ElencoListePrelievo + --WHERE CodTipoLista='01-PreFus' + WHERE CodStatoLista < 4 + ) + END + + + + -- creo una nuova posizione per l'UDC + INSERT INTO PosizioneUdcCorrente(UDC, IdxCella, CodCS, DataRif) + VALUES(@UDC, @IdxCellaTo, @CodCS, GETDATE()) + + -- controllo se la cella di dest vada indicata come piena + SET @capienza = ( + SELECT tc.Capienza + FROM TipoCella TC INNER JOIN Celle c ON TC.IdxTipoCella=c.IdxTipoCella + WHERE c.IdxCella = @IdxCellaTo + ) + SET @numUdc = (SELECT COUNT(*) FROM PosizioneUdcCorrente WHERE IdxCella = @IdxCellaTo) + -- se capienza raggiunta aggiorno... + IF(@numUdc >= @capienza) + BEGIN + EXEC stp_celle_updPiena @IdxCellaTo, 1 + END + +COMMIT TRAN + +RETURN +go + +commit; +go + + + + +-- registro versione... +INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(407, GETDATE()) +GO diff --git a/GMW/GMW_data/bin/Debug/GMW_data.dll b/GMW/GMW_data/bin/Debug/GMW_data.dll index 8c496c4a..edaed7f3 100644 Binary files a/GMW/GMW_data/bin/Debug/GMW_data.dll and b/GMW/GMW_data/bin/Debug/GMW_data.dll differ diff --git a/GMW/GMW_data/bin/Release/GMW_data.dll b/GMW/GMW_data/bin/Release/GMW_data.dll index 68122ee9..4b1c0aa3 100644 Binary files a/GMW/GMW_data/bin/Release/GMW_data.dll and b/GMW/GMW_data/bin/Release/GMW_data.dll differ diff --git a/GMW/GMW_data/bin/Release/SteamWare.dll b/GMW/GMW_data/bin/Release/SteamWare.dll index dc1e3e65..13668782 100644 Binary files a/GMW/GMW_data/bin/Release/SteamWare.dll and b/GMW/GMW_data/bin/Release/SteamWare.dll differ diff --git a/GMW/GMW_data/obj/Debug/GMW_data.dll b/GMW/GMW_data/obj/Debug/GMW_data.dll index 8c496c4a..edaed7f3 100644 Binary files a/GMW/GMW_data/obj/Debug/GMW_data.dll and b/GMW/GMW_data/obj/Debug/GMW_data.dll differ diff --git a/GMW/GMW_data/obj/Debug/ResolveAssemblyReference.cache b/GMW/GMW_data/obj/Debug/ResolveAssemblyReference.cache index 2ccec1a3..ddbade86 100644 Binary files a/GMW/GMW_data/obj/Debug/ResolveAssemblyReference.cache and b/GMW/GMW_data/obj/Debug/ResolveAssemblyReference.cache differ diff --git a/GMW/GMW_data/obj/Debug/TempPE/DS_Odette.Designer.cs.dll b/GMW/GMW_data/obj/Debug/TempPE/DS_Odette.Designer.cs.dll index 22e5f645..a2ef9cd9 100644 Binary files a/GMW/GMW_data/obj/Debug/TempPE/DS_Odette.Designer.cs.dll and b/GMW/GMW_data/obj/Debug/TempPE/DS_Odette.Designer.cs.dll differ diff --git a/GMW/GMW_data/obj/Debug/TempPE/DS_cartellini.Designer.cs.dll b/GMW/GMW_data/obj/Debug/TempPE/DS_cartellini.Designer.cs.dll index ebf1253d..f4220eef 100644 Binary files a/GMW/GMW_data/obj/Debug/TempPE/DS_cartellini.Designer.cs.dll and b/GMW/GMW_data/obj/Debug/TempPE/DS_cartellini.Designer.cs.dll differ diff --git a/GMW/GMW_data/obj/Release/GMW_data.dll b/GMW/GMW_data/obj/Release/GMW_data.dll index 68122ee9..4b1c0aa3 100644 Binary files a/GMW/GMW_data/obj/Release/GMW_data.dll and b/GMW/GMW_data/obj/Release/GMW_data.dll differ diff --git a/GMW/GMW_data/obj/Release/Refactor/GMW_data.dll b/GMW/GMW_data/obj/Release/Refactor/GMW_data.dll index 48288035..e7052d71 100644 Binary files a/GMW/GMW_data/obj/Release/Refactor/GMW_data.dll and b/GMW/GMW_data/obj/Release/Refactor/GMW_data.dll differ diff --git a/GMW/GMW_data/obj/Release/ResolveAssemblyReference.cache b/GMW/GMW_data/obj/Release/ResolveAssemblyReference.cache index b42673a9..44c15115 100644 Binary files a/GMW/GMW_data/obj/Release/ResolveAssemblyReference.cache and b/GMW/GMW_data/obj/Release/ResolveAssemblyReference.cache differ diff --git a/GMW/GMW_data/obj/Release/TempPE/DS_Odette.Designer.cs.dll b/GMW/GMW_data/obj/Release/TempPE/DS_Odette.Designer.cs.dll index 4bb4e20d..2abcef34 100644 Binary files a/GMW/GMW_data/obj/Release/TempPE/DS_Odette.Designer.cs.dll and b/GMW/GMW_data/obj/Release/TempPE/DS_Odette.Designer.cs.dll differ diff --git a/GMW/GMW_data/obj/Release/TempPE/DS_cartellini.Designer.cs.dll b/GMW/GMW_data/obj/Release/TempPE/DS_cartellini.Designer.cs.dll index fa79178a..638e1939 100644 Binary files a/GMW/GMW_data/obj/Release/TempPE/DS_cartellini.Designer.cs.dll and b/GMW/GMW_data/obj/Release/TempPE/DS_cartellini.Designer.cs.dll differ diff --git a/GMW/GMW_installer/GMW_installer.vdproj b/GMW/GMW_installer/GMW_installer.vdproj index f76436c1..3176dc6a 100644 --- a/GMW/GMW_installer/GMW_installer.vdproj +++ b/GMW/GMW_installer/GMW_installer.vdproj @@ -306,14 +306,14 @@ { "Name" = "8:Microsoft Visual Studio" "ProductName" = "8:GMW" - "ProductCode" = "8:{ACC69C26-3651-4365-9973-476EAE4CA5BF}" - "PackageCode" = "8:{67631976-1B9C-4192-BF70-0DF5942C62B8}" + "ProductCode" = "8:{38733C56-66A8-4A2E-AC11-0D0ADDEE2790}" + "PackageCode" = "8:{D174F53D-C425-43CC-BDCD-83476EDF4F2B}" "UpgradeCode" = "8:{C9BC0732-DC92-4336-BAC9-A05A5D2A97C0}" "RestartWWWService" = "11:TRUE" "RemovePreviousVersions" = "11:TRUE" "DetectNewerInstalledVersion" = "11:TRUE" "InstallAllUsers" = "11:FALSE" - "ProductVersion" = "8:1.1.406" + "ProductVersion" = "8:1.1.407" "Manufacturer" = "8:SteamWare s.r.l." "ARPHELPTELEPHONE" = "8:+39-035460560" "ARPHELPLINK" = "8:http://www.steamware.net" diff --git a/GMW/GMW_installer/Release/GMW_installer.msi b/GMW/GMW_installer/Release/GMW_installer.msi index 71b9299f..862087ad 100644 Binary files a/GMW/GMW_installer/Release/GMW_installer.msi and b/GMW/GMW_installer/Release/GMW_installer.msi differ diff --git a/GMW/GMW_test_installer/GMW_test_installer.vdproj b/GMW/GMW_test_installer/GMW_test_installer.vdproj index 3f1557d0..d5047c69 100644 --- a/GMW/GMW_test_installer/GMW_test_installer.vdproj +++ b/GMW/GMW_test_installer/GMW_test_installer.vdproj @@ -301,14 +301,14 @@ { "Name" = "8:Microsoft Visual Studio" "ProductName" = "8:GMW_test" - "ProductCode" = "8:{41BF3166-A2A6-4616-B333-A33DE305A8DE}" - "PackageCode" = "8:{59BAECE5-06B4-4B74-ADDF-58B8F3554BD6}" + "ProductCode" = "8:{953960F9-3A40-46E8-8925-161153C35A41}" + "PackageCode" = "8:{8076244F-F744-498C-875E-8D670B5581CF}" "UpgradeCode" = "8:{6FD64E39-D93B-4ADA-ADF3-303A1BCA49C2}" "RestartWWWService" = "11:TRUE" "RemovePreviousVersions" = "11:TRUE" "DetectNewerInstalledVersion" = "11:TRUE" "InstallAllUsers" = "11:FALSE" - "ProductVersion" = "8:1.1.406" + "ProductVersion" = "8:1.1.407" "Manufacturer" = "8:SteamWare s.r.l." "ARPHELPTELEPHONE" = "8:+39-035460560" "ARPHELPLINK" = "8:http://www.steamware.net" diff --git a/GMW/GMW_test_installer/Release/GMW_test_installer.msi b/GMW/GMW_test_installer/Release/GMW_test_installer.msi index f07efbbf..d0071757 100644 Binary files a/GMW/GMW_test_installer/Release/GMW_test_installer.msi and b/GMW/GMW_test_installer/Release/GMW_test_installer.msi differ